public class LexicalPreservingPrinter extends Object
Constructor and Description |
---|
LexicalPreservingPrinter(Node node) |
Modifier and Type | Method and 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
IOException
Copyright © 2007–2017. All rights reserved.