// toProtocolRange converts from a source range back to a protocol range.
toProtocolRange converts from a source range back to a protocol range.
// toProtocolRange converts from a source range back to a protocol range .
func toProtocolRange(f *token.File, r source.Range) protocol.Range {
	return protocol.Range{
		Start: toProtocolPosition(f, r.Start),
		End:   toProtocolPosition(f, r.End),
	}
}
func toProtocolRange ( f * token . File , r source . Range ) protocol . Range { return protocol . Range { Start : toProtocolPosition ( f , r . Start ) , End : toProtocolPosition ( f , r . End ) , } }
toProtocolRange converts from a source range back to a protocol range.
toProtocolRange converts from a source range back to a protocol range .