antlr
Class DumpASTVisitor

java.lang.Object
  |
  +--antlr.DumpASTVisitor
All Implemented Interfaces:
ASTVisitor

public class DumpASTVisitor
extends java.lang.Object
implements ASTVisitor

Simple class to dump the contents of an AST to the output


Field Summary
protected  int level
           
 
Constructor Summary
DumpASTVisitor()
           
 
Method Summary
private  void tabs()
           
 void visit(AST node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

protected int level
Constructor Detail

DumpASTVisitor

public DumpASTVisitor()
Method Detail

tabs

private void tabs()

visit

public void visit(AST node)
Specified by:
visit in interface ASTVisitor