ModifierRange
One materialized range of a modifier: the working unit whose parameters resolve through the cascade and can be taken into ownership.
Remarks
public BaseModifier Modifier{ get }The modifier whose application produced this range.
public RangeIdentity Identity{ get }Stable source-scoped identity of the entity.
public RangeSegmentId Segment{ get }The concrete segment of the entity this range covers.
public TextRange Range{ get }Covered codepoint range in rendered text space.
public RangeChannel Channel{ get }Optional project asset used for semantic routing.
public TextUnitSequence Units(TextUnit unit)This range's units of unit granularity, in logical order, each clipped to Range. Enumerating allocates nothing.
public int CountUnits(TextUnit unit)How many units of unit granularity this range holds. A unit the range only partly covers counts as one.
public OwnedParameter<TValue> Own(ParameterDescriptor<TModifier,TValue> parameter, ParameterComposition composition = ParameterComposition.Replace, int priority = 0)Takes one parameter of this range into ownership. The owned value composes on the cascade result under composition until the handle is released or the range's identity retires.
public TValue Resolve(ParameterDescriptor<TModifier,TValue> parameter)Resolves one parameter of this range: cascade plus owned values.
