org.prorefactor.core
Class TokenLister

java.lang.Object
  extended by org.prorefactor.core.TokenLister

public class TokenLister
extends java.lang.Object

Lists nodes directly via Proparse's API. Prints nodes one per line, using indentation to show the tree structure. Use JPNodeLister instead if you want to print a modified JPNode AST.


Field Summary
 int indentby
           
 java.lang.String outfilename
           
 boolean showColumn
           
 boolean showFilename
           
 boolean showLinenum
           
 boolean showStoretype
           
 
Constructor Summary
TokenLister(int topNode, java.lang.String outfilename_)
           
 
Method Summary
 void print()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

showColumn

public boolean showColumn

showFilename

public boolean showFilename

showLinenum

public boolean showLinenum

showStoretype

public boolean showStoretype

indentby

public int indentby

outfilename

public java.lang.String outfilename
Constructor Detail

TokenLister

public TokenLister(int topNode,
                   java.lang.String outfilename_)
Method Detail

print

public void print()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008 Joanju Software. All Rights Reserved.