StylingRecord

fun StylingRecord(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.

variableUses

Information about variable uses and definitions. The pairs go from use to definition.