Deprecated
as a consequence of TraversalHelper being deprecated. See corresponding docs for further information.
| Access | Constructor and Description |
|---|---|
| public | SourceCodeTraversal(Visitor
the visitor implementation to call for each AST node. visitor)Constructs a treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | accept(GroovySourceAST currentNode)
Implements abstract org. |
| public void | setUp(GroovySourceAST
the AST to process t)Overrides org. |
| private void |
| SourceCodeTraversal | back to summary |
|---|---|
| public SourceCodeTraversal(Visitor visitor) Constructs a treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
| |
| accept | back to summary |
|---|---|
| protected void accept(GroovySourceAST currentNode) Implements abstract org. | |
| setUp | back to summary |
|---|---|
| public void setUp(GroovySourceAST t) Overrides org. gather, sort and process all unvisited nodes
| |
| traverse | back to summary |
|---|---|
| private void traverse(GroovySourceAST t) traverse an AST node
| |