Package org.parboiled.errors
Class InvalidInputError
java.lang.Object
org.parboiled.errors.BasicParseError
org.parboiled.errors.InvalidInputError
- All Implemented Interfaces:
ParseError
A
ParseError
describing one or more input characters that are illegal with regard to the underlying
language grammar.-
Constructor Summary
ConstructorDescriptionInvalidInputError
(InputBuffer inputBuffer, int startIndex, List<MatcherPath> failedMatchers, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionGets the list of paths to the single character matchers that failed at the error location of this error.Methods inherited from class org.parboiled.errors.BasicParseError
getEndIndex, getErrorMessage, getIndexDelta, getInputBuffer, getStartIndex, setEndIndex, shiftIndexDeltaBy
-
Constructor Details
-
InvalidInputError
public InvalidInputError(InputBuffer inputBuffer, int startIndex, List<MatcherPath> failedMatchers, String errorMessage)
-
-
Method Details
-
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
-