org.parboiled.errors
Class InvalidInputError
java.lang.Object
org.parboiled.errors.BasicParseError
org.parboiled.errors.InvalidInputError
- All Implemented Interfaces:
- ParseError
public class InvalidInputError
- extends BasicParseError
A ParseError describing one or more input characters that are illegal with regard to the underlying
language grammar.
|
Method Summary |
java.util.List<MatcherPath> |
getFailedMatchers()
Gets the list of paths to the single character matchers that failed at the error location of this error. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvalidInputError
public InvalidInputError(InputBuffer inputBuffer,
int startIndex,
java.util.List<MatcherPath> failedMatchers,
java.lang.String errorMessage)
getFailedMatchers
public java.util.List<MatcherPath> getFailedMatchers()
- Gets the list of paths to the single character matchers that failed at the error location of this error.
- Returns:
- the list of paths to the single character matchers that failed at the error location of this error