Package | Description |
---|---|
org.parboiled.errors | |
org.parboiled.support | |
org.parboiled.trees |
Modifier and Type | Class and Description |
---|---|
class |
DefaultInvalidInputErrorFormatter
A
Formatter for InvalidInputError s that automatically creates the correct "expected" text
for the error. |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ErrorUtils.printParseError(ParseError error,
Formatter<InvalidInputError> formatter)
Pretty prints the given parse error showing its location in the given input buffer.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeFormatter<V>
A simple Formatter
|
class |
ToStringFormatter<T>
A simple Formatter falling back to the objects toString() method.
|
Modifier and Type | Method and Description |
---|---|
static <T extends GraphNode<T>> |
GraphUtils.printTree(T node,
Formatter<T> formatter)
Creates a string representation of the graph reachable from the given node using the given formatter.
|
static <T extends GraphNode<T>> |
GraphUtils.printTree(T node,
Formatter<T> formatter,
Predicate<T> nodeFilter,
Predicate<T> subTreeFilter)
Creates a string representation of the graph reachable from the given node using the given formatter.
|
private static <T extends GraphNode<T>> |
GraphUtils.printTree(T node,
Formatter<T> formatter,
java.lang.String indent,
java.lang.StringBuilder sb,
Predicate<T> nodeFilter,
Predicate<T> subTreeFilter) |