org.codehaus.groovy.antlr.treewalker
Class NodePrinter
A simple antlr AST visitor that outputs the tokenName of each node in a pseudo xml style.
- author:
- Jeremy Rayner
- version:
- $Revision: 6778 $
Constructor Summary |
NodePrinter(PrintStream out, def tokenNames)
A visitor that prints a pseudo xml output to the supplied PrintStream
|
NodePrinter
public NodePrinter(PrintStream out, def tokenNames)
- A visitor that prints a pseudo xml output to the supplied PrintStream
- param:
- out supplied PrintStream to output nodes to
- param:
- tokenNames an array of token names to use
visitDefault
public void visitDefault(GroovySourceAST t, int visit)
-