Interface CompilationProblem


public interface CompilationProblem
An abstract definition of a compilation problem
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
    position of where the problem stops in the source code
    name of the file where the problem occurred
    the description of the problem
    int
     
    int
    position of where the problem starts in the source code
    boolean
    is the problem an error and compilation cannot continue or just a warning and compilation can proceed
  • Method Details

    • isError

      boolean isError()
      is the problem an error and compilation cannot continue or just a warning and compilation can proceed
      Returns:
    • getFileName

      String getFileName()
      name of the file where the problem occurred
      Returns:
    • getStartLine

      int getStartLine()
      position of where the problem starts in the source code
      Returns:
    • getStartColumn

      int getStartColumn()
    • getEndLine

      int getEndLine()
      position of where the problem stops in the source code
      Returns:
    • getEndColumn

      int getEndColumn()
    • getMessage

      String getMessage()
      the description of the problem
      Returns: