public abstract class NodePrinter extends Object
Constructor and Description |
---|
NodePrinter() |
NodePrinter(int defaultIndent) |
NodePrinter(PrintStream defaultStream) |
NodePrinter(PrintStream defaultStream,
int defaultIndent) |
Modifier and Type | Method and Description |
---|---|
void |
print(TypeCheckingList.TypeCheckingListIterator itr)
Print the contents of itr using the default indent
|
void |
print(TypeCheckingList.TypeCheckingListIterator itr,
int indent)
Print the contents of itr indenting each line indent spaces.
|
void |
print(TypeCheckingList.TypeCheckingListIterator itr,
int indent,
int indentIncrement)
Print the contents of itr to the default stream.
|
void |
print(TypeCheckingList.TypeCheckingListIterator itr,
PrintStream stream)
Print the contents of itr to the given stream
|
void |
print(TypeCheckingList.TypeCheckingListIterator itr,
PrintStream stream,
int indent)
Print the contents of itr to the given stream indenting each line indent spaces.
|
void |
print(TypeCheckingList.TypeCheckingListIterator itr,
PrintStream stream,
int indent,
int indentIncrement)
Print the contents of itr to the given stream.
|
public NodePrinter()
public NodePrinter(int defaultIndent)
public NodePrinter(PrintStream defaultStream)
public NodePrinter(PrintStream defaultStream, int defaultIndent)
public void print(TypeCheckingList.TypeCheckingListIterator itr)
public void print(TypeCheckingList.TypeCheckingListIterator itr, PrintStream stream)
public void print(TypeCheckingList.TypeCheckingListIterator itr, PrintStream stream, int indent)
public void print(TypeCheckingList.TypeCheckingListIterator itr, int indent)
public void print(TypeCheckingList.TypeCheckingListIterator itr, int indent, int indentIncrement)
public void print(TypeCheckingList.TypeCheckingListIterator itr, PrintStream stream, int indent, int indentIncrement)