class YARP::Location

def start_line_slice

The content of the line where this location starts before this location.
def start_line_slice
  offset = source.line_offset(start_offset)
  source.slice(offset, start_offset - offset)
end