Package | Description |
---|---|
org.parboiled | |
org.parboiled.errors | |
org.parboiled.support |
Modifier and Type | Method and Description |
---|---|
MatcherPath |
Context.getPath()
Returns the
MatcherPath to the currently running matcher. |
MatcherPath |
MatcherContext.getPath() |
Modifier and Type | Method and Description |
---|---|
MatcherPath |
ActionError.getErrorPath()
Gets the path to the matcher that caused this error.
|
Modifier and Type | Method and Description |
---|---|
List<MatcherPath> |
InvalidInputError.getFailedMatchers()
Gets the list of paths to the single character matchers that failed at the error location of this error.
|
Constructor and Description |
---|
ActionError(InputBuffer inputBuffer,
int errorIndex,
String errorMessage,
MatcherPath errorPath,
ActionException actionException) |
Constructor and Description |
---|
InvalidInputError(InputBuffer inputBuffer,
int startIndex,
List<MatcherPath> failedMatchers,
String errorMessage) |
Modifier and Type | Field and Description |
---|---|
MatcherPath |
MatcherPath.parent |
Modifier and Type | Method and Description |
---|---|
MatcherPath |
MatcherPath.commonPrefix(MatcherPath that)
Returns the common prefix of this MatcherPath and the given other one.
|
Modifier and Type | Method and Description |
---|---|
MatcherPath |
MatcherPath.commonPrefix(MatcherPath that)
Returns the common prefix of this MatcherPath and the given other one.
|
boolean |
MatcherPath.isPrefixOf(MatcherPath that)
Determines whether this path is a prefix of the given other path.
|
String |
MatcherPath.toString(MatcherPath skipPrefix) |
Constructor and Description |
---|
MatcherPath(MatcherPath.Element element,
MatcherPath parent)
Constructs a new MatcherPath wrapping the given elements.
|
Copyright © 2022. All rights reserved.