StylingRecord

constructor(styleRuns: List<StyleRun>, variableUses: List<Pair<IntRange, IntRange>>)

Construct a new StylingRecord from its parts.

Parameters

styleRuns

An ascending sequence of non-overlapping, non-empty IntRanges, with the style name to apply to that range. The ranges are start .. pastEnd in zero-based numbering within the UTF-16 Java string.

variableUses

Information about variable uses and definitions. The pairs go from use to definition. The IntRanges are as for styleRuns.