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
observeAll
observeAll returns an EvalObserver which reports each observation to all of the observers.
interpreter/planner.go:103
↓ 1 callers
Function
operandLiteral
operandLiteral returns the value of an Arg or Target operand which is a literal.
common/cost/helper.go:115
↓ 1 callers
Method
operandNode
(e QuantityExpr)
common/cost/helper.go:111
↓ 1 callers
Function
optString
(m map[string]any, key string)
ext/security/jwt/jwt.go:426
↓ 1 callers
Method
optimizeRule
(ctx *cel.OptimizerContext, r *CompiledRule, asList bool)
policy/composer.go:188
↓ 1 callers
Function
optionalChainExprs
optionalChainExprs are chains which stop at the optional itself.
common/cost/cost_bounds_test.go:410
↓ 1 callers
Function
optionalExprs
optionalExprs returns optional `or` / `orValue` chains to check. These short-circuit: the receiver is always evaluated, but every alternative after i
common/cost/cost_bounds_test.go:405
↓ 1 callers
Function
optionalLiteralValue
optionalLiteralValue returns the value an optional list element contributes: nothing for optional.none(), the argument of optional.of(x) or optional.o
common/cost/default_strategy.go:535
↓ 1 callers
Function
optionalValueOf
optionalValueOf reports whether value is an optional, and if so returns the value it holds, or nil when the optional is empty.
common/cost/default_strategy.go:290
↓ 1 callers
Function
optionalValueSize
optionalValueSize returns the size of the value being compared, unwrapping nested optional values to the value they contain, and reporting a size of 1
cel/library.go:784
↓ 1 callers
Method
optionalValueSize
optionalValueSize estimates the value an optional-typed expression holds from the size hints for its path and the value's type.
common/cost/estimator.go:675
↓ 1 callers
Function
overlappingIdentifierError
(name string)
checker/env.go:374
↓ 1 callers
Function
overlappingMacroError
(name string, argCount int)
checker/env.go:378
↓ 1 callers
Function
packAny
(t *testing.T, m proto.Message)
common/types/pb/equal_test.go:357
↓ 1 callers
Method
parse
(expr runes.Buffer, desc string)
parser/antlr_parser.go:249
↓ 1 callers
Method
parse
()
parser/pratt_parser.go:445
↓ 1 callers
Function
parseAndComposeRule
(t testing.TB, policyYAML, filename string, composerOpts ...ComposerOption)
policy/composer_test.go:293
↓ 1 callers
Function
parseAndFormatClause
parseAndFormatClause parses the format clause at the start of the given string with val, and returns how many characters were consumed and the substit
ext/formatting.go:831
↓ 1 callers
Function
parseAndFormatClauseV2
parseAndFormatClause parses the format clause at the start of the given string with val, and returns how many characters were consumed and the substit
ext/formatting_v2.go:721
↓ 1 callers
Method
parseBytesLiteral
()
parser/pratt_parser.go:1117
↓ 1 callers
Method
parseConcreteType
()
common/env/io.go:270
↓ 1 callers
Function
parseCustomPolicyVariableType
(t string)
tools/celtest/test_runner_test.go:139
↓ 1 callers
Method
parseDoubleLiteral
()
parser/pratt_parser.go:1085
↓ 1 callers
Function
parseEnv
(t *testing.T, name, path string)
tools/compiler/compiler_test.go:353
↓ 1 callers
Function
parseFormattingClause
(formatStr string, callback formatStringInterpolator, maxPrecision int)
ext/formatting.go:846
↓ 1 callers
Function
parseFormattingClauseV2
(formatStr string, callback formatStringInterpolatorV2, maxPrecision int)
ext/formatting_v2.go:736
↓ 1 callers
Method
parseIdentOrCall
(canBeStructName *bool)
parser/pratt_parser.go:968
↓ 1 callers
Method
parseIdentifier
()
common/env/io.go:339
↓ 1 callers
Method
parseImport
(ctx ParserContext, _ *Policy, node *yaml.Node)
policy/parser.go:780
↓ 1 callers
Method
parseImports
(ctx ParserContext, policy *Policy, node *yaml.Node)
policy/parser.go:770
↓ 1 callers
Method
parseIntLiteral
()
parser/pratt_parser.go:1037
↓ 1 callers
Method
parseList
()
parser/pratt_parser.go:899
↓ 1 callers
Method
parseLogicalChain
parseLogicalChain parses a run of '&&' or '||' operators following lhs, which is lhsDepth deep, and leaves the depth of the resulting expression in la
parser/pratt_parser.go:546
↓ 1 callers
Method
parseMap
()
parser/pratt_parser.go:932
↓ 1 callers
Method
parseMatches
(ctx ParserContext, policy *Policy, r *Rule, node *yaml.Node)
policy/parser.go:890
↓ 1 callers
Method
parseNamespaceIdentifier
()
common/env/io.go:314
↓ 1 callers
Method
parseNegativeDoubleLiteral
(opID int64)
parser/pratt_parser.go:1096
↓ 1 callers
Method
parseNegativeIntLiteral
(opID int64)
parser/pratt_parser.go:1053
↓ 1 callers
Function
parsePrecision
(formatStr string, maxPrecision int)
ext/formatting.go:875
↓ 1 callers
Function
parsePrecisionV2
(formatStr string, maxPrecision int)
ext/formatting_v2.go:765
↓ 1 callers
Method
parsePrimary
(canBeStructName *bool)
parser/pratt_parser.go:812
↓ 1 callers
Method
parseSelectorChain
()
parser/pratt_parser.go:560
↓ 1 callers
Method
parseSignaturePrefix
(sig string)
ext/security/hmac/hmac.go:365
↓ 1 callers
Method
parseStringLiteral
()
parser/pratt_parser.go:1106
↓ 1 callers
Method
parseStruct
(objID int64, structName string)
parser/pratt_parser.go:706
↓ 1 callers
Method
parseTernary
parseTernary parses the branches of a conditional whose condition, lhs, is condDepth deep, and leaves the depth of the conditional in lastParsedDepth.
parser/pratt_parser.go:526
↓ 1 callers
Method
parseTypeParamIdent
()
common/env/io.go:360
↓ 1 callers
Method
parseUintLiteral
()
parser/pratt_parser.go:1068
↓ 1 callers
Method
parseUnaryOps
()
parser/pratt_parser.go:743
↓ 1 callers
Method
parseVariableInline
(ctx ParserContext, _ *Policy, v *Variable, node *yaml.Node)
policy/parser.go:857
↓ 1 callers
Method
parseVariableObject
(ctx ParserContext, policy *Policy, v *Variable, node *yaml.Node)
policy/parser.go:873
↓ 1 callers
Method
parseVariables
(ctx ParserContext, policy *Policy, r *Rule, node *yaml.Node)
policy/parser.go:834
↓ 1 callers
Method
parseYAML
(src *Source)
policy/parser.go:596
↓ 1 callers
Method
parseYAMLConfig
(conf []byte)
repl/evaluator.go:917
↓ 1 callers
Method
planCall
planCall creates a callable Interpretable while specializing for common functions and invocation patterns. Specifically, conditional operators &&, ||,
interpreter/planner.go:257
↓ 1 callers
Method
planCallAsync
planCallAsync generates an asynchronous callable Interpretable.
interpreter/planner.go:364
↓ 1 callers
Method
planCallBinary
planCallBinary generates a binary callable Interpretable.
interpreter/planner.go:426
↓ 1 callers
Method
planCallConditional
planCallConditional generates a conditional / ternary (c ? t : f) Interpretable.
interpreter/planner.go:517
↓ 1 callers
Method
planCallEqual
planCallEqual generates an equals (==) Interpretable.
interpreter/planner.go:483
↓ 1 callers
Method
planCallIndex
planCallIndex either extends an attribute with the argument to the index operation, or creates a relative attribute based on the return of a function
interpreter/planner.go:545
↓ 1 callers
Method
planCallLateBound
planCallLateBound generates a late-bound callable Interpretable.
interpreter/planner.go:342
↓ 1 callers
Method
planCallLogicalAnd
planCallLogicalAnd generates a logical and (&&) Interpretable.
interpreter/planner.go:501
↓ 1 callers
Method
planCallLogicalOr
planCallLogicalOr generates a logical or (||) Interpretable.
interpreter/planner.go:509
↓ 1 callers
Method
planCallNotEqual
planCallNotEqual generates a not equals (!=) Interpretable.
interpreter/planner.go:492
↓ 1 callers
Method
planCallUnary
planCallUnary generates a unary callable Interpretable.
interpreter/planner.go:398
↓ 1 callers
Method
planCallVarArgs
planCallVarArgs generates a variable argument callable Interpretable.
interpreter/planner.go:455
↓ 1 callers
Method
planCallZero
planCallZero generates a zero-arity callable Interpretable.
interpreter/planner.go:382
↓ 1 callers
Method
planComprehension
planComprehension generates an Interpretable fold operation.
interpreter/planner.go:677
↓ 1 callers
Method
planConst
planConst generates a constant valued Interpretable.
interpreter/planner.go:815
↓ 1 callers
Method
planCreateList
planCreateList generates a list construction Interpretable.
interpreter/planner.go:580
↓ 1 callers
Method
planCreateMap
planCreateStruct generates a map or object construction Interpretable.
interpreter/planner.go:609
↓ 1 callers
Method
planCreateStruct
planCreateObj generates an object construction Interpretable.
interpreter/planner.go:643
↓ 1 callers
Method
planIdent
planIdent creates an Interpretable that resolves an identifier from an Activation.
interpreter/planner.go:153
↓ 1 callers
Method
planSelect
planSelect creates an Interpretable with either: a) selects a field from a map or proto. b) creates a field presence test for a select within a has
interpreter/planner.go:201
↓ 1 callers
Method
pop
()
cel/fieldpaths.go:45
↓ 1 callers
Method
popIgnored
(prev int)
common/ast/equiv.go:175
↓ 1 callers
Method
popLocalVars
(names ...string)
interpreter/planner.go:964
↓ 1 callers
Function
primitiveType
(primitive celpb.Type_PrimitiveType)
common/types/types.go:851
↓ 1 callers
Function
printCoverageReport
(t *testing.T, exprString string, cr *coverageReport)
tools/celtest/test_coverage_reporter.go:129
↓ 1 callers
Function
propagateVisitedness
propagateVisitedness implements two rules for extending the coverage report: - If a node is visited, all its ancestors are visited. - If a node is vis
tools/celtest/test_runner.go:1072
↓ 1 callers
Function
protoCall
(id int64, call CallExpr)
common/ast/conversion.go:327
↓ 1 callers
Function
protoComprehension
(id int64, comp ComprehensionExpr)
common/ast/conversion.go:356
↓ 1 callers
Function
protoDeclToFunctionsAndVariables
(declarations []*celpb.Decl)
tools/compiler/compiler.go:339
↓ 1 callers
Function
protoIdent
(id int64, name string)
common/ast/conversion.go:394
↓ 1 callers
Function
protoList
(id int64, list ListExpr)
common/ast/conversion.go:405
↓ 1 callers
Function
protoLiteral
(id int64, val ref.Val)
common/ast/conversion.go:425
↓ 1 callers
Function
protoMap
(id int64, m MapExpr)
common/ast/conversion.go:438
↓ 1 callers
Function
protoMapEntry
(id int64, e MapEntry)
common/ast/conversion.go:457
↓ 1 callers
Function
protoSelect
(id int64, s SelectExpr)
common/ast/conversion.go:476
↓ 1 callers
Function
protoStruct
(id int64, s StructExpr)
common/ast/conversion.go:493
↓ 1 callers
Function
protoStructField
(id int64, f StructField)
common/ast/conversion.go:513
↓ 1 callers
Method
prune
(node ast.Expr)
interpreter/prune.go:271
↓ 1 callers
Function
pruneDuplicateDecls
(conf *env.Config)
repl/evaluator.go:835
↓ 1 callers
Function
pruneOptionalElements
pruneOptionalElements works from the bottom up to resolve optional elements within aggregate literals. Note, many aggregate literals will be resolved
cel/folding.go:343
↓ 1 callers
Function
pruneOptionalListElements
(ctx *OptimizerContext, e ast.Expr)
cel/folding.go:357
↓ 1 callers
Function
pruneOptionalMapEntries
(ctx *OptimizerContext, e ast.Expr)
cel/folding.go:394
↓ 1 callers
Function
pruneOptionalStructFields
(ctx *OptimizerContext, e ast.Expr)
cel/folding.go:438
↓ 1 callers
Function
ptr
(v T)
common/cost/optional_test.go:179
↓ 1 callers
Method
push
(pathStep string, celType *Type)
cel/fieldpaths.go:40
↓ 1 callers
Method
pushIgnored
(comp1, comp2 ComprehensionExpr)
common/ast/equiv.go:151
← previous
next →
3,401–3,500 of 9,178, ranked by callers