expand abstract method

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

FileSpan expand(FileSpan other);