Interface LineLocation

All Superinterfaces:
java.lang.Comparable<LineLocation>
All Known Implementing Classes:
LineLocationImpl

public interface LineLocation extends java.lang.Comparable<LineLocation>
Indicates the location of a line of code within a resource. The resource maybe a local file or a remote URL.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    A description of the ressource.
    Get the parent of this location.
    int
    Position of the line, starting at 0.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getPosition

      int getPosition()
      Position of the line, starting at 0.
    • getDescription

      java.lang.String getDescription()
      A description of the ressource. If the ressource is a file, this is the complete path of the file.
    • getParent

      LineLocation getParent()
      Get the parent of this location. If this resource has been included by a !include or !includeurl directive, this return the location of the !include line.