Lines Matching defs:SourceLocations
290 type SourceLocations struct { struct
294 List []protoreflect.SourceLocation
299 File protoreflect.FileDescriptor
301 once sync.Once
302 byPath map[pathKey]int
305 func (p *SourceLocations) Len() int { return len(p.List) }
306 func (p *SourceLocations) Get(i int) protoreflect.SourceLocation { return p.lazyInit().List[i] }
307 func (p *SourceLocations) byKey(k pathKey) protoreflect.SourceLocation {
313 func (p *SourceLocations) ByPath(path protoreflect.SourcePath) protoreflect.SourceLocation {
316 func (p *SourceLocations) ByDescriptor(desc protoreflect.Descriptor) protoreflect.SourceLocation {
414 func (p *SourceLocations) lazyInit() *SourceLocations {
437 func (p *SourceLocations) ProtoInternal(pragma.DoNotImplement) {}