| Package | Description |
|---|---|
| org.parboiled | |
| org.parboiled.errors | |
| org.parboiled.support |
| Modifier and Type | Method and Description |
|---|---|
MatcherPath |
MatcherContext.getPath() |
MatcherPath |
Context.getPath()
Returns the
MatcherPath to the currently running matcher. |
| 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 |
|---|---|
java.util.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,
java.lang.String errorMessage,
MatcherPath errorPath,
ActionException actionException) |
| Constructor and Description |
|---|
InvalidInputError(InputBuffer inputBuffer,
int startIndex,
java.util.List<MatcherPath> failedMatchers,
java.lang.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.
|
java.lang.String |
MatcherPath.toString(MatcherPath skipPrefix) |
| Constructor and Description |
|---|
MatcherPath(MatcherPath.Element element,
MatcherPath parent)
Constructs a new MatcherPath wrapping the given elements.
|