Nested Class Summary
Nested classes/interfaces inherited from interface polyglot.util.
Methods inherited from class polyglot.visit.
ContextVisitor addDecls, addDecls, begin, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Node leaveCall( Node parent,
Contains all of the functionality that can be done in the
method, but allows
SemanticExceptions to be
This method is in addition to the
and allows the compiler writer to write code that can throw errors
and let the Polyglot infrastructure handle the exceptions.
old - The original state of root of the current subtree.
n - The current state of the root of the current subtree.
v - The
NodeVisitor object used to visit the children.
Returns: The final result of the traversal of the tree rooted at
Throws: SemanticException See Also:
NodeVisitor.leave(Node, Node, NodeVisitor)