Package | Description |
---|---|
org.parboiled | |
org.parboiled.parserunners |
Modifier and Type | Field and Description |
---|---|
private MatchHandler |
MatcherContext.matchHandler |
Constructor and Description |
---|
MatcherContext(InputBuffer inputBuffer,
ValueStack<V> valueStack,
java.util.List<ParseError> parseErrors,
MatchHandler matchHandler,
Matcher matcher,
boolean fastStringMatching)
Initializes a new root MatcherContext.
|
MatcherContext(InputBuffer inputBuffer,
ValueStack<V> valueStack,
java.util.List<ParseError> parseErrors,
MatchHandler matchHandler,
MatcherContext<V> parent,
int level,
boolean fastStringMatching,
java.util.Set<MatcherPosition> memoizedMismatches) |
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. |
private class |
RecoveringParseRunner.Handler
A
MatchHandler implementation that recognizes the special
Chars.RESYNC character to overcome InvalidInputError s at the respective
error indices. |
class |
TracingParseRunner<V>
A
ParseRunner implementation used for debugging purposes. |
Modifier and Type | Field and Description |
---|---|
private MatchHandler |
ErrorReportingParseRunner.inner |
private MatchHandler |
ErrorLocatingParseRunner.inner |
Modifier and Type | Method and Description |
---|---|
private MatchHandler |
RecoveringParseRunner.getInnerHandler() |
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.
|