public abstract class Output extends InputOutput
EMPTY_RANGE, ranges| Constructor and Description |
|---|
Output() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
append(State state,
java.lang.String text,
com.google.common.collect.Range<java.lang.Integer> range)
Output a string.
|
abstract void |
indent(int indent)
Indent by outputting
indent spaces. |
java.lang.String |
toString() |
computeRanges, getLine, getLineCount, getRanges, makeKToIJ, setLinespublic abstract void indent(int indent)
indent spaces.indent - the current indentpublic abstract void append(State state, java.lang.String text, com.google.common.collect.Range<java.lang.Integer> range)
state - text - the stringrange - the Range corresponding to the stringpublic java.lang.String toString()
toString in class InputOutput