endsIn method

bool endsIn(
  1. SourceRange otherRange
)

Return true if this source range ends inside the otherRange.

Implementation

bool endsIn(SourceRange otherRange) {
  return otherRange.contains(end);
}