class Spoom::LSP::Location

def accept_printer(printer)

def accept_printer(printer)
  printer.print_colored("#{printer.clean_uri(uri)}:", Color::LIGHT_BLACK)
  printer.print_object(range)
end

def from_json(json)

def from_json(json)
  Location.new(
    uri: json["uri"],
    range: Range.from_json(json["range"]),
  )
end

def to_s

def to_s
  "#{uri}:#{range}"
end