Module xl.compiler

Class XL16ULoweringPlan

java.lang.Object
de.grogra.xl.compiler.xl16u.XL16ULoweringPlan

public final class XL16ULoweringPlan extends Object
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.
  • Method Details

    • fromSegments

      public static XL16ULoweringPlan fromSegments(List<XL16ULoweringSegment> loweringSegments)
    • getEntries

      public List<XL16ULoweringPlan.Entry> getEntries()
    • getSegments

      public List<XL16ULoweringSegment> getSegments()
    • getSourceRanges

      public List<XL16UOffsetRange> getSourceRanges()
    • getCompatibilityRanges

      public List<XL16UOffsetRange> getCompatibilityRanges()
    • getDeclarationEntries

      public List<XL16ULoweringPlan.Entry> getDeclarationEntries()
    • getStatementEntries

      public List<XL16ULoweringPlan.Entry> getStatementEntries()
    • getDeclarationSegments

      public List<XL16ULoweringSegment> getDeclarationSegments()
    • getStatementSegments

      public List<XL16ULoweringSegment> getStatementSegments()
    • getDeclarationSourceRanges

      public List<XL16UOffsetRange> getDeclarationSourceRanges()
    • getStatementSourceRanges

      public List<XL16UOffsetRange> getStatementSourceRanges()
    • getDeclarationCompatibilityRanges

      public List<XL16UOffsetRange> getDeclarationCompatibilityRanges()
    • getStatementCompatibilityRanges

      public List<XL16UOffsetRange> getStatementCompatibilityRanges()
    • getEntriesOfKind

      public List<XL16ULoweringPlan.Entry> getEntriesOfKind(XL16ULoweringSegment.Kind kind)
    • getSegmentsOfKind

      public List<XL16ULoweringSegment> getSegmentsOfKind(XL16ULoweringSegment.Kind kind)
    • getSourceRangesOfKind

      public List<XL16UOffsetRange> getSourceRangesOfKind(XL16ULoweringSegment.Kind kind)
    • getCompatibilityRangesOfKind

      public List<XL16UOffsetRange> getCompatibilityRangesOfKind(XL16ULoweringSegment.Kind kind)
    • getPlainRangeDeclarationEntries

      public List<XL16ULoweringPlan.Entry> getPlainRangeDeclarationEntries()
    • getPhysicalDeclarationEntries

      public List<XL16ULoweringPlan.Entry> getPhysicalDeclarationEntries()
    • getBooleanInitializerEntries

      public List<XL16ULoweringPlan.Entry> getBooleanInitializerEntries()
    • getPlainInitializerEntries

      public List<XL16ULoweringPlan.Entry> getPlainInitializerEntries()
    • getReturnEntries

      public List<XL16ULoweringPlan.Entry> getReturnEntries()
    • getAssignmentEntries

      public List<XL16ULoweringPlan.Entry> getAssignmentEntries()
    • getIncrementEntries

      public List<XL16ULoweringPlan.Entry> getIncrementEntries()
    • getExpressionEntries

      public List<XL16ULoweringPlan.Entry> getExpressionEntries()
    • getPlainRangeDeclarationSegments

      public List<XL16ULoweringSegment> getPlainRangeDeclarationSegments()
    • getPhysicalDeclarationSegments

      public List<XL16ULoweringSegment> getPhysicalDeclarationSegments()
    • getBooleanInitializerSegments

      public List<XL16ULoweringSegment> getBooleanInitializerSegments()
    • getPlainInitializerSegments

      public List<XL16ULoweringSegment> getPlainInitializerSegments()
    • getReturnSegments

      public List<XL16ULoweringSegment> getReturnSegments()
    • getAssignmentSegments

      public List<XL16ULoweringSegment> getAssignmentSegments()
    • getIncrementSegments

      public List<XL16ULoweringSegment> getIncrementSegments()
    • getExpressionSegments

      public List<XL16ULoweringSegment> getExpressionSegments()
    • getPlainRangeDeclarationSourceRanges

      public List<XL16UOffsetRange> getPlainRangeDeclarationSourceRanges()
    • getPhysicalDeclarationSourceRanges

      public List<XL16UOffsetRange> getPhysicalDeclarationSourceRanges()
    • getBooleanInitializerSourceRanges

      public List<XL16UOffsetRange> getBooleanInitializerSourceRanges()
    • getPlainInitializerSourceRanges

      public List<XL16UOffsetRange> getPlainInitializerSourceRanges()
    • getReturnSourceRanges

      public List<XL16UOffsetRange> getReturnSourceRanges()
    • getAssignmentSourceRanges

      public List<XL16UOffsetRange> getAssignmentSourceRanges()
    • getIncrementSourceRanges

      public List<XL16UOffsetRange> getIncrementSourceRanges()
    • getExpressionSourceRanges

      public List<XL16UOffsetRange> getExpressionSourceRanges()
    • getPlainRangeDeclarationCompatibilityRanges

      public List<XL16UOffsetRange> getPlainRangeDeclarationCompatibilityRanges()
    • getPhysicalDeclarationCompatibilityRanges

      public List<XL16UOffsetRange> getPhysicalDeclarationCompatibilityRanges()
    • getBooleanInitializerCompatibilityRanges

      public List<XL16UOffsetRange> getBooleanInitializerCompatibilityRanges()
    • getPlainInitializerCompatibilityRanges

      public List<XL16UOffsetRange> getPlainInitializerCompatibilityRanges()
    • getReturnCompatibilityRanges

      public List<XL16UOffsetRange> getReturnCompatibilityRanges()
    • getAssignmentCompatibilityRanges

      public List<XL16UOffsetRange> getAssignmentCompatibilityRanges()
    • getIncrementCompatibilityRanges

      public List<XL16UOffsetRange> getIncrementCompatibilityRanges()
    • getExpressionCompatibilityRanges

      public List<XL16UOffsetRange> getExpressionCompatibilityRanges()
    • getSymbolNames

      public List<String> getSymbolNames()
    • getFirstEntryForSymbol

      public XL16ULoweringPlan.Entry getFirstEntryForSymbol(String symbolName)
    • getEntriesForSymbol

      public List<XL16ULoweringPlan.Entry> getEntriesForSymbol(String symbolName)
    • getSegmentsForSymbol

      public List<XL16ULoweringSegment> getSegmentsForSymbol(String symbolName)
    • getSourceRangesForSymbol

      public List<XL16UOffsetRange> getSourceRangesForSymbol(String symbolName)
    • getCompatibilityRangesForSymbol

      public List<XL16UOffsetRange> getCompatibilityRangesForSymbol(String symbolName)
    • hasEntryForSymbol

      public boolean hasEntryForSymbol(String symbolName)
    • getEntryContainingSourceOffset

      public XL16ULoweringPlan.Entry getEntryContainingSourceOffset(int sourceOffset)
    • getEntryContainingSourceRange

      public XL16ULoweringPlan.Entry getEntryContainingSourceRange(int sourceStart, int sourceEnd)
    • getEntryContainingSourceRange

      public XL16ULoweringPlan.Entry getEntryContainingSourceRange(XL16UOffsetRange sourceRange)
    • getEntriesIntersectingSourceRange

      public List<XL16ULoweringPlan.Entry> getEntriesIntersectingSourceRange(int sourceStart, int sourceEnd)
    • getEntriesIntersectingSourceRange

      public List<XL16ULoweringPlan.Entry> getEntriesIntersectingSourceRange(XL16UOffsetRange sourceRange)
    • getEntryWithExactSourceRange

      public XL16ULoweringPlan.Entry getEntryWithExactSourceRange(int sourceStart, int sourceEnd)
    • getEntryWithExactSourceRange

      public XL16ULoweringPlan.Entry getEntryWithExactSourceRange(XL16UOffsetRange sourceRange)
    • getEntryStartingAtSourceOffset

      public XL16ULoweringPlan.Entry getEntryStartingAtSourceOffset(int sourceStart)
    • getEntryEndingAtSourceOffset

      public XL16ULoweringPlan.Entry getEntryEndingAtSourceOffset(int sourceEnd)
    • getEntryPrecedingSourceOffset

      public XL16ULoweringPlan.Entry getEntryPrecedingSourceOffset(int sourceOffset)
    • getEntryFollowingSourceOffset

      public XL16ULoweringPlan.Entry getEntryFollowingSourceOffset(int sourceOffset)
    • getEntryContainingCompatibilityOffset

      public XL16ULoweringPlan.Entry getEntryContainingCompatibilityOffset(int compatibilityOffset)
    • 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

      public XL16ULoweringPlan.Entry getEntryStartingAtCompatibilityOffset(int compatibilityStart)
    • getEntryEndingAtCompatibilityOffset

      public XL16ULoweringPlan.Entry getEntryEndingAtCompatibilityOffset(int compatibilityEnd)
    • getEntryPrecedingCompatibilityOffset

      public XL16ULoweringPlan.Entry getEntryPrecedingCompatibilityOffset(int compatibilityOffset)
    • getEntryFollowingCompatibilityOffset

      public XL16ULoweringPlan.Entry getEntryFollowingCompatibilityOffset(int compatibilityOffset)
    • getLengthDeltaBeforeSourceOffset

      public int getLengthDeltaBeforeSourceOffset(int sourceOffset)
    • getCompatibilityOffsetForSourceOffset

      public int getCompatibilityOffsetForSourceOffset(int sourceOffset)
    • getCompatibilityRangeForSourceRange

      public XL16UOffsetRange getCompatibilityRangeForSourceRange(int sourceStart, int sourceEnd)
    • getCompatibilityRangeForSourceRange

      public XL16UOffsetRange getCompatibilityRangeForSourceRange(XL16UOffsetRange sourceRange)
    • getLengthDeltaBeforeCompatibilityOffset

      public int getLengthDeltaBeforeCompatibilityOffset(int compatibilityOffset)
    • getSourceOffsetForCompatibilityOffset

      public int getSourceOffsetForCompatibilityOffset(int compatibilityOffset)
    • getSourceRangeForCompatibilityRange

      public XL16UOffsetRange getSourceRangeForCompatibilityRange(int compatibilityStart, int compatibilityEnd)
    • getSourceRangeForCompatibilityRange

      public XL16UOffsetRange getSourceRangeForCompatibilityRange(XL16UOffsetRange compatibilityRange)
    • containsSourceOffset

      public boolean containsSourceOffset(int sourceOffset)
    • containsSourceRange

      public boolean containsSourceRange(int sourceStart, int sourceEnd)
    • containsSourceRange

      public boolean containsSourceRange(XL16UOffsetRange sourceRange)
    • intersectsSourceRange

      public boolean intersectsSourceRange(int sourceStart, int sourceEnd)
    • intersectsSourceRange

      public boolean intersectsSourceRange(XL16UOffsetRange sourceRange)
    • containsCompatibilityOffset

      public boolean containsCompatibilityOffset(int compatibilityOffset)
    • containsCompatibilityRange

      public boolean containsCompatibilityRange(int compatibilityStart, int compatibilityEnd)
    • containsCompatibilityRange

      public boolean containsCompatibilityRange(XL16UOffsetRange compatibilityRange)
    • intersectsCompatibilityRange

      public boolean intersectsCompatibilityRange(int compatibilityStart, int compatibilityEnd)
    • intersectsCompatibilityRange

      public boolean intersectsCompatibilityRange(XL16UOffsetRange compatibilityRange)
    • hasEntryWithExactSourceRange

      public boolean hasEntryWithExactSourceRange(int sourceStart, int sourceEnd)
    • hasEntryWithExactSourceRange

      public boolean hasEntryWithExactSourceRange(XL16UOffsetRange sourceRange)
    • hasEntryWithExactCompatibilityRange

      public boolean hasEntryWithExactCompatibilityRange(int compatibilityStart, int compatibilityEnd)
    • hasEntryWithExactCompatibilityRange

      public boolean hasEntryWithExactCompatibilityRange(XL16UOffsetRange compatibilityRange)
    • 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

      public XL16UOffsetRange getSourceRange()
    • getCompatibilityRange

      public XL16UOffsetRange getCompatibilityRange()
    • getSourceStart

      public int getSourceStart()
    • getSourceEnd

      public int getSourceEnd()
    • getCompatibilityStart

      public int getCompatibilityStart()
    • getCompatibilityEnd

      public int getCompatibilityEnd()
    • getSummary

      public XL16ULoweringPlan.Summary getSummary()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • hasEntriesOfKind

      public boolean hasEntriesOfKind(XL16ULoweringSegment.Kind kind)
    • getCountOfKind

      public int getCountOfKind(XL16ULoweringSegment.Kind kind)
    • getKindCounts

      public Map<XL16ULoweringSegment.Kind,Integer> 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

      public String replay(String originalSource)