Package | Description |
---|---|
org.parboiled | |
org.parboiled.parserunners |
Constructor and Description |
---|
MatcherContext(InputBuffer inputBuffer,
ValueStack<V> valueStack,
List<ParseError> parseErrors,
MatchHandler matchHandler,
Matcher matcher,
boolean fastStringMatching)
Initializes a new root MatcherContext.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicParseRunner<V>
The most basic of all
ParseRunner implementations. |
class |
ErrorLocatingParseRunner<V>
A
ParseRunner implementation that creates a simple BasicParseError for the first error found in the
input and adds it to the list of ParseErrors. |
class |
ErrorReportingParseRunner<V>
A
ParseRunner implementation that creates an
InvalidInputError for the error at a known error location. |
class |
ProfilingParseRunner<V>
The ProfilingParseRunner is a special
ParseRunner implementation that "watches" a parser digest a number
of inputs and collects all sorts of statistical data on the what rules have matched how many times, the number
of reincovations of rules at identical input locations, and so on. |
class |
TracingParseRunner<V>
A
ParseRunner implementation used for debugging purposes. |
Modifier and Type | Method and Description |
---|---|
protected MatcherContext<V> |
AbstractParseRunner.createRootContext(InputBuffer inputBuffer,
MatchHandler matchHandler,
boolean fastStringMatching) |
Constructor and Description |
---|
ErrorLocatingParseRunner(Rule rule,
MatchHandler inner)
Creates a new ErrorLocatingParseRunner instance for the given rule.
|
ErrorReportingParseRunner(Rule rule,
int errorIndex,
MatchHandler inner)
Creates a new ErrorReportingParseRunner instance for the given rule and the given errorIndex.
|
Copyright © 2020. All rights reserved.