Uses of Interface
org.parboiled.common.Formatter
-
Packages that use Formatter Package Description org.parboiled.errors org.parboiled.support org.parboiled.trees -
-
Uses of Formatter in org.parboiled.errors
Classes in org.parboiled.errors that implement Formatter Modifier and Type Class Description class
DefaultInvalidInputErrorFormatter
AFormatter
forInvalidInputError
s that automatically creates the correct "expected" text for the error.Methods in org.parboiled.errors with parameters of type Formatter Modifier and Type Method 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. -
Uses of Formatter in org.parboiled.support
Classes in org.parboiled.support that implement Formatter Modifier and Type Class Description class
NodeFormatter<V>
A simple Formatterthat provides String representation for parse tree nodes. class
ToStringFormatter<T>
A simple Formatter falling back to the objects toString() method. -
Uses of Formatter in org.parboiled.trees
Methods in org.parboiled.trees with parameters of type Formatter Modifier and Type Method Description static <T extends GraphNode<T>>
java.lang.StringGraphUtils. 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>>
java.lang.StringGraphUtils. 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.
-