Class LocationData

  • All Implemented Interfaces:
    ILocationData, org.eclipse.xtext.util.ITextRegion, org.eclipse.xtext.util.ITextRegionWithLineInformation

    public class LocationData
    extends org.eclipse.xtext.util.TextRegionWithLineInformation
    implements ILocationData
    • Field Summary

      • Fields inherited from interface org.eclipse.xtext.util.ITextRegion

        EMPTY_REGION
      • Fields inherited from interface org.eclipse.xtext.util.ITextRegionWithLineInformation

        EMPTY_REGION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      SourceRelativeURI getSrcRelativePath()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class org.eclipse.xtext.util.TextRegionWithLineInformation

        getEndLineNumber, getLineNumber, merge, merge
      • Methods inherited from class org.eclipse.xtext.util.TextRegion

        contains, contains, getLength, getOffset
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.xtext.util.ITextRegion

        contains, contains, getLength, getOffset, merge
      • Methods inherited from interface org.eclipse.xtext.util.ITextRegionWithLineInformation

        getEndLineNumber, getLineNumber, merge
    • Constructor Detail

      • LocationData

        public LocationData​(int offset,
                            int length,
                            int lineNumber,
                            int endLineNumber,
                            SourceRelativeURI path)
      • LocationData

        public LocationData​(org.eclipse.xtext.util.ITextRegionWithLineInformation region,
                            SourceRelativeURI path)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.eclipse.xtext.util.TextRegion
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class org.eclipse.xtext.util.TextRegion
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.xtext.util.TextRegionWithLineInformation