Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bufbuild/protocompile
/ functions
Functions
1,436 in github.com/bufbuild/protocompile
⨍
Functions
1,436
◇
Types & classes
233
↓ 1 callers
Method
getServices
(count int)
linker/pool.go:93
↓ 1 callers
Function
groupComments
(cmts ast.Comments)
sourceinfo/source_code_info.go:886
↓ 1 callers
Method
hasCustomJSONName
(fdProto *descriptorpb.FieldDescriptorProto)
linker/validate.go:726
↓ 1 callers
Method
hasOverrideDescriptorProto
()
compiler.go:343
↓ 1 callers
Function
hasService
(fd *descriptorpb.FileDescriptorProto, name string)
parser/parser_test.go:903
↓ 1 callers
Method
hasSource
()
linker/descriptors.go:1853
↓ 1 callers
Method
importFile
(fd protoreflect.FileDescriptor, handler *reporter.Handler)
linker/symbols.go:147
↓ 1 callers
Method
importFileWithExtensions
(pkg *packageSymbols, fd protoreflect.FileDescriptor, handler *reporter.Handler)
linker/symbols.go:126
↓ 1 callers
Method
importPackage
(pkgSpan ast.SourceSpan, pkg protoreflect.FullName, handler *reporter.Handler)
linker/symbols.go:194
↓ 1 callers
Method
importResultWithExtensions
(pkg *packageSymbols, r *result, handler *reporter.Handler)
linker/symbols.go:424
↓ 1 callers
Method
interpretField
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 callers
Method
interpretFieldPseudoOptions
(fqn string, fld *descriptorpb.FieldDescriptorProto, opts *descriptorpb.FieldOptions)
options/options.go:393
↓ 1 callers
Method
interpretMessageOptions
(fqn string, md *descriptorpb.DescriptorProto, customOpts bool)
options/options.go:281
↓ 1 callers
Method
interpretOptions
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 callers
Function
invokeProtoc
(protoPath string, fileNames []string)
internal/protoc/protoc.go:118
↓ 1 callers
Function
isAggregateDescriptor
(d protoreflect.Descriptor)
linker/resolve.go:765
↓ 1 callers
Function
isBuiltinTypeName
(typeName string)
linker/validate.go:813
↓ 1 callers
Function
isEOF
(n ast.Node)
sourceinfo/source_code_info.go:682
↓ 1 callers
Function
isExtensionMatch
(ext protoreflect.ExtensionDescriptor, message protoreflect.FullName, field protoreflect.FieldNumber)
linker/files.go:358
↓ 1 callers
Method
isMessageSetWireFormat
(scope string, md *descriptorpb.DescriptorProto, handler *reporter.Handler)
parser/result.go:687
↓ 1 callers
Function
isPathMatch
(a, b []int32)
options/options.go:1081
↓ 1 callers
Function
isReference
(k reflect.Kind)
internal/benchmarks/measure.go:207
↓ 1 callers
Method
isRemoved
(p []int32)
options/source_retention_options.go:134
↓ 1 callers
Function
isType
(d protoreflect.Descriptor)
linker/resolve.go:665
↓ 1 callers
Method
link
(parseRes parser.Result, deps linker.Files, overrideDescriptorProtoRes linker.File)
compiler.go:586
↓ 1 callers
Method
looksLikeGroup
()
linker/descriptors.go:1163
↓ 1 callers
Method
markUsed
(importPath string)
linker/resolve.go:94
↓ 1 callers
Function
matchesPkgNamespace
(fqn, pkg protoreflect.FullName)
linker/resolve.go:749
↓ 1 callers
Method
maybeAttach
(prevInfo ast.NodeInfo, info ast.NodeInfo, hasTrail bool, lead []comments)
sourceinfo/source_code_info.go:841
↓ 1 callers
Method
maybeDonate
(prevInfo ast.NodeInfo, info ast.NodeInfo, lead []comments)
sourceinfo/source_code_info.go:801
↓ 1 callers
Function
messageDescriptor
(msg protoreflect.MessageDescriptor, enter, exit func(protoreflect.Descriptor) error)
walk/walk.go:134
↓ 1 callers
Method
messageLiteralValue
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 callers
Function
needsSourceInfo
(parseRes parser.Result, mode SourceInfoMode)
compiler.go:638
↓ 1 callers
Function
newAllocPool
(file *descriptorpb.FileDescriptorProto)
linker/pool.go:43
↓ 1 callers
Function
newFileRecursive
(fd protoreflect.FileDescriptor, seen map[protoreflect.FileDescriptor]File)
linker/files.go:96
↓ 1 callers
Function
newLexer
(in io.Reader)
parser/fastscan/lexer.go:115
↓ 1 callers
Function
newSyntaxError
(errs []reporter.ErrorWithPos)
parser/fastscan/fastscan.go:79
↓ 1 callers
Method
parentIsMap
()
linker/descriptors.go:1244
↓ 1 callers
Function
parseAndLink
(t *testing.T, contents string)
linker/symbols_test.go:196
↓ 1 callers
Method
parseDefaultValue
(val string)
linker/descriptors.go:1311
↓ 1 callers
Function
pathsEqual
(a, b []int32)
sourceinfo/source_code_info_test.go:116
↓ 1 callers
Function
posLess
(a, b ast.SourcePos)
linker/symbols.go:275
↓ 1 callers
Function
printAST
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 callers
Method
processDefaultOption
(scope string, fqn string, fld *descriptorpb.FieldDescriptorProto, uos []*descriptorpb.UninterpretedOption)
options/options.go:439
↓ 1 callers
Method
processProto3OptionalFields
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 callers
Function
protoErrorMessage
(state, lookAhead int)
parser/proto.y.go:993
↓ 1 callers
Function
protoNewParser
()
parser/proto.y.go:969
↓ 1 callers
Function
protoParse
(protolex protoLexer)
parser/proto.y.go:1092
↓ 1 callers
Method
putEnumNode
(e *descriptorpb.EnumDescriptorProto, n *ast.EnumNode)
parser/result.go:980
↓ 1 callers
Method
putEnumReservedRangeNode
(rr *descriptorpb.EnumDescriptorProto_EnumReservedRange, n *ast.RangeNode)
parser/result.go:988
↓ 1 callers
Method
putEnumValueNode
(e *descriptorpb.EnumValueDescriptorProto, n *ast.EnumValueNode)
parser/result.go:984
↓ 1 callers
Method
putExtensionRangeNode
(e *descriptorpb.DescriptorProto_ExtensionRange, er *ast.ExtensionRangeNode, n *ast.RangeNode)
parser/result.go:971
↓ 1 callers
Method
putFileNode
(f *descriptorpb.FileDescriptorProto, n *ast.FileNode)
parser/result.go:947
↓ 1 callers
Method
putMessageReservedRangeNode
(rr *descriptorpb.DescriptorProto_ReservedRange, n *ast.RangeNode)
parser/result.go:976
↓ 1 callers
Method
putMethodNode
(m *descriptorpb.MethodDescriptorProto, n *ast.RPCNode)
parser/result.go:996
↓ 1 callers
Method
putOptionNamePartNode
(o *descriptorpb.UninterpretedOption_NamePart, n *ast.FieldReferenceNode)
parser/result.go:955
↓ 1 callers
Method
putOptionNode
(o *descriptorpb.UninterpretedOption, n *ast.OptionNode)
parser/result.go:951
↓ 1 callers
Method
putServiceNode
(s *descriptorpb.ServiceDescriptorProto, n *ast.ServiceNode)
parser/result.go:992
↓ 1 callers
Method
readIdentifier
()
parser/lexer.go:484
↓ 1 callers
Method
readIdentifier
(sofar ...rune)
parser/fastscan/lexer.go:249
↓ 1 callers
Method
readStringLiteral
(quote rune)
parser/lexer.go:497
↓ 1 callers
Method
readStringLiteral
(quote rune)
parser/fastscan/lexer.go:266
↓ 1 callers
Function
recreateNodeIndexForFile
(orig, clone *result, origProto, cloneProto *descriptorpb.FileDescriptorProto)
parser/clone.go:73
↓ 1 callers
Function
recreateNodeIndexForMessage
(orig, clone *result, origProto, cloneProto *descriptorpb.DescriptorProto)
parser/clone.go:97
↓ 1 callers
Function
recreateNodeIndexForOptions
(orig, clone *result, origProtos, cloneProtos []*descriptorpb.UninterpretedOption)
parser/clone.go:142
↓ 1 callers
Method
release
()
compiler.go:403
↓ 1 callers
Function
removePrefix
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 callers
Function
resolveMethodTypes
(m *mtdDescriptor, handler *reporter.Handler, scopes []scope, checkedCache []string)
linker/resolve.go:469
↓ 1 callers
Function
resolveNumber
(num protoreflect.FieldNumber, md protoreflect.MessageDescriptor, resolver linker.Resolver)
sourceinfo/source_code_info_test.go:297
↓ 1 callers
Method
resolveOptionValue
(handler *reporter.Handler, mc *internal.MessageContext, val ast.ValueNode, scopes []scope, checkedCache []str
linker/resolve.go:555
↓ 1 callers
Method
resolveReferences
(handler *reporter.Handler, s *Symbols)
linker/resolve.go:169
↓ 1 callers
Function
reverse
(p protoreflect.SourcePath)
internal/util.go:239
↓ 1 callers
Method
setMark
()
parser/lexer.go:71
↓ 1 callers
Method
setOptionFieldFromProto
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 callers
Method
setString
(lval *protoSymType, val string)
parser/lexer.go:416
↓ 1 callers
Method
skipToEndOfBlockComment
(lval *protoSymType)
parser/lexer.go:718
↓ 1 callers
Method
skipToEndOfBlockComment
()
parser/fastscan/lexer.go:446
↓ 1 callers
Method
skipToEndOfLineComment
(lval *protoSymType)
parser/lexer.go:699
↓ 1 callers
Method
skipToEndOfLineComment
()
parser/fastscan/lexer.go:433
↓ 1 callers
Function
sourceSpanForNumber
(fd protoreflect.FieldDescriptor)
linker/symbols.go:371
↓ 1 callers
Function
sourceSpanForPackage
(fd protoreflect.FileDescriptor)
linker/symbols.go:298
↓ 1 callers
Function
stringForFieldReference
stringForFieldReference returns the string representation of the given field reference.
parser/lexer_test.go:622
↓ 1 callers
Function
stripSourcePathsForSourceRetentionOptions
( sourceInfo *descriptorpb.SourceCodeInfo, removedPaths *sourcePathTrie, )
options/source_retention_options.go:472
↓ 1 callers
Function
testByProtoc
(t *testing.T, fileContents string, expectSuccess bool)
parser/validate_test.go:1029
↓ 1 callers
Function
unescape
(s string)
linker/descriptors.go:1367
↓ 1 callers
Function
unwrap
(descriptor protoreflect.FileDescriptor)
linker/descriptors.go:345
↓ 1 callers
Function
validateBasic
(res *result, handler *reporter.Handler)
parser/validate.go:31
↓ 1 callers
Function
validateEnum
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, ed *descriptorpb.EnumDescriptorProto, ha
parser/validate.go:317
↓ 1 callers
Method
validateEnum
(d protoreflect.EnumDescriptor, handler *reporter.Handler)
linker/validate.go:475
↓ 1 callers
Method
validateExtension
(fd *fldDescriptor, handler *reporter.Handler)
linker/validate.go:211
↓ 1 callers
Method
validateExtensionDeclarations
(md *msgDescriptor, handler *reporter.Handler, symbols *Symbols)
linker/validate.go:586
↓ 1 callers
Function
validateField
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, fld *descriptorpb.FieldDescriptorProto,
parser/validate.go:450
↓ 1 callers
Method
validateField
(fld protoreflect.FieldDescriptor, handler *reporter.Handler)
linker/validate.go:101
↓ 1 callers
Method
validateFieldFeatures
(fld *fldDescriptor, handler *reporter.Handler)
linker/validate.go:379
↓ 1 callers
Method
validateFile
(handler *reporter.Handler)
linker/validate.go:62
↓ 1 callers
Function
validateImports
(res *result, handler *reporter.Handler)
parser/validate.go:89
↓ 1 callers
Method
validateJSONNamesInEnum
(ed *enumDescriptor, handler *reporter.Handler)
linker/validate.go:507
↓ 1 callers
Method
validateJSONNamesInMessage
(md *msgDescriptor, handler *reporter.Handler)
linker/validate.go:465
↓ 1 callers
Function
validateMessage
(res *result, syntax protoreflect.Syntax, name protoreflect.FullName, md *descriptorpb.DescriptorProto, handle
parser/validate.go:127
↓ 1 callers
Method
validateMessage
(d protoreflect.MessageDescriptor, handler *reporter.Handler, symbols *Symbols)
linker/validate.go:451
← previous
next →
701–800 of 1,436, ranked by callers