union method
Creates a new span that's the union of this and other
.
The two spans must have the same source URL and may not be disjoint.
text is computed by combining this.text
and other.text
.
Implementation
SourceSpan union(SourceSpan other);