Class LineLocationImpl

    • Constructor Detail

      • LineLocationImpl

        public LineLocationImpl​(java.lang.String desc,
                                LineLocation parent)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPosition

        public int getPosition()
        Description copied from interface: LineLocation
        Position of the line, starting at 0.
        Specified by:
        getPosition in interface LineLocation
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: LineLocation
        A description of the ressource. If the ressource is a file, this is the complete path of the file.
        Specified by:
        getDescription in interface LineLocation
      • getParent

        public LineLocation getParent()
        Description copied from interface: LineLocation
        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.
        Specified by:
        getParent in interface LineLocation
      • compareTo

        public int compareTo​(LineLocation other)
        Specified by:
        compareTo in interface java.lang.Comparable<LineLocation>