expand method

  1. @override
FileSpan expand(
  1. FileSpan other
)

Returns a new span that covers both this and other.

Unlike union, other may be disjoint from this. If it is, the text between the two will be covered by the returned span.

Implementation

@override
FileSpan expand(FileSpan other) => _inner.expand(other);