merge method

SourceRange merge(
  1. SourceRange other
)

Implementation

SourceRange merge(SourceRange other) => SourceRange(
  start < other.start ? start : other.start,
  end > other.end ? end : other.end,
);