polyglot.visit
Class DisambiguationDriver

java.lang.Object
  extended by polyglot.visit.NodeVisitor
      extended by polyglot.visit.HaltingVisitor
          extended by polyglot.visit.ErrorHandlingVisitor
              extended by polyglot.visit.ContextVisitor
                  extended by polyglot.visit.DisambiguationDriver
All Implemented Interfaces:
java.lang.Cloneable, Copy
Direct Known Subclasses:
AmbiguityRemover, TypeChecker

public class DisambiguationDriver
extends ContextVisitor

A visitor which traverses the AST and remove ambiguities found in fields, method signatures and the code itself.


Field Summary
 
Fields inherited from class polyglot.visit.ContextVisitor
context, outer
 
Fields inherited from class polyglot.visit.ErrorHandlingVisitor
error, job, nf, ts
 
Constructor Summary
DisambiguationDriver(Job job, TypeSystem ts, NodeFactory nf)
           
 
Method Summary
 
Methods inherited from class polyglot.visit.ContextVisitor
addDecls, begin, context, context, enter, enterScope, leave, superEnter
 
Methods inherited from class polyglot.visit.ErrorHandlingVisitor
catchErrors, enterCall, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, leaveCall, nodeFactory, typeSystem
 
Methods inherited from class polyglot.visit.HaltingVisitor
bypass, bypass, bypassChildren, override, visitChildren
 
Methods inherited from class polyglot.visit.NodeVisitor
copy, enter, finish, finish, leave, override, toString, visitEdge, visitEdgeNoOverride
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisambiguationDriver

public DisambiguationDriver(Job job,
                            TypeSystem ts,
                            NodeFactory nf)