Class 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.
    • 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