Top Description Interfaces Classes
[default module]

Package org.codehaus.groovy.antlr.treewalker


Classes for walking the AST.

Interface Summary

Modifier and TypeInterface and Description
public interface
Visitor

An interface for visiting a GroovySourceAST node.

Class Summary

Modifier and TypeClass 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 TraversalHelper being deprecated.
A simple preorder traversal over the supplied antlr AST.
public class
SourceCodeTraversal

Deprecated as a consequence of TraversalHelper being deprecated.
A treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
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.