Interface ParseError

    • Method Detail

      • getInputBuffer

        InputBuffer getInputBuffer()
        Gets the inputbuffer this error occurred in.
        Returns:
        the inputbuffer
      • getStartIndex

        int getStartIndex()
        Gets the start index of the parse error in the underlying input buffer.
        Returns:
        the input index of the first character covered by this error
      • getEndIndex

        int getEndIndex()
        Gets the end index of the parse error in the underlying input buffer.
        Returns:
        the end index of this error, i.e. the index of the character immediately following the last character covered by this error
      • getErrorMessage

        String getErrorMessage()
        An optional error message.
        Returns:
        an optional error message.