Interface SourceTracker

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getColNumber()
      Return the column number in the line of the file at which this instance was parsed.
      int getLineNumber()
      Return the line number of the file at which this instance was parsed.
      java.lang.String getResourceName()
      Return the domain-meaningful name of the resource that was loaded from this source.
      java.io.File getSourceFile()
      Return the file from which this instance was parsed.
      java.lang.Object getSourceScope()
      Return the domain-dependent scope of this instance within its file.
      int getSourceType()
      Return the type of source.
    • Method Detail

      • getSourceFile

        java.io.File getSourceFile()
        Return the file from which this instance was parsed.
      • getSourceScope

        java.lang.Object getSourceScope()
        Return the domain-dependent scope of this instance within its file.
      • getSourceType

        int getSourceType()
        Return the type of source.
      • getResourceName

        java.lang.String getResourceName()
        Return the domain-meaningful name of the resource that was loaded from this source. I.e., if we had loaded the source for a Java class, this would return the name of the class.
      • getLineNumber

        int getLineNumber()
        Return the line number of the file at which this instance was parsed.
      • getColNumber

        int getColNumber()
        Return the column number in the line of the file at which this instance was parsed.