java.lang.AutoCloseable
CodeWriterSExpPrinter
public interface SExpPrinter
extends java.lang.AutoCloseable
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Flushes and closes both this printer and any underlying
output stream to which it is attached.
|
void |
endList() |
Prints the close parenthesis of an S-expression list.
|
void |
flush() |
Flushes all formatted text to the underlying writer.
|
void |
printAtom(java.lang.String atom) |
Prints an atom.
|
void |
startList() |
Prints the open parenthesis of an S-expression list.
|
default void |
startUnifiedList() |
Prints the open parenthesis of an S-expression list,
and requires that if a line break is required to separate any two
elements of this list, then all elements of this list must be separated
by a line break (optional operation).
|
void printAtom(java.lang.String atom)
atom
- the atom to printvoid startList()
default void startUnifiedList()
void endList()
void flush()
void close()
close
in interface java.lang.AutoCloseable