antlr
Class DumpASTVisitor

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

public class DumpASTVisitor
extends 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
 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

visit

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


Copyright © 1999-2003 Oliver Zeigermann. All Rights Reserved.