MCPcopy Create free account

hub / github.com/bufbuild/protocompile / functions

Functions1,436 in github.com/bufbuild/protocompile

↓ 1 callersMethodgetServices
(count int)
linker/pool.go:93
↓ 1 callersFunctiongroupComments
(cmts ast.Comments)
sourceinfo/source_code_info.go:886
↓ 1 callersMethodhasCustomJSONName
(fdProto *descriptorpb.FieldDescriptorProto)
linker/validate.go:726
↓ 1 callersMethodhasOverrideDescriptorProto
()
compiler.go:343
↓ 1 callersFunctionhasService
(fd *descriptorpb.FileDescriptorProto, name string)
parser/parser_test.go:903
↓ 1 callersMethodhasSource
()
linker/descriptors.go:1853
↓ 1 callersMethodimportFile
(fd protoreflect.FileDescriptor, handler *reporter.Handler)
linker/symbols.go:147
↓ 1 callersMethodimportFileWithExtensions
(pkg *packageSymbols, fd protoreflect.FileDescriptor, handler *reporter.Handler)
linker/symbols.go:126
↓ 1 callersMethodimportPackage
(pkgSpan ast.SourceSpan, pkg protoreflect.FullName, handler *reporter.Handler)
linker/symbols.go:194
↓ 1 callersMethodimportResultWithExtensions
(pkg *packageSymbols, r *result, handler *reporter.Handler)
linker/symbols.go:424
↓ 1 callersMethodinterpretField
interpretField interprets the option described by opt, as a field inside the given msg. This interprets components of the option name starting at name
options/options.go:1160
↓ 1 callersMethodinterpretFieldPseudoOptions
(fqn string, fld *descriptorpb.FieldDescriptorProto, opts *descriptorpb.FieldOptions)
options/options.go:393
↓ 1 callersMethodinterpretMessageOptions
(fqn string, md *descriptorpb.DescriptorProto, customOpts bool)
options/options.go:281
↓ 1 callersMethodinterpretOptions
interpretOptions processes the options in uninterpreted, which are interpreted as fields of the given opts message. The first return value is the feat
options/options.go:611
↓ 1 callersFunctioninvokeProtoc
(protoPath string, fileNames []string)
internal/protoc/protoc.go:118
↓ 1 callersFunctionisAggregateDescriptor
(d protoreflect.Descriptor)
linker/resolve.go:765
↓ 1 callersFunctionisBuiltinTypeName
(typeName string)
linker/validate.go:813
↓ 1 callersFunctionisEOF
(n ast.Node)
sourceinfo/source_code_info.go:682
↓ 1 callersFunctionisExtensionMatch
(ext protoreflect.ExtensionDescriptor, message protoreflect.FullName, field protoreflect.FieldNumber)
linker/files.go:358
↓ 1 callersMethodisMessageSetWireFormat
(scope string, md *descriptorpb.DescriptorProto, handler *reporter.Handler)
parser/result.go:687
↓ 1 callersFunctionisPathMatch
(a, b []int32)
options/options.go:1081
↓ 1 callersFunctionisReference
(k reflect.Kind)
internal/benchmarks/measure.go:207
↓ 1 callersMethodisRemoved
(p []int32)
options/source_retention_options.go:134
↓ 1 callersFunctionisType
(d protoreflect.Descriptor)
linker/resolve.go:665
↓ 1 callersMethodlink
(parseRes parser.Result, deps linker.Files, overrideDescriptorProtoRes linker.File)
compiler.go:586
↓ 1 callersMethodlooksLikeGroup
()
linker/descriptors.go:1163
↓ 1 callersMethodmarkUsed
(importPath string)
linker/resolve.go:94
↓ 1 callersFunctionmatchesPkgNamespace
(fqn, pkg protoreflect.FullName)
linker/resolve.go:749
↓ 1 callersMethodmaybeAttach
(prevInfo ast.NodeInfo, info ast.NodeInfo, hasTrail bool, lead []comments)
sourceinfo/source_code_info.go:841
↓ 1 callersMethodmaybeDonate
(prevInfo ast.NodeInfo, info ast.NodeInfo, lead []comments)
sourceinfo/source_code_info.go:801
↓ 1 callersFunctionmessageDescriptor
(msg protoreflect.MessageDescriptor, enter, exit func(protoreflect.Descriptor) error)
walk/walk.go:134
↓ 1 callersMethodmessageLiteralValue
messageLiteralValue processes a message literal value. If the returned value is not valid, then an error occurred during processing. The returned err
options/options.go:2041
↓ 1 callersFunctionneedsSourceInfo
(parseRes parser.Result, mode SourceInfoMode)
compiler.go:638
↓ 1 callersFunctionnewAllocPool
(file *descriptorpb.FileDescriptorProto)
linker/pool.go:43
↓ 1 callersFunctionnewFileRecursive
(fd protoreflect.FileDescriptor, seen map[protoreflect.FileDescriptor]File)
linker/files.go:96
↓ 1 callersFunctionnewLexer
(in io.Reader)
parser/fastscan/lexer.go:115
↓ 1 callersFunctionnewSyntaxError
(errs []reporter.ErrorWithPos)
parser/fastscan/fastscan.go:79
↓ 1 callersMethodparentIsMap
()
linker/descriptors.go:1244
↓ 1 callersFunctionparseAndLink
(t *testing.T, contents string)
linker/symbols_test.go:196
↓ 1 callersMethodparseDefaultValue
(val string)
linker/descriptors.go:1311
↓ 1 callersFunctionpathsEqual
(a, b []int32)
sourceinfo/source_code_info_test.go:116
↓ 1 callersFunctionposLess
(a, b ast.SourcePos)
linker/symbols.go:275
↓ 1 callersFunctionprintAST
printAST prints the given AST node to the given output. This operation basically walks the AST and, for each TerminalNode, prints the node's leading c
ast/ast_roundtrip_test.go:73
↓ 1 callersMethodprocessDefaultOption
(scope string, fqn string, fld *descriptorpb.FieldDescriptorProto, uos []*descriptorpb.UninterpretedOption)
options/options.go:439
↓ 1 callersMethodprocessProto3OptionalFields
processProto3OptionalFields adds synthetic oneofs to the given message descriptor for each proto3 optional field. It also updates the fields to have t
parser/result.go:781
↓ 1 callersFunctionprotoErrorMessage
(state, lookAhead int)
parser/proto.y.go:993
↓ 1 callersFunctionprotoNewParser
()
parser/proto.y.go:969
↓ 1 callersFunctionprotoParse
(protolex protoLexer)
parser/proto.y.go:1092
↓ 1 callersMethodputEnumNode
(e *descriptorpb.EnumDescriptorProto, n *ast.EnumNode)
parser/result.go:980
↓ 1 callersMethodputEnumReservedRangeNode
(rr *descriptorpb.EnumDescriptorProto_EnumReservedRange, n *ast.RangeNode)
parser/result.go:988
↓ 1 callersMethodputEnumValueNode
(e *descriptorpb.EnumValueDescriptorProto, n *ast.EnumValueNode)
parser/result.go:984
↓ 1 callersMethodputExtensionRangeNode
(e *descriptorpb.DescriptorProto_ExtensionRange, er *ast.ExtensionRangeNode, n *ast.RangeNode)
parser/result.go:971
↓ 1 callersMethodputFileNode
(f *descriptorpb.FileDescriptorProto, n *ast.FileNode)
parser/result.go:947
↓ 1 callersMethodputMessageReservedRangeNode
(rr *descriptorpb.DescriptorProto_ReservedRange, n *ast.RangeNode)
parser/result.go:976
↓ 1 callersMethodputMethodNode
(m *descriptorpb.MethodDescriptorProto, n *ast.RPCNode)
parser/result.go:996
↓ 1 callersMethodputOptionNamePartNode
(o *descriptorpb.UninterpretedOption_NamePart, n *ast.FieldReferenceNode)
parser/result.go:955
↓ 1 callersMethodputOptionNode
(o *descriptorpb.UninterpretedOption, n *ast.OptionNode)
parser/result.go:951
↓ 1 callersMethodputServiceNode
(s *descriptorpb.ServiceDescriptorProto, n *ast.ServiceNode)
parser/result.go:992
↓ 1 callersMethodreadIdentifier
()
parser/lexer.go:484
↓ 1 callersMethodreadIdentifier
(sofar ...rune)
parser/fastscan/lexer.go:249
↓ 1 callersMethodreadStringLiteral
(quote rune)
parser/lexer.go:497
↓ 1 callersMethodreadStringLiteral
(quote rune)
parser/fastscan/lexer.go:266
↓ 1 callersFunctionrecreateNodeIndexForFile
(orig, clone *result, origProto, cloneProto *descriptorpb.FileDescriptorProto)
parser/clone.go:73
↓ 1 callersFunctionrecreateNodeIndexForMessage
(orig, clone *result, origProto, cloneProto *descriptorpb.DescriptorProto)
parser/clone.go:97
↓ 1 callersFunctionrecreateNodeIndexForOptions
(orig, clone *result, origProtos, cloneProtos []*descriptorpb.UninterpretedOption)
parser/clone.go:142
↓ 1 callersMethodrelease
()
compiler.go:403
↓ 1 callersFunctionremovePrefix
removePrefix is used to remove the given prefix from the given str. It does not require an exact match and ignores case and underscores. If the all no
linker/validate.go:757
↓ 1 callersFunctionresolveMethodTypes
(m *mtdDescriptor, handler *reporter.Handler, scopes []scope, checkedCache []string)
linker/resolve.go:469
↓ 1 callersFunctionresolveNumber
(num protoreflect.FieldNumber, md protoreflect.MessageDescriptor, resolver linker.Resolver)
sourceinfo/source_code_info_test.go:297
↓ 1 callersMethodresolveOptionValue
(handler *reporter.Handler, mc *internal.MessageContext, val ast.ValueNode, scopes []scope, checkedCache []str
linker/resolve.go:555
↓ 1 callersMethodresolveReferences
(handler *reporter.Handler, s *Symbols)
linker/resolve.go:169
↓ 1 callersFunctionreverse
(p protoreflect.SourcePath)
internal/util.go:239
↓ 1 callersMethodsetMark
()
parser/lexer.go:71
↓ 1 callersMethodsetOptionFieldFromProto
setOptionFieldFromProto sets the value for field fld in the given message msg to the value represented by the given uninterpreted option. The given as
options/options.go:1344
↓ 1 callersMethodsetString
(lval *protoSymType, val string)
parser/lexer.go:416
↓ 1 callersMethodskipToEndOfBlockComment
(lval *protoSymType)
parser/lexer.go:718
↓ 1 callersMethodskipToEndOfBlockComment
()
parser/fastscan/lexer.go:446
↓ 1 callersMethodskipToEndOfLineComment
(lval *protoSymType)
parser/lexer.go:699
↓ 1 callersMethodskipToEndOfLineComment
()
parser/fastscan/lexer.go:433
↓ 1 callersFunctionsourceSpanForNumber
(fd protoreflect.FieldDescriptor)
linker/symbols.go:371
↓ 1 callersFunctionsourceSpanForPackage
(fd protoreflect.FileDescriptor)
linker/symbols.go:298
↓ 1 callersFunctionstringForFieldReference
stringForFieldReference returns the string representation of the given field reference.
parser/lexer_test.go:622
↓ 1 callersFunctionstripSourcePathsForSourceRetentionOptions
( sourceInfo *descriptorpb.SourceCodeInfo, removedPaths *sourcePathTrie, )
options/source_retention_options.go:472
↓ 1 callersFunctiontestByProtoc
(t *testing.T, fileContents string, expectSuccess bool)
parser/validate_test.go:1029
↓ 1 callersFunctionunescape
(s string)
linker/descriptors.go:1367
↓ 1 callersFunctionunwrap
(descriptor protoreflect.FileDescriptor)
linker/descriptors.go:345
↓ 1 callersFunctionvalidateBasic
(res *result, handler *reporter.Handler)
parser/validate.go:31
↓ 1 callersFunctionvalidateEnum
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, ed *descriptorpb.EnumDescriptorProto, ha
parser/validate.go:317
↓ 1 callersMethodvalidateEnum
(d protoreflect.EnumDescriptor, handler *reporter.Handler)
linker/validate.go:475
↓ 1 callersMethodvalidateExtension
(fd *fldDescriptor, handler *reporter.Handler)
linker/validate.go:211
↓ 1 callersMethodvalidateExtensionDeclarations
(md *msgDescriptor, handler *reporter.Handler, symbols *Symbols)
linker/validate.go:586
↓ 1 callersFunctionvalidateField
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, fld *descriptorpb.FieldDescriptorProto,
parser/validate.go:450
↓ 1 callersMethodvalidateField
(fld protoreflect.FieldDescriptor, handler *reporter.Handler)
linker/validate.go:101
↓ 1 callersMethodvalidateFieldFeatures
(fld *fldDescriptor, handler *reporter.Handler)
linker/validate.go:379
↓ 1 callersMethodvalidateFile
(handler *reporter.Handler)
linker/validate.go:62
↓ 1 callersFunctionvalidateImports
(res *result, handler *reporter.Handler)
parser/validate.go:89
↓ 1 callersMethodvalidateJSONNamesInEnum
(ed *enumDescriptor, handler *reporter.Handler)
linker/validate.go:507
↓ 1 callersMethodvalidateJSONNamesInMessage
(md *msgDescriptor, handler *reporter.Handler)
linker/validate.go:465
↓ 1 callersFunctionvalidateMessage
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, md *descriptorpb.DescriptorProto, handle
parser/validate.go:127
↓ 1 callersMethodvalidateMessage
(d protoreflect.MessageDescriptor, handler *reporter.Handler, symbols *Symbols)
linker/validate.go:451
← previousnext →701–800 of 1,436, ranked by callers