org.prorefactor.core
Class TokenLister
java.lang.Object
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.
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 |
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
TokenLister
public TokenLister(int topNode,
java.lang.String outfilename_)
print
public void print()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008 Joanju Software. All Rights Reserved.