antlr
Class DumpASTVisitor

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

public class DumpASTVisitor
extends Object
implements ASTVisitor

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


Field Summary
protected  int level
           
 
Constructor Summary
DumpASTVisitor()
          Enabled:
 
Method Summary
private  void tabs()
           
 void visit(AST node)
          Enabled:
 
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()
Enabled:

Method Detail

tabs

private void tabs()

visit

public void visit(AST node)
Enabled:

Specified by:
visit in interface ASTVisitor


comments?