|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface NodeVisitor
AST node visitor.
| Method Summary | |
|---|---|
void |
visitBranchNode(BranchNode n)
Method to be invoked by AST.traverse(dk.brics.grammar.ast.NodeVisitor) and Node.visitBy(NodeVisitor) on BranchNodes. |
void |
visitLeafNode(LeafNode s)
Method to be invoked by AST.traverse(dk.brics.grammar.ast.NodeVisitor) and Node.visitBy(NodeVisitor) on LeafNodes. |
| Method Detail |
|---|
void visitBranchNode(BranchNode n)
AST.traverse(dk.brics.grammar.ast.NodeVisitor) and Node.visitBy(NodeVisitor) on BranchNodes.
n - current nodevoid visitLeafNode(LeafNode s)
AST.traverse(dk.brics.grammar.ast.NodeVisitor) and Node.visitBy(NodeVisitor) on LeafNodes.
s - current node
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||