Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ functions
Functions
9,178 in github.com/cel-expr/cel-go
⨍
Functions
9,178
◇
Types & classes
1,189
↓ 1 callers
Function
testEnvs
(t testing.TB)
checker/checker_test.go:2456
↓ 1 callers
Function
testExprTypeToType
(t testing.TB, fieldType *exprpb.Type)
interpreter/attributes_test.go:1556
↓ 1 callers
Function
testMathCostsEnv
(t *testing.T, version int, opts ...cel.EnvOption)
ext/math_test.go:672
↓ 1 callers
Function
testMerge
(t *testing.T, funcs ...*FunctionDecl)
common/decls/decls_test.go:1536
↓ 1 callers
Function
testPackAny
(t *testing.T, val proto.Message)
common/types/null_test.go:139
↓ 1 callers
Function
testRunnerCompilerFromFlags
(testCompilerOpts ...any)
tools/celtest/test_runner.go:213
↓ 1 callers
Function
testSliceListType
(t *testing.T, adapter Adapter, slice []T, matchVal, mismatchVal, altMatchVal, get0Val ref.Val)
common/types/list_test.go:1711
↓ 1 callers
Function
timestampGetDayOfMonthOneBased
(ts, tz ref.Val)
common/stdlib/standard.go:1002
↓ 1 callers
Function
timestampGetDayOfMonthZeroBased
(ts, tz ref.Val)
common/stdlib/standard.go:994
↓ 1 callers
Function
timestampGetDayOfWeek
(ts, tz ref.Val)
common/stdlib/standard.go:1010
↓ 1 callers
Function
timestampGetDayOfYear
(ts, tz ref.Val)
common/stdlib/standard.go:986
↓ 1 callers
Function
timestampGetFullYear
(ts, tz ref.Val)
common/stdlib/standard.go:968
↓ 1 callers
Function
timestampGetHours
(ts, tz ref.Val)
common/stdlib/standard.go:1018
↓ 1 callers
Function
timestampGetMilliseconds
(ts, tz ref.Val)
common/stdlib/standard.go:1042
↓ 1 callers
Function
timestampGetMinutes
(ts, tz ref.Val)
common/stdlib/standard.go:1026
↓ 1 callers
Function
timestampGetMonth
(ts, tz ref.Val)
common/stdlib/standard.go:976
↓ 1 callers
Function
timestampGetSeconds
(ts, tz ref.Val)
common/stdlib/standard.go:1034
↓ 1 callers
Function
toInt64Key
(key ref.Val)
common/types/map.go:564
↓ 1 callers
Method
toQualifiedName
toQualifiedName converts an expression AST into a qualified name if possible, with a boolean 'found' value that indicates if the conversion is success
interpreter/planner.go:925
↓ 1 callers
Function
toUint64Key
(key ref.Val)
common/types/map.go:577
↓ 1 callers
Function
trackCostCreateList
(frame *ExecutionFrame, id int64, res ref.Val)
interpreter/interpretable.go:2191
↓ 1 callers
Function
trackCostCreateMap
(frame *ExecutionFrame, id int64, res ref.Val)
interpreter/interpretable.go:2197
↓ 1 callers
Function
trackCostCreateStruct
(frame *ExecutionFrame, id int64, res ref.Val)
interpreter/interpretable.go:2203
↓ 1 callers
Function
trackEvalPasses
(count *atomic.Int32)
cel/program_async_test.go:1146
↓ 1 callers
Function
trackPtr
(u uint64)
common/cost/cost_test.go:706
↓ 1 callers
Function
trackSetsCost
(costFactor float64)
ext/sets.go:246
↓ 1 callers
Function
trackerCompiler
(opts ...ModelOption)
common/cost/version.go:156
↓ 1 callers
Function
trimBearerPrefix
(tokenStr string)
ext/security/jwt/jwt.go:433
↓ 1 callers
Function
trimSpace
(str string)
ext/strings.go:770
↓ 1 callers
Method
tryFold
tryFold attempts to evaluate a sub-expression to a literal. If the evaluation succeeds, the input expr value will be modified to become a literal, ot
cel/folding.go:153
↓ 1 callers
Method
typeDefToType
()
common/types/pb/type.go:416
↓ 1 callers
Method
typeDoesNotSupportFieldSelection
(id int64, l common.Location, t *types.Type)
checker/errors.go:85
↓ 1 callers
Method
typeMismatch
(iss *Issues, id int64, expected, actual *Type)
cel/validator.go:433
↓ 1 callers
Function
uint64ToUint16Checked
uint64ToUint16Checked converts a uint64 to a uint16 value. If the conversion fails due to overflow the error return value will be non-nil.
common/types/overflow.go:372
↓ 1 callers
Function
uint64ToUint32Checked
uint64ToUint32Checked converts a uint64 to a uint32 value. If the conversion fails due to overflow the error return value will be non-nil.
common/types/overflow.go:382
↓ 1 callers
Function
uint64ToUint8Checked
uint64ToUint8Checked converts a uint64 to a uint8 value. If the conversion fails due to overflow the error return value will be non-nil.
common/types/overflow.go:362
↓ 1 callers
Function
unboundedCostModel
unboundedCostModel charges the maximum cost and reports an unbounded result size for JSON and YAML functions: encoding traverses an arbitrary containe
ext/encoders.go:1147
↓ 1 callers
Method
undefinedField
(id int64, l common.Location, field string)
checker/errors.go:94
↓ 1 callers
Function
unescapeChar
unescapeChar takes a string input and returns the following info: value - the escaped unicode rune at the front of the string. encode - the value s
parser/unescape.go:104
↓ 1 callers
Function
unescapeIdent
(in string)
parser/antlr_parser.go:77
↓ 1 callers
Method
unexpectedASTType
(id int64, l common.Location, kind, typeName string)
checker/errors.go:185
↓ 1 callers
Method
unexpectedFailedResolution
(id int64, l common.Location, typeName string)
checker/errors.go:181
↓ 1 callers
Function
unhex
(b byte)
parser/unescape.go:222
↓ 1 callers
Function
unixTimeFromFloat
(f float64)
common/types/timestamp.go:328
↓ 1 callers
Function
unknownActivation
(vars ...string)
interpreter/prune_test.go:558
↓ 1 callers
Function
unknownSize
()
ext/lists.go:1110
↓ 1 callers
Function
unknownsEquivalent
(t *testing.T, a *types.Unknown, b *types.Unknown)
cel/cel_test.go:3907
↓ 1 callers
Function
unmarshalJSON
(t *testing.T, data []byte)
common/env/env_test.go:1652
↓ 1 callers
Function
unmarshalYAML
(t *testing.T, data []byte)
common/env/env_test.go:1643
↓ 1 callers
Function
unnest
unnest traverses down the left-hand side of the parse graph until it encounters the first compound parse node or the first leaf in the parse graph.
parser/antlr_parser.go:929
↓ 1 callers
Function
unsupportedTypeConversionError
(field *pb.FieldDescription, val ref.Val)
common/types/provider.go:1096
↓ 1 callers
Method
update
(env *cel.Env)
repl/evaluator.go:219
↓ 1 callers
Method
updateImpl
(env *cel.Env)
repl/evaluator.go:137
↓ 1 callers
Function
updateRunfilesPathForFlags
(testResourcesDir string)
tools/celtest/test_runner.go:75
↓ 1 callers
Function
upperASCII
(str string)
ext/strings.go:774
↓ 1 callers
Function
upperCamelCase
(s string)
common/types/map.go:1517
↓ 1 callers
Method
valToFoldAny
(v V)
common/types/map.go:701
↓ 1 callers
Function
validateIdentifier
(expr ast.Expr)
ext/protos.go:142
↓ 1 callers
Function
validatePriors
(m OverloadModel)
common/cost/validate.go:93
↓ 1 callers
Function
validateStrictJSON
(v any, t reflect.Type)
common/env/io.go:409
↓ 1 callers
Method
validatedDeclarations
validatedDeclarations returns a reference to the validated variable and function declaration scope stack. must be copied before use.
checker/env.go:338
↓ 1 callers
Function
validatorIntConfig
(val *env.Validator, configKey string)
cel/validator.go:610
↓ 1 callers
Function
valueToJSON
valueToJSON converts the CEL type to a protobuf JSON representation and marshals the result to a string.
codelab/solution/codelab.go:515
↓ 1 callers
Function
valueToRefValue
(v *exprpb.Value)
fuzzing/fuzz_interpreter_test.go:46
↓ 1 callers
Function
variableDeclToExprDecl
variableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration.
common/decls/decls.go:1200
↓ 1 callers
Function
variadicLogicalOperatorASTs
variadicLogicalOperatorASTs flatten like-operator chained logical expressions into a single variadic call with N-terms. This behavior is useful when s
cel/options.go:261
↓ 1 callers
Method
verifyBytes
(msg, sig, secret []byte, alg string)
ext/security/hmac/hmac.go:310
↓ 1 callers
Function
verifySourceInfoTransfer
verifySourceInfoTransfer checks that each offset range in the compiledRule has a corresponding node in composed
policy/composer_test.go:212
↓ 1 callers
Method
verifyString
(sub ast.Expr)
ext/formatting_v2.go:565
↓ 1 callers
Method
verifyString
(sub ast.Expr)
ext/formatting.go:625
↓ 1 callers
Method
verifyString
(msgStr, sigStr, secretStr, alg string)
ext/security/hmac/hmac.go:322
↓ 1 callers
Method
violated
violated returns true if the tracked cost fell outside the estimated range.
common/cost/cost_bounds_test.go:98
↓ 1 callers
Function
visit
(expr ast.Expr, visitor astVisitor)
interpreter/prune.go:515
↓ 1 callers
Method
visitCall
(expr ast.Expr)
parser/unparser.go:151
↓ 1 callers
Method
visitCallBinary
(expr ast.Expr)
parser/unparser.go:193
↓ 1 callers
Method
visitCallConditional
(expr ast.Expr)
parser/unparser.go:220
↓ 1 callers
Method
visitCallFunc
(expr ast.Expr)
parser/unparser.go:248
↓ 1 callers
Method
visitCallIndex
(expr ast.Expr)
parser/unparser.go:277
↓ 1 callers
Method
visitCallOptIndex
(expr ast.Expr)
parser/unparser.go:281
↓ 1 callers
Method
visitCallUnary
(expr ast.Expr)
parser/unparser.go:302
↓ 1 callers
Method
visitConst
(expr ast.Expr)
parser/unparser.go:366
↓ 1 callers
Method
visitConstVal
(val ref.Val)
parser/unparser.go:315
↓ 1 callers
Method
visitIdent
(expr ast.Expr)
parser/unparser.go:374
↓ 1 callers
Method
visitList
(expr ast.Expr)
parser/unparser.go:379
↓ 1 callers
Method
visitListInit
(ctx gen.IListInitContext)
parser/antlr_parser.go:758
↓ 1 callers
Method
visitMaybeMacroCall
(expr ast.Expr)
parser/unparser.go:488
↓ 1 callers
Method
visitOptSelect
(expr ast.Expr)
parser/unparser.go:403
↓ 1 callers
Method
visitSelect
(expr ast.Expr)
parser/unparser.go:411
↓ 1 callers
Method
visitSlice
(expressions []gen.IExprContext)
parser/antlr_parser.go:782
↓ 1 callers
Method
visitStructMap
(expr ast.Expr)
parser/unparser.go:460
↓ 1 callers
Method
visitStructMsg
(expr ast.Expr)
parser/unparser.go:434
↓ 1 callers
Function
wrapInParens
(inner string, count int)
parser/parser_test.go:3147
↓ 1 callers
Function
yamlParseString
(adapter types.Adapter, str string)
ext/encoders.go:1043
↓ 1 callers
Function
yamlParseWithType
(adapter types.Adapter, provider types.Provider, str string, targetType ref.Type)
ext/encoders.go:1054
↓ 1 callers
Function
zeroValueExpr
zeroValueExpr creates an expression representing the empty or zero value for the given type Note: bytes, lists, maps, and strings are supported via th
cel/inlining.go:192
Method
ARROW
()
repl/parser/commands_parser.go:969
Method
ARROW
()
repl/parser/commands_parser.go:1044
Method
Accept
(visitor antlr.ParseTreeVisitor)
parser/gen/cel_parser.go:368
Method
Accept
(visitor antlr.ParseTreeVisitor)
parser/gen/cel_parser.go:590
Method
Accept
(visitor antlr.ParseTreeVisitor)
parser/gen/cel_parser.go:843
← previous
next →
3,601–3,700 of 9,178, ranked by callers