|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.visit.NodeVisitor
polyglot.visit.HaltingVisitor
polyglot.visit.ErrorHandlingVisitor
polyglot.visit.ContextVisitor
polyglot.visit.DisambiguationDriver
polyglot.visit.AmbiguityRemover
polyglot.visit.Disambiguator
public class Disambiguator
Visitor which performs type checking on the AST.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class polyglot.visit.AmbiguityRemover |
---|
AmbiguityRemover.AmbChecker |
Field Summary |
---|
Fields inherited from class polyglot.visit.ContextVisitor |
---|
context, outer |
Fields inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
error, job, nf, ts |
Constructor Summary | |
---|---|
Disambiguator(DisambiguationDriver dd)
|
|
Disambiguator(Job job,
TypeSystem ts,
NodeFactory nf,
Context c)
|
Method Summary | |
---|---|
NodeVisitor |
begin()
Part of the initialization done by begin() in an ErrorHandlingVisitor method is initializing the error-handling state. |
Methods inherited from class polyglot.visit.AmbiguityRemover |
---|
astAmbiguityCount, bypass, bypass, bypassChildren, enterCall, isASTDisambiguated, leaveCall, override |
Methods inherited from class polyglot.visit.ContextVisitor |
---|
addDecls, context, context, enter, enterScope, leave, superEnter |
Methods inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
catchErrors, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem |
Methods inherited from class polyglot.visit.HaltingVisitor |
---|
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 |
---|
public Disambiguator(DisambiguationDriver dd)
public Disambiguator(Job job, TypeSystem ts, NodeFactory nf, Context c)
Method Detail |
---|
public NodeVisitor begin()
ErrorHandlingVisitor
begin
in class ContextVisitor
NodeVisitor
to traverse the ast with. If
null
is returned, the ast is not traversed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |