Class LocationData
- java.lang.Object
-
- org.eclipse.xtext.util.TextRegion
-
- org.eclipse.xtext.util.TextRegionWithLineInformation
-
- org.eclipse.xtext.generator.trace.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
-
-
Constructor Summary
Constructors Constructor Description LocationData(int offset, int length, int lineNumber, int endLineNumber, SourceRelativeURI path)
LocationData(org.eclipse.xtext.util.ITextRegionWithLineInformation region, SourceRelativeURI path)
-
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
-
-
-
-
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
-
getSrcRelativePath
public SourceRelativeURI getSrcRelativePath()
- Specified by:
getSrcRelativePath
in interfaceILocationData
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.eclipse.xtext.util.TextRegion
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classorg.eclipse.xtext.util.TextRegion
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.xtext.util.TextRegionWithLineInformation
-
-