MCPcopy Create free account

hub / github.com/cel-expr/cel-go / functions

Functions9,178 in github.com/cel-expr/cel-go

MethodOptimize
Optimize implements an AST optimizer for CEL which composes an expression graph into a single expression value.
policy/composer.go:163
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
policy/composer.go:328
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
ext/sets.go:138
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
cel/optimizer_test.go:273
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
cel/optimizer_test.go:289
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
cel/optimizer_test.go:308
MethodOptimize
Optimize queries the expression graph for scalar and aggregate literal expressions within call and select statements and then evaluates them and repla
cel/folding.go:85
MethodOptimize
(ctx *OptimizerContext, a *ast.AST)
cel/inlining.go:78
MethodOptimize
(ctx *OptimizerContext, a *ast.AST)
cel/folding_test.go:1919
MethodOptimize
(ctx *cel.OptimizerContext, a *ast.AST)
common/cost/cost_bounds_test.go:915
FunctionOptimizeRegex
OptimizeRegex provides a way to replace the InterpretableCall for regex functions. This can be used to compile regex string constants at program creat
cel/options.go:576
MethodOption
()
repl/evaluator_test.go:450
MethodOption
()
repl/evaluator.go:347
MethodOption
()
repl/evaluator.go:1050
MethodOption
()
repl/evaluator.go:1058
MethodOption
()
repl/evaluator.go:1073
MethodOption
()
repl/evaluator.go:1090
MethodOption
()
repl/evaluator.go:1104
MethodOptionalIndices
()
common/ast/expr.go:647
MethodOptionalIndices
()
common/ast/navigable.go:466
MethodOutputType
OutputType returns the cel.Type associated with output expression.
policy/compiler.go:169
MethodOverload
Overload returns the specific overload ID being invoked.
interpreter/async.go:60
MethodOverload
Overload returns the specific overload ID being invoked.
interpreter/async.go:293
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:506
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:571
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:612
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:688
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:777
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:881
MethodOverloadID
OverloadID implements the InterpretableCall interface method.
interpreter/interpretable.go:914
MethodOverloadID
()
common/cost/tracker_test.go:38
MethodOverloadID
()
common/cost/model_test.go:1347
MethodOverloadIds
OverloadIds implements the Dispatcher interface method.
interpreter/dispatcher.go:83
MethodPARAM_SPECIFIER
Getter signatures
repl/parser/commands_parser.go:3884
MethodPARAM_SPECIFIER
()
repl/parser/commands_parser.go:3922
MethodPERCENT
()
parser/gen/cel_parser.go:1457
MethodPERCENT
()
parser/gen/cel_parser.go:1567
MethodPERCENT
()
repl/parser/commands_parser.go:5415
MethodPERCENT
()
repl/parser/commands_parser.go:5525
MethodPLUS
()
parser/gen/cel_parser.go:1458
MethodPLUS
()
parser/gen/cel_parser.go:1571
MethodPLUS
()
repl/parser/commands_parser.go:5416
MethodPLUS
()
repl/parser/commands_parser.go:5529
MethodParam
(i int)
repl/parser/commands_parser.go:1598
MethodParam
(i int)
repl/parser/commands_parser.go:1723
MethodParamId
()
repl/parser/commands_parser.go:3530
MethodParent
()
interpreter/activation.go:48
MethodParent
Parent implements the Activation interface method.
interpreter/activation.go:98
MethodParent
Parent implements the Activation interface method.
interpreter/activation.go:147
MethodParent
()
interpreter/interpreter_test.go:3103
MethodParent
Parent implements the Activation interface by proxying to the parent frame or scope.
interpreter/frame.go:282
MethodParent
Parent returns the parent activation outside the block.
ext/bindings.go:268
MethodParent
Parent implements the Activation interface.
ext/bindings.go:345
MethodParent
()
common/ast/navigable.go:315
MethodParent
()
fuzzing/fuzz_interpreter_test.go:111
FunctionParse
Parse converts a source input a parsed expression. This function calls ParseWithMacros with AllMacros. Deprecated: Use NewParser().Parse() instead.
parser/parser.go:125
MethodParse
Parse parses the expression represented by source and returns the result.
parser/antlr_parser.go:40
MethodParse
Parse parses the expression represented by source using the Pratt parser and returns the result.
parser/pratt_parser.go:108
MethodParse
()
repl/parser/commands_parser.go:670
MethodParseMatch
ParseMatch will parse the current yaml node as though it is the entry point to a match.
policy/parser.go:901
MethodParsePolicy
ParsePolicy will parse the target yaml node as though it is the top-level policy.
policy/parser.go:452
FunctionParsePolicyVariables
(metadata map[string]any)
tools/celtest/test_runner_test.go:131
MethodParseTextproto
ParseTextproto implements the ParseTextproto method of the TestSuiteParser interface.
tools/celtest/test_runner_test.go:231
MethodParseTextproto
ParseTextproto parses a test suite file in Textproto format.
tools/celtest/test_runner.go:258
MethodParseVariable
ParseVariable will parse the current yaml node as though it is the entry point to a variable.
policy/parser.go:461
MethodParseYAML
ParseYAML implements the ParseYAML method of the TestSuiteParser interface.
tools/celtest/test_runner_test.go:236
MethodParseYAML
ParseYAML parses a test suite file in YAML format.
tools/celtest/test_runner.go:275
MethodPath
()
common/cost/standard_test.go:283
MethodPath
Path returns the field path to the node, if known.
common/cost/estimator.go:72
MethodPolicyCompilerOptions
PolicyCompilerOptions returns the policy compiler options configured in the compiler.
tools/compiler/compiler.go:171
MethodPolicyMetadataEnvOptions
PolicyMetadataEnvOptions returns the policy metadata environment options configured in the compiler.
tools/compiler/compiler.go:176
MethodPolicyTag
(ctx policy.ParserContext, id int64, tagName string, node *yaml.Node, p *policy.Policy)
tools/celtest/test_runner_test.go:159
MethodPolicyTag
(ctx ParserContext, id int64, tagName string, node *yaml.Node, p *Policy)
policy/parser_test.go:416
MethodPolicyTag
(ctx ParserContext, id int64, tagName string, node *yaml.Node, p *Policy)
policy/parser.go:495
MethodPolicyTag
(ctx ParserContext, id int64, tagName string, node *yaml.Node, policy *Policy)
policy/test_tag_handler_k8s.go:31
MethodPresenceTest
PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
cel/macro.go:511
MethodPrimary
()
parser/gen/cel_parser.go:2398
MethodPrimary
()
repl/parser/commands_parser.go:6356
MethodProgramOptions
ProgramOptions implements the Library interface method.
ext/strings.go:619
MethodProgramOptions
()
ext/bindings.go:109
MethodProgramOptions
ProgramOptions implements the Library interface method.
ext/sets.go:127
MethodProgramOptions
ProgramOptions implements the cel.Library interface method
ext/comprehensions.go:238
MethodProgramOptions
ProgramOptions implements the Library interface method.
ext/lists.go:493
MethodProgramOptions
ProgramOptions implements the Library interface method.
ext/math.go:600
MethodProgramOptions
ProgramOptions implements the Library interface method.
ext/protos.go:101
MethodProgramOptions
()
ext/encoders.go:290
MethodProgramOptions
ProgramOptions implements the cel.Library interface method
ext/regex.go:167
MethodProgramOptions
()
ext/network.go:321
MethodProgramOptions
ProgramOptions returns program options for HMAC extensions.
ext/security/hmac/hmac.go:266
MethodProgramOptions
ProgramOptions returns program options for JWT extensions.
ext/security/jwt/jwt.go:232
MethodProgramOptions
()
cel/timestamp_legacy.go:36
MethodProgramOptions
ProgramOptions returns function implementations for the standard CEL functions.
cel/library.go:216
MethodProgramOptions
ProgramOptions implements the Library interface method.
cel/library.go:725
MethodProgramOptions
()
cel/library.go:1088
MethodProgramOptions
()
cel/cost_test.go:879
MethodProgramOptions
()
examples/example_cel_custom_functions_test.go:102
MethodProgramOptions
()
conformance/conformance_test.go:358
MethodProtoMessage
()
test/proto3pb/test_all_types.pb.go:214
MethodProtoMessage
()
test/proto3pb/test_all_types.pb.go:664
MethodProtoMessage
()
test/proto3pb/test_all_types.pb.go:725
← previousnext →6,401–6,500 of 9,178, ranked by callers