|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.antlr.treewalker.TraversalHelper org.codehaus.groovy.antlr.treewalker.PreOrderTraversal
public class PreOrderTraversal extends TraversalHelper
A simple preorder traversal over the supplied antlr AST.
Field Summary |
---|
Fields inherited from class TraversalHelper | |
---|---|
unvisitedNodes |
Constructor Summary | |
PreOrderTraversal(Visitor visitor)
A simple preorder traversal over the supplied antlr AST. |
Method Summary | |
---|---|
void
|
accept(GroovySourceAST currentNode)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public PreOrderTraversal(Visitor visitor)
visitor
- the Visitor to call for each node visited
Method Detail |
---|
public void accept(GroovySourceAST currentNode)
Groovy Documentation