Class AbstractStatefulTraceRegion
- java.lang.Object
-
- org.eclipse.xtext.generator.trace.AbstractTraceRegion
-
- org.eclipse.xtext.generator.trace.AbstractStatefulTraceRegion
-
- Direct Known Subclasses:
GeneratorNodeProcessor.CompletableTraceRegion
,TemporaryTraceRegion
,TraceRegion
public abstract class AbstractStatefulTraceRegion extends AbstractTraceRegion
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStatefulTraceRegion(org.eclipse.xtext.util.ITextRegionWithLineInformation myRegion, boolean useForDebugging, java.util.List<ILocationData> associatedLocations, AbstractTraceRegion parent)
protected
AbstractStatefulTraceRegion(org.eclipse.xtext.util.ITextRegionWithLineInformation myRegion, boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ILocationData>
getAssociatedLocations()
int
getMyEndLineNumber()
int
getMyLength()
int
getMyLineNumber()
int
getMyOffset()
org.eclipse.xtext.util.ITextRegionWithLineInformation
getMyRegion()
protected java.util.List<ILocationData>
getWritableAssociatedLocations()
boolean
isUseForDebugging()
-
Methods inherited from class org.eclipse.xtext.generator.trace.AbstractTraceRegion
collectMatchingLocations, createLocationData, equals, getAnnotatedString, getAssociatedSrcRelativePath, getCollectingList, getMergedAssociatedLocation, getNestedRegions, getParent, getRoot, getWritableNestedRegions, hashCode, inplaceSortByOffset, invertAll, invertFor, isConsistentWithParent, leafIterator, mergedFrom, setAsChildIn, setParent, toInvertedTraceRegions, toString, treeIterator
-
-
-
-
Constructor Detail
-
AbstractStatefulTraceRegion
protected AbstractStatefulTraceRegion(org.eclipse.xtext.util.ITextRegionWithLineInformation myRegion, boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
-
AbstractStatefulTraceRegion
protected AbstractStatefulTraceRegion(org.eclipse.xtext.util.ITextRegionWithLineInformation myRegion, boolean useForDebugging, java.util.List<ILocationData> associatedLocations, AbstractTraceRegion parent)
-
-
Method Detail
-
getMyLength
public int getMyLength()
- Specified by:
getMyLength
in classAbstractTraceRegion
-
getMyOffset
public int getMyOffset()
- Specified by:
getMyOffset
in classAbstractTraceRegion
-
getMyEndLineNumber
public int getMyEndLineNumber()
- Specified by:
getMyEndLineNumber
in classAbstractTraceRegion
-
getMyLineNumber
public int getMyLineNumber()
- Specified by:
getMyLineNumber
in classAbstractTraceRegion
-
getMyRegion
public org.eclipse.xtext.util.ITextRegionWithLineInformation getMyRegion()
- Overrides:
getMyRegion
in classAbstractTraceRegion
-
isUseForDebugging
public boolean isUseForDebugging()
- Specified by:
isUseForDebugging
in classAbstractTraceRegion
-
getAssociatedLocations
public java.util.List<ILocationData> getAssociatedLocations()
- Specified by:
getAssociatedLocations
in classAbstractTraceRegion
-
getWritableAssociatedLocations
protected java.util.List<ILocationData> getWritableAssociatedLocations()
-
-