|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.nrl.parser.ast.ConstraintVisitorDispatcher
public class ConstraintVisitorDispatcher
A default implementation of the INRLAstVisitor interface that dispatches
calls to the visitor method to a client-supplied
INRLConstraintDetailVisitor
.
Constructor Summary | |
---|---|
ConstraintVisitorDispatcher(INRLConstraintDetailVisitor visitor)
Initialise the dispatcher with a client-supplied visitor. |
Method Summary | |
---|---|
void |
visitAfter(INRLAstNode node)
Default implementation - dispatches calls to the registered visitor's methods. |
boolean |
visitBefore(INRLAstNode node)
Default implementation - dispatches calls to the registered visitor's methods. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintVisitorDispatcher(INRLConstraintDetailVisitor visitor)
visitor
- the visitorMethod Detail |
---|
public void visitAfter(INRLAstNode node)
visitAfter
in interface INRLAstVisitor
node
- the node to visitpublic boolean visitBefore(INRLAstNode node)
visitBefore
in interface INRLAstVisitor
node
- the AST node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |