SourceSpanWithContextExtension extension

Extension methods on the base SourceSpan API.

on

Methods

subspan(int start, [int? end]) SourceSpanWithContext

Available on SourceSpanWithContext, provided by the SourceSpanWithContextExtension extension

Returns a span from start code units (inclusive) to end code units (exclusive) after the beginning of this span.