SourceSpanWithContextExtension extension
Extension methods on the base SourceSpan API.
Methods
-
subspan(
int start, [int? end]) → SourceSpanWithContext -
Available on SourceSpanWithContext, provided by the SourceSpanWithContextExtension extension
Returns a span fromstart
code units (inclusive) toend
code units (exclusive) after the beginning of this span.