xjavadoc
Class NodePrinter
public final class NodePrinter
extends java.lang.Object
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 );
addUnicodeEscapes
private static final String addUnicodeEscapes(String str)
Describe the method
str - Describe the method parameter
- Describe the return value
addUnicodeEscapesOld
protected String addUnicodeEscapesOld(String str)
Describe the method
str - Describe the method parameter
- Describe the return value
print
public static void print(SimpleNode node,
Writer o) Describe what the method does
node - Describe what the parameter doeso -
print
private static final void print(Token t,
PrintWriter out) Describe what the method does
t - Describe what the parameter doesout - Describe what the parameter does