// asProtocolSymbolInformation converts s to a protocol.SymbolInformation value.
//
// TODO: work out how to handle tags if/when they are needed.
asProtocolSymbolInformation converts s to a protocol.SymbolInformation value.

work out how to handle tags if/when they are needed.
// asProtocolSymbolInformation converts s to a protocol . SymbolInformation value . // // TODO : work out how to handle tags if / when they are needed .
func (s symbolInformation) asProtocolSymbolInformation() protocol.SymbolInformation {
	return protocol.SymbolInformation{
		Name: s.symbol,
		Kind: s.kind,
		Location: protocol.Location{
			URI:   protocol.URIFromSpanURI(s.uri),
			Range: s.rng,
		},
		ContainerName: s.container,
	}
}
func ( s symbolInformation ) asProtocolSymbolInformation ( ) protocol . SymbolInformation { return protocol . SymbolInformation { Name : s . symbol , Kind : s . kind , Location : protocol . Location { URI : protocol . URIFromSpanURI ( s . uri ) , Range : s . rng , } , ContainerName : s . container , } }
asProtocolSymbolInformation converts s to a protocol.SymbolInformation value.
asProtocolSymbolInformation converts s to a protocol . SymbolInformation value .