[Java] Class PreOrderTraversal
- org.codehaus.groovy.antlr.treewalker.PreOrderTraversal
A simple preorder traversal over the supplied antlr AST.
- Authors:
- Jeremy Rayner
| Fields inherited from class | Fields |
|---|---|
class TraversalHelper | unvisitedNodes |
Constructor Summary
| Constructor and description |
|---|
PreOrderTraversal
(Visitor visitor)A simple preorder traversal over the supplied antlr AST. |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
void |
accept(GroovySourceAST currentNode) |
Inherited Methods Summary
Constructor Detail
public PreOrderTraversal(Visitor visitor)
A simple preorder traversal over the supplied antlr AST.
- Parameters:
-
visitor- the Visitor to call for each node visited
Method Detail
public void accept(GroovySourceAST currentNode)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/antlr/treewalker/PreOrderTraversal.html