public class PreOrderTraversal extends TraversalHelper
A simple preorder traversal over the supplied antlr AST.
| Fields inherited from class | Fields | 
|---|---|
class TraversalHelper | 
                            unvisitedNodes | 
                        
| Constructor and description | 
|---|
                                PreOrderTraversal
                                (Visitor visitor)A simple preorder traversal over the supplied antlr AST.  | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            public void | 
                            accept(GroovySourceAST currentNode) | 
                        
A simple preorder traversal over the supplied antlr AST.
visitor -  the Visitor to call for each node visitedCopyright © 2003-2021 The Apache Software Foundation. All rights reserved.