public class LexicalPreservingPrinter extends Object
| Constructor | Description |
|---|---|
LexicalPreservingPrinter(Node node) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
print(Node node) |
Print a Node into a String, preserving the lexical information.
|
void |
print(Node node,
Writer writer) |
Print a Node into a Writer, preserving the lexical information.
|
static <N extends Node> |
setup(ParseStart<N> parseStart,
Provider provider) |
Deprecated.
just use the other constructor.
|
String |
toString() |
public LexicalPreservingPrinter(Node node)
public static <N extends Node> Pair<ParseResult<N>,LexicalPreservingPrinter> setup(ParseStart<N> parseStart, Provider provider)
public String print(Node node)
public void print(Node node, Writer writer) throws IOException
IOExceptionCopyright © 2007–2019. All rights reserved.