Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ functions
Functions
7,240 in github.com/cel-expr/cel-go
⨍
Functions
7,240
◇
Types & classes
842
↓ 2 callers
Method
evalResult
evalResult computes the final result of the fold after all entries have been folded and accumulated.
interpreter/interpretable.go:1626
↓ 2 callers
Method
expandMacro
(exprID int64, function string, target ast.Expr, args ...ast.Expr)
parser/parser.go:959
↓ 2 callers
Function
exprMapEntry
(factory ExprFactory, id int64, e *exprpb.Expr_CreateStruct_Entry)
common/ast/conversion.go:238
↓ 2 callers
Function
exprStructField
(factory ExprFactory, id int64, f *exprpb.Expr_CreateStruct_Entry)
common/ast/conversion.go:273
↓ 2 callers
Function
extractIdent
(target ast.Expr)
ext/guards.go:53
↓ 2 callers
Function
fieldPathsForType
fieldPathsForType expands the reachable fields from the given root identifier.
cel/fieldpaths.go:148
↓ 2 callers
Function
fieldToVariable
(field protoreflect.FieldDescriptor, jsonFieldNames bool)
cel/options.go:791
↓ 2 callers
Function
file_test_proto2pb_test_all_types_proto_init
()
test/proto2pb/test_all_types.pb.go:1329
↓ 2 callers
Function
file_test_proto3pb_test_import_proto_init
()
test/proto3pb/test_import.pb.go:114
↓ 2 callers
Function
findFrame
findFrame walks the activation hierarchy via Unwrap and Parent to locate an existing ExecutionFrame, if one exists.
interpreter/interpretable.go:214
↓ 2 callers
Method
findLineOffset
findLineOffset returns the offset where the (1-indexed) line begins, or false if line doesn't exist.
common/source.go:169
↓ 2 callers
Function
fixedPointFormatError
(id int64, badType string)
ext/formatting.go:675
↓ 2 callers
Function
fixedPointFormatErrorV2
(id int64, badType string)
ext/formatting_v2.go:615
↓ 2 callers
Function
formatCall
(funcName string, o *OverloadDecl)
common/decls/decls.go:1114
↓ 2 callers
Function
formatError
(errMsgs []errorMsg)
checker/env.go:362
↓ 2 callers
Function
formatFunctionDeclType
(resultType *types.Type, argTypes []*types.Type, isInstance bool)
checker/format.go:154
↓ 2 callers
Function
formatFunctionInternal
(resultType T, argTypes []T, isInstance bool, format formatter)
checker/format.go:158
↓ 2 callers
Function
formatList
(l traits.Lister, sb *strings.Builder)
common/types/list.go:296
↓ 2 callers
Function
formatMap
(m traits.Mapper, sb *strings.Builder)
common/types/map.go:330
↓ 2 callers
Function
formatStringV2
(arg ref.Val)
ext/formatting_v2.go:188
↓ 2 callers
Function
funcBindings
(t testing.TB, funcs ...*decls.FunctionDecl)
interpreter/interpreter_test.go:2452
↓ 2 callers
Function
genRange
(n types.Int, maxSize int64)
ext/lists.go:420
↓ 2 callers
Method
getCheckerOrError
getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
cel/env.go:937
↓ 2 callers
Method
getEffectiveEnv
()
repl/evaluator.go:1002
↓ 2 callers
Function
getErrorExprID
getErrorExprID determines which list literal argument triggered a type-disagreement for the purposes of more accurate error message reports.
ext/formatting.go:459
↓ 2 callers
Function
getExtFieldName
(mef cel.MacroExprFactory, expr ast.Expr)
ext/protos.go:129
↓ 2 callers
Function
getFieldValue
(refField reflect.Value)
ext/native.go:767
↓ 2 callers
Method
getReflectedField
(field ref.Val)
ext/native.go:585
↓ 2 callers
Method
getSourceInfo
()
parser/helper.go:44
↓ 2 callers
Function
hexFormatError
(id int64, badType string)
ext/formatting.go:679
↓ 2 callers
Function
hexFormatErrorV2
(id int64, badType string)
ext/formatting_v2.go:619
↓ 2 callers
Method
indexLetFn
(name string)
repl/evaluator.go:391
↓ 2 callers
Method
indexLetVar
(name string)
repl/evaluator.go:360
↓ 2 callers
Function
indexOfOffset
(str, substr string, offset int64)
ext/strings.go:665
↓ 2 callers
Method
initChecker
()
cel/env.go:890
↓ 2 callers
Function
int64ToUint64Checked
int64ToUint64Checked converts an int64 to a uint64 value. If the conversion fails due to overflow the error return value will be non-nil.
common/types/overflow.go:322
↓ 2 callers
Function
internalIsAssignableList
internalIsAssignableList returns true if the element types at each index in the list are assignable from l1[i] to l2[i]. The list lengths must also ag
checker/types.go:196
↓ 2 callers
Function
invalidOptionalEntryInit
(field any, value ref.Val)
interpreter/interpretable.go:1466
↓ 2 callers
Function
isASCIIDigit
(r rune)
ext/formatting.go:902
↓ 2 callers
Function
isComplexOperator
Indicates whether the expr is a complex operator, i.e., a call expression with 2 or more arguments.
parser/unparser.go:503
↓ 2 callers
Method
isConditional
isConditional returns true if the condition expression is not trivially true.
policy/composer.go:418
↓ 2 callers
Function
isDynOrError
isDynOrError returns true if the input is either an Error, DYN, or well-known ANY message.
checker/types.go:34
↓ 2 callers
Function
isError
(t *types.Type)
checker/types.go:38
↓ 2 callers
Function
isLateBoundFunctionCall
(ctx *OptimizerContext, expr ast.Expr)
cel/folding.go:171
↓ 2 callers
Function
isListLiteralWithNumericArgs
(arg ast.Expr)
ext/math.go:923
↓ 2 callers
Function
isNonNegativeInt
(expr ast.Expr)
conformance/conformance_test.go:407
↓ 2 callers
Method
isOptional
isOptional indicates whether the output step has an optional result. Individual conditional attributes are not optional; however, rules and subrules
policy/composer.go:412
↓ 2 callers
Method
isTypeInternal
isTypeInternal checks whether the two types are equivalent or exactly the same based on the checkTypeParamName flag.
common/types/types.go:292
↓ 2 callers
Method
joinTypes
Checks compatibility of joined types, and returns the most general common type.
checker/checker.go:616
↓ 2 callers
Function
jsonStruct
(t *testing.T, entries map[string]any)
common/types/pb/type_test.go:620
↓ 2 callers
Method
keySize
keySize returns the SizeEstimate for the key if one exists.
checker/cost.go:341
↓ 2 callers
Function
lastIndexOfOffset
(str, substr string, offset int64)
ext/strings.go:710
↓ 2 callers
Function
locationCodeEnvOption
()
tools/celtest/test_runner_test.go:83
↓ 2 callers
Method
lookupFieldType
(exprID int64, structType, fieldName string)
checker/checker.go:718
↓ 2 callers
Method
lookupGlobalIdent
lookupGlobalIdent finds a candidate variable name in the root scope, returning nil if the identifier is not in the global scope.
checker/env.go:214
↓ 2 callers
Method
lookupLocalIdent
lookupLocalIdent finds the variable candidate in a local scope, returning nil if the candidate variable name is not a local variable.
checker/env.go:208
↓ 2 callers
Function
makeMacroKey
(name string, args int, receiverStyle bool)
parser/macro.go:175
↓ 2 callers
Function
makeOptQualifier
(t testing.TB, attrs AttributeFactory, fieldType *types.Type, qualID int64, val any)
interpreter/attributes_test.go:1346
↓ 2 callers
Function
makeVarArgMacroKey
(name string, receiverStyle bool)
parser/macro.go:179
↓ 2 callers
Function
matchConstantFormatStringWithListLiteralArgs
matchConstantFormatStringWithListLiteralArgs matches all valid expression nodes for string format checking.
ext/formatting.go:473
↓ 2 callers
Function
matchLanguage
(locale string)
ext/formatting.go:250
↓ 2 callers
Function
matchSlot
(name string, slotCount int)
ext/bindings.go:350
↓ 2 callers
Method
matchesRuntimeSignature
matchesRuntimeSignature indicates whether the argument types are runtime assiganble to the overload's expected arguments.
common/decls/decls.go:809
↓ 2 callers
Method
maxHeight
(exprs ...Expr)
common/ast/ast.go:644
↓ 2 callers
Method
maybePrune
(node ast.Expr)
interpreter/prune.go:267
↓ 2 callers
Function
maybeQuoteField
(field string)
parser/unparser.go:72
↓ 2 callers
Method
member
(_p int)
parser/gen/cel_parser.go:2539
↓ 2 callers
Method
member
(_p int)
repl/parser/commands_parser.go:6497
↓ 2 callers
Function
missingIndex
(missing ref.Val)
interpreter/attributes.go:1444
↓ 2 callers
Function
mostGeneral
mostGeneral returns the more general of two types which are known to unify.
checker/types.go:241
↓ 2 callers
Function
msgWithExtensions
msgWithExtensions generates a new example message with all possible extensions set.
ext/protos_test.go:249
↓ 2 callers
Function
multiplyByCostFactor
multiplyByFactor multiplies an integer by a cost factor float and returns the nearest integer value, rounded up.
checker/cost.go:241
↓ 2 callers
Function
multiplyInt64Checked
multiplyInt64Checked performs multiplication with overflow detection of two int64 value. If the operation fails the error return value will be non-ni
common/types/overflow.go:60
↓ 2 callers
Function
mustAdaptToEntryExpr
(e *exprpb.Expr_CreateStruct_Entry)
cel/macro.go:556
↓ 2 callers
Function
mustAdaptToProtoEntry
(e ast.EntryExpr)
cel/macro.go:577
↓ 2 callers
Function
mustParseDuration
(s string)
ext/strings_test.go:454
↓ 2 callers
Function
nativeToValue
nativeToValue returns the converted (ref.Val, true) of a conversion is found, otherwise (nil, false)
common/types/provider.go:497
↓ 2 callers
Function
negateDurationChecked
negateDurationChecked performs negation with overflow detection of a time.Duration. If the operation fails due to overflow the error return value wil
common/types/overflow.go:185
↓ 2 callers
Function
negateInt64Checked
negateInt64Checked performs negation with overflow detection of an int64. If the operation fails the error return value will be non-nil.
common/types/overflow.go:49
↓ 2 callers
Function
newAttrResolution
newAttrResolution creates a new attribute resolution value.
checker/env.go:135
↓ 2 callers
Function
newConcatList
(adapter Adapter, prevList, nextList traits.Lister)
common/types/list.go:353
↓ 2 callers
Method
newExecutionFrame
newExecutionFrame creates an ExecutionFrame for the given input without a timeout context.
cel/program.go:374
↓ 2 callers
Function
newFieldDescription
newFieldDescription creates a new field description from a protoreflect.FieldDescriptor.
common/types/pb/type.go:159
↓ 2 callers
Function
newFolder
newFolder creates or initializes a pooled folder instance.
interpreter/interpretable.go:1475
↓ 2 callers
Function
newFunctionType
(resultType *types.Type, argTypes ...*types.Type)
checker/types.go:312
↓ 2 callers
Method
newGlobalCall
(ctx any, function string, args ...ast.Expr)
parser/helper.go:88
↓ 2 callers
Function
newGroup
newGroup creates a new Group with empty maps for identifiers and functions.
checker/scopes.go:167
↓ 2 callers
Function
newIDGenerator
newIDGenerator ensures that new ids are only created the first time they are encountered.
cel/optimizer.go:210
↓ 2 callers
Function
newListIterator
(listValue traits.Lister)
common/types/list.go:519
↓ 2 callers
Method
newLiteralBool
(ctx any, value bool)
parser/helper.go:52
↓ 2 callers
Method
newLogicManager
(function string, term ast.Expr)
parser/parser.go:890
↓ 2 callers
Function
newNavigableExpr
(ast *AST, parent NavigableExpr, expr Expr, depth int)
common/ast/navigable.go:269
↓ 2 callers
Function
newOverload
(overloadID string, memberFunction bool, args []*types.Type, resultType *types.Type, opts ...OverloadOpt)
common/decls/decls.go:565
↓ 2 callers
Function
newParseFormatError
(msg string, wrapped error)
ext/formatting.go:911
↓ 2 callers
Function
newRefValMapAccessor
(mapVal map[ref.Val]ref.Val)
common/types/map.go:528
↓ 2 callers
Function
newScopes
newScopes creates a new, empty Scopes. Some operations can't be safely performed until a Group is added with Push.
checker/scopes.go:34
↓ 2 callers
Function
newStdEnv
(t *testing.T)
checker/env_test.go:94
↓ 2 callers
Function
newTestParser
(t *testing.T, options ...Option)
parser/parser_test.go:2394
↓ 2 callers
Function
newValidatorConfig
newValidatorConfig initializes the validator config with default values for core CEL validators.
cel/validator.go:153
↓ 2 callers
Function
normalize
(s string)
policy/compiler_test.go:536
← previous
next →
1,201–1,300 of 7,240, ranked by callers