java.lang.Object
de.grogra.xl.compiler.xl16u.XL16ULoweringPlan
Unified source-side record of all recorded XL 1.6U lowering segments.
Declaration and statement subplans remain useful for family-specific
queries, but backend migration code often needs the complete ordered stream
without returning to compatibility-source text.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsCompatibilityOffset(int compatibilityOffset) booleancontainsCompatibilityRange(int compatibilityStart, int compatibilityEnd) booleancontainsCompatibilityRange(XL16UOffsetRange compatibilityRange) booleancontainsSourceOffset(int sourceOffset) booleancontainsSourceRange(int sourceStart, int sourceEnd) booleancontainsSourceRange(XL16UOffsetRange sourceRange) static XL16ULoweringPlanfromSegments(List<XL16ULoweringSegment> loweringSegments) intintintintgetCompatibilityOffsetForSourceOffset(int sourceOffset) getCompatibilityRangeForSourceRange(int sourceStart, int sourceEnd) getCompatibilityRangeForSourceRange(XL16UOffsetRange sourceRange) getCompatibilityRangesForSymbol(String symbolName) intintintgetEntriesForSymbol(String symbolName) getEntriesIntersectingCompatibilityRange(int compatibilityStart, int compatibilityEnd) getEntriesIntersectingCompatibilityRange(XL16UOffsetRange compatibilityRange) getEntriesIntersectingSourceRange(int sourceStart, int sourceEnd) getEntriesIntersectingSourceRange(XL16UOffsetRange sourceRange) getEntryContainingCompatibilityOffset(int compatibilityOffset) getEntryContainingCompatibilityRange(int compatibilityStart, int compatibilityEnd) getEntryContainingCompatibilityRange(XL16UOffsetRange compatibilityRange) getEntryContainingSourceOffset(int sourceOffset) getEntryContainingSourceRange(int sourceStart, int sourceEnd) getEntryContainingSourceRange(XL16UOffsetRange sourceRange) getEntryEndingAtCompatibilityOffset(int compatibilityEnd) getEntryEndingAtSourceOffset(int sourceEnd) getEntryFollowingCompatibilityOffset(int compatibilityOffset) getEntryFollowingSourceOffset(int sourceOffset) getEntryPrecedingCompatibilityOffset(int compatibilityOffset) getEntryPrecedingSourceOffset(int sourceOffset) getEntryStartingAtCompatibilityOffset(int compatibilityStart) getEntryStartingAtSourceOffset(int sourceStart) getEntryWithExactCompatibilityRange(int compatibilityStart, int compatibilityEnd) getEntryWithExactCompatibilityRange(XL16UOffsetRange compatibilityRange) getEntryWithExactSourceRange(int sourceStart, int sourceEnd) getEntryWithExactSourceRange(XL16UOffsetRange sourceRange) intgetFirstEntryForSymbol(String symbolName) intintgetLengthDeltaBeforeCompatibilityOffset(int compatibilityOffset) intgetLengthDeltaBeforeSourceOffset(int sourceOffset) intintintintgetSegmentsForSymbol(String symbolName) intintgetSourceOffsetForCompatibilityOffset(int compatibilityOffset) getSourceRangeForCompatibilityRange(int compatibilityStart, int compatibilityEnd) getSourceRangeForCompatibilityRange(XL16UOffsetRange compatibilityRange) getSourceRangesForSymbol(String symbolName) intintintintintbooleanbooleanbooleanbooleanbooleanhasEntryEndingAtCompatibilityOffset(int compatibilityEnd) booleanhasEntryEndingAtSourceOffset(int sourceEnd) booleanhasEntryFollowingCompatibilityOffset(int compatibilityOffset) booleanhasEntryFollowingSourceOffset(int sourceOffset) booleanhasEntryForSymbol(String symbolName) booleanhasEntryPrecedingCompatibilityOffset(int compatibilityOffset) booleanhasEntryPrecedingSourceOffset(int sourceOffset) booleanhasEntryStartingAtCompatibilityOffset(int compatibilityStart) booleanhasEntryStartingAtSourceOffset(int sourceStart) booleanhasEntryWithExactCompatibilityRange(int compatibilityStart, int compatibilityEnd) booleanhasEntryWithExactCompatibilityRange(XL16UOffsetRange compatibilityRange) booleanhasEntryWithExactSourceRange(int sourceStart, int sourceEnd) booleanhasEntryWithExactSourceRange(XL16UOffsetRange sourceRange) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintersectsCompatibilityRange(int compatibilityStart, int compatibilityEnd) booleanintersectsCompatibilityRange(XL16UOffsetRange compatibilityRange) booleanintersectsSourceRange(int sourceStart, int sourceEnd) booleanintersectsSourceRange(XL16UOffsetRange sourceRange) booleanisEmpty()intsize()
-
Method Details
-
fromSegments
-
getEntries
-
getSegments
-
getSourceRanges
-
getCompatibilityRanges
-
getDeclarationEntries
-
getStatementEntries
-
getDeclarationSegments
-
getStatementSegments
-
getDeclarationSourceRanges
-
getStatementSourceRanges
-
getDeclarationCompatibilityRanges
-
getStatementCompatibilityRanges
-
getEntriesOfKind
-
getSegmentsOfKind
-
getSourceRangesOfKind
-
getCompatibilityRangesOfKind
-
getPlainRangeDeclarationEntries
-
getPhysicalDeclarationEntries
-
getBooleanInitializerEntries
-
getPlainInitializerEntries
-
getReturnEntries
-
getAssignmentEntries
-
getIncrementEntries
-
getExpressionEntries
-
getPlainRangeDeclarationSegments
-
getPhysicalDeclarationSegments
-
getBooleanInitializerSegments
-
getPlainInitializerSegments
-
getReturnSegments
-
getAssignmentSegments
-
getIncrementSegments
-
getExpressionSegments
-
getPlainRangeDeclarationSourceRanges
-
getPhysicalDeclarationSourceRanges
-
getBooleanInitializerSourceRanges
-
getPlainInitializerSourceRanges
-
getReturnSourceRanges
-
getAssignmentSourceRanges
-
getIncrementSourceRanges
-
getExpressionSourceRanges
-
getPlainRangeDeclarationCompatibilityRanges
-
getPhysicalDeclarationCompatibilityRanges
-
getBooleanInitializerCompatibilityRanges
-
getPlainInitializerCompatibilityRanges
-
getReturnCompatibilityRanges
-
getAssignmentCompatibilityRanges
-
getIncrementCompatibilityRanges
-
getExpressionCompatibilityRanges
-
getSymbolNames
-
getFirstEntryForSymbol
-
getEntriesForSymbol
-
getSegmentsForSymbol
-
getSourceRangesForSymbol
-
getCompatibilityRangesForSymbol
-
hasEntryForSymbol
-
getEntryContainingSourceOffset
-
getEntryContainingSourceRange
-
getEntryContainingSourceRange
-
getEntriesIntersectingSourceRange
public List<XL16ULoweringPlan.Entry> getEntriesIntersectingSourceRange(int sourceStart, int sourceEnd) -
getEntriesIntersectingSourceRange
public List<XL16ULoweringPlan.Entry> getEntriesIntersectingSourceRange(XL16UOffsetRange sourceRange) -
getEntryWithExactSourceRange
-
getEntryWithExactSourceRange
-
getEntryStartingAtSourceOffset
-
getEntryEndingAtSourceOffset
-
getEntryPrecedingSourceOffset
-
getEntryFollowingSourceOffset
-
getEntryContainingCompatibilityOffset
-
getEntryContainingCompatibilityRange
public XL16ULoweringPlan.Entry getEntryContainingCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
getEntryContainingCompatibilityRange
public XL16ULoweringPlan.Entry getEntryContainingCompatibilityRange(XL16UOffsetRange compatibilityRange) -
getEntriesIntersectingCompatibilityRange
public List<XL16ULoweringPlan.Entry> getEntriesIntersectingCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
getEntriesIntersectingCompatibilityRange
public List<XL16ULoweringPlan.Entry> getEntriesIntersectingCompatibilityRange(XL16UOffsetRange compatibilityRange) -
getEntryWithExactCompatibilityRange
public XL16ULoweringPlan.Entry getEntryWithExactCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
getEntryWithExactCompatibilityRange
public XL16ULoweringPlan.Entry getEntryWithExactCompatibilityRange(XL16UOffsetRange compatibilityRange) -
getEntryStartingAtCompatibilityOffset
-
getEntryEndingAtCompatibilityOffset
-
getEntryPrecedingCompatibilityOffset
-
getEntryFollowingCompatibilityOffset
-
getLengthDeltaBeforeSourceOffset
public int getLengthDeltaBeforeSourceOffset(int sourceOffset) -
getCompatibilityOffsetForSourceOffset
public int getCompatibilityOffsetForSourceOffset(int sourceOffset) -
getCompatibilityRangeForSourceRange
-
getCompatibilityRangeForSourceRange
-
getLengthDeltaBeforeCompatibilityOffset
public int getLengthDeltaBeforeCompatibilityOffset(int compatibilityOffset) -
getSourceOffsetForCompatibilityOffset
public int getSourceOffsetForCompatibilityOffset(int compatibilityOffset) -
getSourceRangeForCompatibilityRange
public XL16UOffsetRange getSourceRangeForCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
getSourceRangeForCompatibilityRange
-
containsSourceOffset
public boolean containsSourceOffset(int sourceOffset) -
containsSourceRange
public boolean containsSourceRange(int sourceStart, int sourceEnd) -
containsSourceRange
-
intersectsSourceRange
public boolean intersectsSourceRange(int sourceStart, int sourceEnd) -
intersectsSourceRange
-
containsCompatibilityOffset
public boolean containsCompatibilityOffset(int compatibilityOffset) -
containsCompatibilityRange
public boolean containsCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
containsCompatibilityRange
-
intersectsCompatibilityRange
public boolean intersectsCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
intersectsCompatibilityRange
-
hasEntryWithExactSourceRange
public boolean hasEntryWithExactSourceRange(int sourceStart, int sourceEnd) -
hasEntryWithExactSourceRange
-
hasEntryWithExactCompatibilityRange
public boolean hasEntryWithExactCompatibilityRange(int compatibilityStart, int compatibilityEnd) -
hasEntryWithExactCompatibilityRange
-
hasEntryStartingAtSourceOffset
public boolean hasEntryStartingAtSourceOffset(int sourceStart) -
hasEntryEndingAtSourceOffset
public boolean hasEntryEndingAtSourceOffset(int sourceEnd) -
hasEntryPrecedingSourceOffset
public boolean hasEntryPrecedingSourceOffset(int sourceOffset) -
hasEntryFollowingSourceOffset
public boolean hasEntryFollowingSourceOffset(int sourceOffset) -
hasEntryStartingAtCompatibilityOffset
public boolean hasEntryStartingAtCompatibilityOffset(int compatibilityStart) -
hasEntryEndingAtCompatibilityOffset
public boolean hasEntryEndingAtCompatibilityOffset(int compatibilityEnd) -
hasEntryPrecedingCompatibilityOffset
public boolean hasEntryPrecedingCompatibilityOffset(int compatibilityOffset) -
hasEntryFollowingCompatibilityOffset
public boolean hasEntryFollowingCompatibilityOffset(int compatibilityOffset) -
getSourceRange
-
getCompatibilityRange
-
getSourceStart
public int getSourceStart() -
getSourceEnd
public int getSourceEnd() -
getCompatibilityStart
public int getCompatibilityStart() -
getCompatibilityEnd
public int getCompatibilityEnd() -
getSummary
-
size
public int size() -
isEmpty
public boolean isEmpty() -
hasEntriesOfKind
-
getCountOfKind
-
getKindCounts
-
hasDeclarationEntries
public boolean hasDeclarationEntries() -
hasStatementEntries
public boolean hasStatementEntries() -
hasPlainRangeDeclarations
public boolean hasPlainRangeDeclarations() -
hasPhysicalDeclarations
public boolean hasPhysicalDeclarations() -
hasBooleanInitializers
public boolean hasBooleanInitializers() -
hasPlainInitializers
public boolean hasPlainInitializers() -
hasReturns
public boolean hasReturns() -
hasAssignments
public boolean hasAssignments() -
hasIncrements
public boolean hasIncrements() -
hasExpressions
public boolean hasExpressions() -
getDeclarationCount
public int getDeclarationCount() -
getStatementCount
public int getStatementCount() -
getPlainRangeDeclarationCount
public int getPlainRangeDeclarationCount() -
getPhysicalDeclarationCount
public int getPhysicalDeclarationCount() -
getBooleanInitializerCount
public int getBooleanInitializerCount() -
getPlainInitializerCount
public int getPlainInitializerCount() -
getReturnCount
public int getReturnCount() -
getAssignmentCount
public int getAssignmentCount() -
getIncrementCount
public int getIncrementCount() -
getExpressionCount
public int getExpressionCount() -
getTotalSourceLength
public int getTotalSourceLength() -
getTotalCompatibilityLength
public int getTotalCompatibilityLength() -
getTotalLengthDelta
public int getTotalLengthDelta() -
changesLength
public boolean changesLength() -
replay
-