|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxjavadoc.NodePrinter
This visitor prints a node and all its children to a PrintWriter. The PrintWriter must be passed to the data variable in the jjtAccept method of the node from which printing should start. T print a whole class, call compilationUnit.jjtAccept( new PrintVisitor(), System.out );
| Constructor Summary | |
NodePrinter()
|
|
| Method Summary | |
protected java.lang.String |
addUnicodeEscapesOld(java.lang.String str)
Describe the method |
static void |
print(SimpleNode node,
java.io.Writer o)
Describe what the method does |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodePrinter()
| Method Detail |
public static void print(SimpleNode node,
java.io.Writer o)
node - Describe what the parameter doeso - protected java.lang.String addUnicodeEscapesOld(java.lang.String str)
str - Describe the method parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||