ProvidesLocationPath
Protocol that all the Descriptors conform to for original .proto file location lookup.
ProvidesLocationPath.swift:15protocol ProvidesLocationPath
Requirements
Instance members
var file: FileDescriptor!
Returns the File this conforming object is in.
func getLocationPath(path: inout IndexPath
) Updates
path
to the source location of the complete extent of the object conforming to this protocol. This is a replacement forGetSourceLocation()
in the C++ Descriptor apis.