class RubyIndexer::Location
def ==(other)
def ==(other) start_line == other.start_line && end_line == other.end_line && start_column == other.start_column && end_column == other.end_column end
def from_prism_location(prism_location, code_units_cache)
def from_prism_location(prism_location, code_units_cache) new( prism_location.start_line, prism_location.end_line, prism_location.cached_start_code_units_column(code_units_cache), prism_location.cached_end_code_units_column(code_units_cache), ) end
def initialize(start_line, end_line, start_column, end_column)
def initialize(start_line, end_line, start_column, end_column) @start_line = start_line @end_line = end_line @start_column = start_column @end_column = end_column end