|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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 visitor| Method Detail |
|---|
public void visitAfter(INRLAstNode node)
visitAfter in interface INRLAstVisitornode - the node to visitpublic boolean visitBefore(INRLAstNode node)
visitBefore in interface INRLAstVisitornode - the AST node
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||