Package 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
AParseError
describing one or more input characters that are illegal with regard to the underlying language grammar.
-
-
Constructor Summary
Constructors Constructor Description InvalidInputError(InputBuffer inputBuffer, int startIndex, java.util.List<MatcherPath> failedMatchers, java.lang.String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 org.parboiled.errors.BasicParseError
getEndIndex, getErrorMessage, getIndexDelta, getInputBuffer, getStartIndex, setEndIndex, shiftIndexDeltaBy
-
-
-
-
Constructor Detail
-
InvalidInputError
public InvalidInputError(InputBuffer inputBuffer, int startIndex, java.util.List<MatcherPath> failedMatchers, java.lang.String errorMessage)
-
-
Method Detail
-
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
-
-