Package | Description |
---|---|
org.parboiled.errors | |
org.parboiled.parserunners | |
org.parboiled.support | |
org.parboiled.test |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ErrorUtils.printParseErrors(ParsingResult<?> parsingResult)
Pretty prints the parse errors of the given ParsingResult showing their location in the given input buffer.
|
Modifier and Type | Field and Description |
---|---|
private ParsingResult<V> |
RecoveringParseRunner.lastParsingResult |
ParsingResult<?> |
RecoveringParseRunner.TimeoutException.lastParsingResult |
Modifier and Type | Method and Description |
---|---|
protected ParsingResult<V> |
AbstractParseRunner.createParsingResult(boolean matched,
MatcherContext<V> rootContext) |
ParsingResult<V> |
ParseRunner.run(char[] input)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParsingResult<V> |
AbstractParseRunner.run(char[] input) |
ParsingResult<V> |
ReportingParseRunner.run(InputBuffer inputBuffer) |
ParsingResult<V> |
RecoveringParseRunner.run(InputBuffer inputBuffer) |
ParsingResult<V> |
ProfilingParseRunner.run(InputBuffer inputBuffer) |
ParsingResult<V> |
ParseRunner.run(InputBuffer inputBuffer)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParsingResult<V> |
ErrorReportingParseRunner.run(InputBuffer inputBuffer) |
ParsingResult<V> |
ErrorLocatingParseRunner.run(InputBuffer inputBuffer) |
ParsingResult<V> |
BasicParseRunner.run(InputBuffer inputBuffer) |
static <V> ParsingResult<V> |
ReportingParseRunner.run(Rule rule,
java.lang.String input)
Deprecated.
As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than
this static method. This method will be removed in one of the coming releases.
|
static <V> ParsingResult<V> |
RecoveringParseRunner.run(Rule rule,
java.lang.String input)
Deprecated.
As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than
this static method. This method will be removed in one of the coming releases.
|
static <V> ParsingResult<V> |
BasicParseRunner.run(Rule rule,
java.lang.String input)
Deprecated.
As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than
this static method. This method will be removed in one of the coming releases.
|
ParsingResult<V> |
ParseRunner.run(java.lang.String input)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParsingResult<V> |
AbstractParseRunner.run(java.lang.String input) |
protected ParsingResult<V> |
TracingParseRunner.runBasicMatch(InputBuffer inputBuffer) |
protected ParsingResult<V> |
ReportingParseRunner.runBasicMatch(InputBuffer inputBuffer) |
protected ParsingResult<V> |
ReportingParseRunner.runLocatingMatch(InputBuffer inputBuffer) |
protected ParsingResult<V> |
ReportingParseRunner.runReportingMatch(InputBuffer inputBuffer,
int errorIndex) |
Constructor and Description |
---|
TimeoutException(Rule rule,
InputBuffer inputBuffer,
ParsingResult<?> lastParsingResult) |
Modifier and Type | Method and Description |
---|---|
static <V> java.lang.String |
ParseTreeUtils.printNodeTree(ParsingResult<V> parsingResult)
Creates a readable string represenation of the parse tree in the given
ParsingResult object. |
static <V> java.lang.String |
ParseTreeUtils.printNodeTree(ParsingResult<V> parsingResult,
Predicate<Node<V>> nodeFilter,
Predicate<Node<V>> subTreeFilter)
Creates a readable string represenation of the parse tree in thee given
ParsingResult object. |
Modifier and Type | Field and Description |
---|---|
ParsingResult<V> |
ParboiledTest.TestResult.result |
Constructor and Description |
---|
TestResult(ParsingResult<V> result) |