|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INRLAstVisitor
A very simple visitor interface for straight-forward recursive descent traversals of the AST. This is not really suitable for complicated mapping, but it is useful for gathering rule IDs and so on.
There are more detailed visitor classes available, with a call-back for every single AST constructs:
INRLConstraintDetailVisitor
for constraints and
INRLActionDetailVisitor
for actions
Method Summary | |
---|---|
void |
visitAfter(INRLAstNode node)
Visit an AST node after its children have been processed. |
boolean |
visitBefore(INRLAstNode node)
Visit an AST node and, if this method returns true, visit its children in order. |
Method Detail |
---|
boolean visitBefore(INRLAstNode node)
node
- the AST node
void visitAfter(INRLAstNode node)
visitBefore(INRLAstNode)
by the AST.
node
- the node to visit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |