class Prism::Translation::Parser::Compiler

def srange(location)

Constructs a new source range from the given start and end offsets.
def srange(location)
  Range.new(source_buffer, offset_cache[location.start_offset], offset_cache[location.end_offset]) if location
end