Classes for walking the AST.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Visitor
An interface for visiting a GroovySourceAST node. |
| Modifier and Type | Class and Description |
|---|---|
| public class | CompositeVisitor
A composite of many visitors. |
| public class | FlatNodeListTraversal
Deprecated
A simple iterator over an ordered (flat) List of the nodes of the AST.
|
| public class | MindMapPrinter
An antlr AST visitor that prints a format suitable for viewing in http://freemind.sourceforge.net |
| public class | NodeAsHTMLPrinter
A visitor that prints a html tags of each node to the supplied PrintStream |
| public class | NodeCollector
A simple antlr AST visitor that collects all nodes into a List. |
| public class | NodePrinter
A simple antlr AST visitor that outputs the tokenName of each node in a pseudo xml style. |
| public class | PreOrderTraversal
Deprecated
as a consequence of A simple preorder traversal over the supplied antlr AST.
TraversalHelper being deprecated.
|
| public class | SourceCodeTraversal
Deprecated
as a consequence of A treewalker for the antlr generated AST that attempts to visit the
AST nodes in the order needed to generate valid groovy source code.
TraversalHelper being deprecated.
|
| public class | SourcePrinter
An antlr AST visitor that prints groovy source code for each visited node to the supplied PrintStream. |
| public abstract class | TraversalHelper
Deprecated
Helper Class for Antlr AST traversal and visitation.
|
| public class | VisitorAdapter
A default implementation of all visitor methods. |