Package | Description |
---|---|
org.parboiled | |
org.parboiled.errors | |
org.parboiled.parserunners | |
org.parboiled.support |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ParseError> |
MatcherContext.parseErrors |
Modifier and Type | Method and Description |
---|---|
java.util.List<ParseError> |
MatcherContext.getParseErrors() |
java.util.List<ParseError> |
Context.getParseErrors()
Returns the list of parse errors for the entire parsing run.
|
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 |
ActionError
A
ParseError wrapping an ActionException. |
class |
BasicParseError
A basic
ParseError implementation for a one-char parse error with an optional error message. |
class |
InvalidInputError
A
ParseError describing one or more input characters that are illegal with regard to the underlying
language grammar. |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ErrorUtils.printParseError(ParseError error)
Pretty prints the given parse error showing its location in the given input buffer.
|
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 | Method and Description |
---|---|
static java.lang.String |
ErrorUtils.printParseErrors(java.util.List<ParseError> errors)
Pretty prints the given parse errors showing their location in the given input buffer.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<ParseError> |
AbstractParseRunner.parseErrors |
Modifier and Type | Method and Description |
---|---|
java.util.List<ParseError> |
AbstractParseRunner.getParseErrors() |
Modifier and Type | Method and Description |
---|---|
ParseRunner<V> |
ParseRunner.withParseErrors(java.util.List<ParseError> parseErrors)
Initializes the parse runner with the given error list.
|
ParseRunner<V> |
AbstractParseRunner.withParseErrors(java.util.List<ParseError> parseErrors) |
Modifier and Type | Field and Description |
---|---|
java.util.List<ParseError> |
ParsingResult.parseErrors
The list of parse errors created during the parsing run.
|
Constructor and Description |
---|
ParsingResult(boolean matched,
Node<V> parseTreeRoot,
ValueStack<V> valueStack,
java.util.List<ParseError> parseErrors,
InputBuffer inputBuffer)
Creates a new ParsingResult.
|