code: func LineBeginning(loc *LocationRange) LocationRange {
  	return LocationRange{
  		Begin:    Location{Line: loc.Begin.Line, Column: 1},
  		End:      loc.Begin,
  		FileName: loc.FileName,
  		file:     loc.file,
  	}
  }
docs: // LineBeginning returns the part of a line directly before LocationRange
  // for example:
  // local x = foo()
  //           ^^^^^ <- LocationRange loc
  // then
  // local x = foo()
  // ^^^^^^^^^^ <- lineBeginning(loc)