| Modifier and Type | Field and Description |
|---|---|
private InputBuffer |
inputBuffer |
| Constructor and Description |
|---|
NodeFormatter(InputBuffer inputBuffer)
Creates a new NodeFormatter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(Node<V> node)
Create a string representation for the given obejct.
|
private final InputBuffer inputBuffer
public NodeFormatter(InputBuffer inputBuffer)
inputBuffer - the input buffer underlying the parse tree whose nodes are to be formatted.