|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
Constructor Summary | |
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. |
Method Summary | |
---|---|
void |
accept(GroovySourceAST currentNode)
|
void |
setUp(GroovySourceAST t)
gather, sort and process all unvisited nodes |
void |
traverse(GroovySourceAST t)
traverse an AST node |
Constructor Detail |
---|
public SourceCodeTraversal(Visitor visitor)
Method Detail |
---|
void accept(GroovySourceAST currentNode)
public void setUp(GroovySourceAST t)
void traverse(GroovySourceAST t)