Class Location


  • public class Location
    extends java.lang.Object
    • Constructor Detail

      • Location

        public Location​(int startLine,
                        int startChar,
                        int endLine,
                        int endChar)
    • Method Detail

      • getStartLine

        public int getStartLine()
      • getStartChar

        public int getStartChar()
      • getEndLine

        public int getEndLine()
      • getEndChar

        public int getEndChar()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • includes

        public boolean includes​(Location other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public java.lang.String toLocator()
      • fromLocator

        public static Location fromLocator​(java.lang.String locator)