google.golang.org/protobuf/internal/filedesc.File.Syntax (method, view implemented interface methods)
4 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L128: func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
desc.go#L588: func (d *Base) Syntax() protoreflect.Syntax { return d.L0.ParentFile.Syntax() }
desc_init.go#L255: if fd.Syntax() != protoreflect.Editions {
desc_init.go#L256: panic(fmt.Sprintf("invalid descriptor: using edition features in a proto with syntax %s", fd.Syntax()))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)