public class Disambiguator extends AmbiguityRemover
AmbiguityRemover.AmbChecker, AmbiguityRemover.AmbChecker2
Modifier and Type | Field and Description |
---|---|
protected Context |
beginContext |
visitBodies, visitSigs
context, outer, prune, rethrowMissingDependencies
error, job, nf, ts
bypass, bypassParent
Constructor and Description |
---|
Disambiguator(DisambiguationDriver dd) |
Disambiguator(Job job,
TypeSystem ts,
NodeFactory nf,
Context c) |
Modifier and Type | Method and Description |
---|---|
NodeVisitor |
begin()
Part of the initialization done by begin() in an ErrorHandlingVisitor
method is initializing the error-handling state.
|
astAmbiguityCount, bypass, bypass, bypassChildren, enterCall, isASTDisambiguated, lang, leaveCall, override
addDecls, addDecls, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter
catchErrors, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem
visitChildren
copy, finish, finish, leave, override, toString, visitEdge, visitEdgeNoOverride
protected Context beginContext
public Disambiguator(DisambiguationDriver dd)
public Disambiguator(Job job, TypeSystem ts, NodeFactory nf, Context c)
public NodeVisitor begin()
ErrorHandlingVisitor
begin
in class ContextVisitor
NodeVisitor
to traverse the ast with. If
null
is returned, the ast is not traversed.