Class GeneratorNodeProcessor.CompletableTraceRegion
- java.lang.Object
-
- org.eclipse.xtext.generator.trace.AbstractTraceRegion
-
- org.eclipse.xtext.generator.trace.AbstractStatefulTraceRegion
-
- org.eclipse.xtext.generator.trace.node.GeneratorNodeProcessor.CompletableTraceRegion
-
- Enclosing class:
- GeneratorNodeProcessor
public static class GeneratorNodeProcessor.CompletableTraceRegion extends AbstractStatefulTraceRegion
Used to avoid multi-pass processing, when constructing a trace region tree.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneratorNodeProcessor.CompletableTraceRegion.CompletableTextRegion
-
Constructor Summary
Constructors Modifier Constructor Description CompletableTraceRegion(boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
protected
CompletableTraceRegion(GeneratorNodeProcessor.CompletableTraceRegion.CompletableTextRegion region, boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(int offset, int length, int startLine, int endLine)
protected boolean
isConsistentWithParent()
-
Methods inherited from class org.eclipse.xtext.generator.trace.AbstractStatefulTraceRegion
getAssociatedLocations, getMyEndLineNumber, getMyLength, getMyLineNumber, getMyOffset, getMyRegion, getWritableAssociatedLocations, 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, leafIterator, mergedFrom, setAsChildIn, setParent, toInvertedTraceRegions, toString, treeIterator
-
-
-
-
Constructor Detail
-
CompletableTraceRegion
public CompletableTraceRegion(boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
-
CompletableTraceRegion
protected CompletableTraceRegion(GeneratorNodeProcessor.CompletableTraceRegion.CompletableTextRegion region, boolean useForDebugging, ILocationData associatedLocation, AbstractTraceRegion parent)
-
-
Method Detail
-
complete
public void complete(int offset, int length, int startLine, int endLine)
-
isConsistentWithParent
protected boolean isConsistentWithParent()
- Overrides:
isConsistentWithParent
in classAbstractTraceRegion
-
-