protobuf-go/reflect/protoreflect
Joe Tsai 42cc4c592f reflect/protoreflect: improve source information usability
Added API:
  SourceLocations.ByPath
  SourceLocations.ByDescriptor
  SourceLocation.Next
  SourcePath.String
  SourcePath.Equal

We modify compiler/protogen to use SourceLocations.ByDescriptor.
In retrospect, if this had existed during the development of protogen,
we would not have exposed protogen.Location and related fields.

Change-Id: I58f17e59f90b9ba16f0982c4b71c2542e4ff6e75
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/238000
Reviewed-by: Damien Neil <dneil@google.com>
2020-07-23 21:50:46 +00:00
..
methods.go
proto_test.go reflect/protoreflect: optimize Name.IsValid and FullName.IsValid 2020-06-16 19:13:20 +00:00
proto.go reflect/protoreflect: optimize Name.IsValid and FullName.IsValid 2020-06-16 19:13:20 +00:00
source_gen.go reflect/protoreflect: improve source information usability 2020-07-23 21:50:46 +00:00
source_test.go reflect/protoreflect: improve source information usability 2020-07-23 21:50:46 +00:00
source.go reflect/protoreflect: improve source information usability 2020-07-23 21:50:46 +00:00
type.go reflect/protoreflect: add MessageFieldTypes 2020-07-23 21:24:58 +00:00
value_pure.go
value_test.go
value_union.go reflect/protoreflect: adjust ValueOf panic message 2020-05-26 22:22:26 +00:00
value_unsafe.go
value.go reflect/protoreflect: cleanup wording on Message.NewField 2020-04-21 00:34:41 +00:00