Interface SyntaxError

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getColumn()
      Get the 0 based column number for the error start whenever it's possible to calculate it, or < 0 when the column is unknown.
      String getDescription()
      Get a textual description of the type of problem encountered.
      int getLine()
      Gets the 1 based line number for the syntax error whenever it's possible to calculate it, or < 0 when the line is unknown.
      boolean isError()
      True if the syntax error is an error, false in any other case.
      boolean isWarning()
      True if the syntax error is a warning, false in any other case.
    • Method Detail

      • getDescription

        String getDescription()
        Get a textual description of the type of problem encountered.
      • getLine

        int getLine()
        Gets the 1 based line number for the syntax error whenever it's possible to calculate it, or < 0 when the line is unknown.
      • getColumn

        int getColumn()
        Get the 0 based column number for the error start whenever it's possible to calculate it, or < 0 when the column is unknown.
      • isError

        boolean isError()
        True if the syntax error is an error, false in any other case. (see isWarning())
        Returns:
      • isWarning

        boolean isWarning()
        True if the syntax error is a warning, false in any other case. (see isError())
        Returns: