class Prism::Location

def ==(other)

Returns true if the given other location is equal to this location.
def ==(other)
  other.is_a?(Location) &&
    other.start_offset == start_offset &&
    other.end_offset == end_offset
end