MCPcopy Create free account

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

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

↓ 1 callersFunctionAlgorithm
Algorithm registers a crypto.Hash algorithm with optional aliases (e.g. Algorithm(crypto.SHA256, "HS256")), exposing constant declarations (e.g., hmac
ext/security/hmac/hmac.go:73
↓ 1 callersMethodAlias
Alias returns the alias to use when performing cel.bind() calls during inlining.
cel/inlining.go:40
↓ 1 callersFunctionAlphaProtoAsDeclaration
AlphaProtoAsDeclaration converts a v1alpha1.Decl value describing a variable or function into an EnvOption.
cel/decls.go:411
↓ 1 callersFunctionAlphaProtoAsType
AlphaProtoAsType converts a CEL v1alpha1.Type protobuf type to a CEL-native type representation.
common/types/types.go:709
↓ 1 callersFunctionAlphaProtoAsValue
AlphaProtoAsValue converts between google.api.expr.v1alpha1.Value and ref.Val.
cel/io.go:321
↓ 1 callersFunctionAlphaProtoConstantAsVal
AlphaProtoConstantAsVal converts a v1alpha1.Constant protobuf to a CEL-native ref.Val.
common/ast/conversion.go:669
↓ 1 callersMethodArg
Arg returns the size estimate for the argument at index.
common/cost/model.go:1354
↓ 1 callersMethodArg
Arg returns the runtime size of the argument at index.
common/cost/model.go:1562
↓ 1 callersMethodArgType
ArgType returns the type of the argument at index.
common/cost/model.go:1415
↓ 1 callersMethodArgType
ArgType returns the type of the argument at index.
common/cost/model.go:1497
↓ 1 callersMethodArgVal
ArgVal returns the value of the argument at index.
common/cost/model.go:1534
↓ 1 callersMethodArgValue
ArgValue returns the uint64 value of the argument at index, or defaultVal if not a literal int/uint.
common/cost/model.go:1423
↓ 1 callersMethodArgValue
ArgValue returns the uint64 value of the argument at index, or defaultVal.
common/cost/model.go:1467
↓ 1 callersMethodArgs
Args returns the argument Interpretables for the function call.
interpreter/async.go:88
↓ 1 callersMethodArgs
()
common/ast/expr.go:500
↓ 1 callersFunctionArity
Arity returns the number of argument the operator takes -1 is returned if an undefined symbol is provided
common/operators/operators.go:151
↓ 1 callersMethodAsPartialActivation
AsPartialActivation implements the PartialActivation interface by proxying to the internal scope or parent.
interpreter/frame.go:305
↓ 1 callersFunctionAsyncCallObserver
AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.
cel/options.go:817
↓ 1 callersFunctionAsyncCompletionBufferSize
AsyncCompletionBufferSize sets the size of the buffer for the async completion channel. By default, the channel is unbuffered.
cel/options.go:826
↓ 1 callersFunctionAsyncMaxConcurrency
AsyncMaxConcurrency sets the maximum number of concurrently launched async calls during ConcurrentEval. This bounds the number of in-flight async goro
cel/options.go:840
↓ 1 callersFunctionAuthoringPromptWithFieldPaths
AuthoringPromptWithFieldPaths creates a prompt template from a CEL environment for the purpose of AI-assisted authoring. Includes documentation for al
cel/prompt.go:85
↓ 1 callersFunctionBase64Encode
Base64Encode encodes a byte slice into a standard base64 string.
ext/encoders.go:375
↓ 1 callersMethodBinary
Binary takes a ref.Val and a string representing the current locale identifier and returns the Val formatted as a binary integer, or an error if one o
ext/formatting.go:760
↓ 1 callersMethodBuffer
Buffer pushes an expression into an internal queue of expressions to write to a string.
common/debug/debug.go:43
↓ 1 callersFunctionCELLexerInit
CELLexerInit initializes any static state used to implement CELLexer. By default the static state used to implement the lexer is lazily initialized du
parser/gen/cel_lexer.go:289
↓ 1 callersFunctionCELParserInit
CELParserInit initializes any static state used to implement CELParser. By default the static state used to implement the parser is lazily initialized
parser/gen/cel_parser.go:187
↓ 1 callersMethodCalc_Sempred
(localctx antlr.RuleContext, predIndex int)
parser/gen/cel_parser.go:6170
↓ 1 callersMethodCalc_Sempred
(localctx antlr.RuleContext, predIndex int)
repl/parser/commands_parser.go:10128
↓ 1 callersMethodCalculationLimitExceeded
CalculationLimitExceeded indicates whether any tracked value was too expensive to size, causing the size computation to abort at the SizeCalculator's
common/types/memory_tracker.go:179
↓ 1 callersMethodCallCost
(function, overloadID string, args []ref.Val, result ref.Val)
common/cost/tracker.go:30
↓ 1 callersMethodCallID
()
cel/async/async_test.go:170
↓ 1 callersMethodCatalogSymbols
()
cel/library.go:98
↓ 1 callersMethodClearUnusedIDs
ClearUnusedIDs removes IDs not used in the AST or macro calls from SourceInfo.
common/ast/ast.go:184
↓ 1 callersMethodCommand
()
repl/parser/commands_parser.go:748
↓ 1 callersFunctionCommandsLexerInit
CommandsLexerInit initializes any static state used to implement CommandsLexer. By default the static state used to implement the lexer is lazily init
repl/parser/commands_lexer.go:339
↓ 1 callersFunctionCommandsParserInit
CommandsParserInit initializes any static state used to implement CommandsParser. By default the static state used to implement the parser is lazily i
repl/parser/commands_parser.go:276
↓ 1 callersFunctionCommonAlgorithms
CommonAlgorithms registers the most common HMAC hash algorithms (SHA256, SHA384, SHA512, SHA224, SHA512/256, SHA512/224) along with their JOSE/JWT ali
ext/security/hmac/hmac.go:103
↓ 1 callersMethodCompare
Compare implements traits.Comparer.Compare.
common/types/duration.go:76
↓ 1 callersMethodCompile
Compile compiles the input expression using the current REPL context.
repl/evaluator.go:1507
↓ 1 callersMethodCompile
()
repl/parser/commands_parser.go:2664
↓ 1 callersMethodCompileOptions
()
ext/encoders.go:183
↓ 1 callersMethodCompileOptions
CompileOptions returns a collection of functional options for configuring the Parse / Check environment.
cel/library.go:62
↓ 1 callersFunctionCompileRegexWithLimit
CompileRegexWithLimit compiles a regex pattern and verifies that its program plan size does not exceed limit. A limit <= 0 means unbounded.
common/types/regex.go:38
↓ 1 callersMethodComplete
Complete releases a concurrency slot and notifies completions.
interpreter/async.go:511
↓ 1 callersMethodCondition
Condition returns the compiled predicate expression which must evaluate to true before the output or subrule is entered.
policy/compiler.go:148
↓ 1 callersMethodConditionalAnd
()
parser/gen/cel_parser.go:1099
↓ 1 callersMethodConditionalAnd
()
repl/parser/commands_parser.go:5057
↓ 1 callersMethodConditionalOr
()
parser/gen/cel_parser.go:853
↓ 1 callersMethodConditionalOr
()
repl/parser/commands_parser.go:4811
↓ 1 callersMethodConfigure
(MutableValidatorConfig)
cel/validator.go:170
↓ 1 callersFunctionContainerSizingOf
ContainerSizingOf reports what a container's size measures for the given Estimator. A hand-written FunctionEstimator which builds a result's size fro
common/cost/helper.go:46
↓ 1 callersMethodConvertToNative
ConvertToNative converts the IP value to a native Go type.
ext/network.go:514
↓ 1 callersMethodConvertToNative
ConvertToNative converts the CIDR value to a native Go type.
ext/network.go:568
↓ 1 callersMethodConvertToType
ConvertToType converts the IP value to a CEL type.
ext/network.go:525
↓ 1 callersMethodConvertToType
ConvertToType converts the CIDR value to a CEL type.
ext/network.go:579
↓ 1 callersMethodCopy
Copy creates a copy of the current database with its own internal descriptor mapping.
common/types/pb/pb.go:126
↓ 1 callersMethodCopyAST
CopyAST creates a renumbered copy of `Expr` and `SourceInfo` values of the input AST, where the renumbering uses the same scheme as the core optimizer
cel/optimizer.go:283
↓ 1 callersMethodCopyEntryExpr
(e EntryExpr)
common/ast/factory.go:299
↓ 1 callersMethodCopyExpr
(e Expr)
common/ast/factory.go:236
↓ 1 callersFunctionCost
Cost estimates the cost of the parsed and type checked CEL expression. Deprecated: use cost.Cost
checker/cost.go:113
↓ 1 callersMethodCreateAST
CreateAST creates a CEL AST from the input expression using the provided compiler.
tools/compiler/compiler.go:460
↓ 1 callersMethodCreateAST
CreateAST creates a CEL AST from a file using the provided compiler: - All policy metadata options are executed using the policy metadata map to exten
tools/compiler/compiler.go:497
↓ 1 callersMethodCreateAST
CreateAST creates a CEL AST from a raw CEL expression using the provided compiler.
tools/compiler/compiler.go:563
↓ 1 callersMethodCreatePolicyParser
CreatePolicyParser creates a policy parser using the optionally configured parser options.
tools/compiler/compiler.go:97
↓ 1 callersFunctionCustomDecorator
CustomDecorator appends an InterpreterDecorator to the program. InterpretableDecorators can be used to inspect, alter, or replace the Program plan.
cel/options.go:518
↓ 1 callersFunctionCustomTagVisitor
CustomTagVisitor configures the parser to use the given TagVisitor for handling custom tags.
policy/parser.go:548
↓ 1 callersFunctionCustomTestCompiler
CustomTestCompiler returns a TestRunnerOption which configures the test runner with a custom compiler.
tools/celtest/test_runner.go:464
↓ 1 callersFunctionDebugAST
DebugAST returns a string representation of the AST adorned with type information.
tools/celtest/test_runner.go:340
↓ 1 callersMethodDeclaration
Declaration returns the type-check declaration associated with the variable.
policy/compiler.go:128
↓ 1 callersMethodDeclare
()
repl/parser/commands_parser.go:1318
↓ 1 callersMethodDelete_
()
repl/parser/commands_parser.go:2188
↓ 1 callersMethodDescription
Description provides information about where the expression came from.
common/ast/ast.go:300
↓ 1 callersMethodDescriptor
()
test/proto3pb/test_all_types.pb.go:111
↓ 1 callersMethodDescriptor
()
test/proto3pb/test_import.pb.go:55
↓ 1 callersMethodDocumentation
Documentation generates documentation about the Function and its overloads as a common.Doc object.
common/decls/decls.go:95
↓ 1 callersMethodDocumentation
Documentation returns name, type, and description for the variable.
common/decls/decls.go:1139
↓ 1 callersMethodEmpty
()
repl/parser/commands_parser.go:2543
↓ 1 callersFunctionEnableCallEscapeSyntax
EnableCallEscapeSyntax enables backtick (`) escaped function and method call identifiers, as well as internal identifiers with '@' characters.
parser/options.go:190
↓ 1 callersMethodEnablePartialEval
EnablePartialEval enables the option to allow partial evaluations.
repl/evaluator.go:692
↓ 1 callersMethodEnterBoolFalse
EnterBoolFalse is called when entering the BoolFalse production.
parser/gen/cel_listener.go:113
↓ 1 callersMethodEnterBoolFalse
EnterBoolFalse is called when entering the BoolFalse production.
repl/parser/commands_listener.go:173
↓ 1 callersMethodEnterBoolTrue
EnterBoolTrue is called when entering the BoolTrue production.
parser/gen/cel_listener.go:110
↓ 1 callersMethodEnterBoolTrue
EnterBoolTrue is called when entering the BoolTrue production.
repl/parser/commands_listener.go:170
↓ 1 callersMethodEnterBytes
EnterBytes is called when entering the Bytes production.
parser/gen/cel_listener.go:107
↓ 1 callersMethodEnterBytes
EnterBytes is called when entering the Bytes production.
repl/parser/commands_listener.go:167
↓ 1 callersMethodEnterCalc
EnterCalc is called when entering the calc production.
parser/gen/cel_listener.go:26
↓ 1 callersMethodEnterCalc
EnterCalc is called when entering the calc production.
repl/parser/commands_listener.go:86
↓ 1 callersMethodEnterCommand
EnterCommand is called when entering the command production.
repl/parser/commands_listener.go:14
↓ 1 callersMethodEnterCompile
EnterCompile is called when entering the compile production.
repl/parser/commands_listener.go:44
↓ 1 callersMethodEnterConditionalAnd
EnterConditionalAnd is called when entering the conditionalAnd production.
parser/gen/cel_listener.go:20
↓ 1 callersMethodEnterConditionalAnd
EnterConditionalAnd is called when entering the conditionalAnd production.
repl/parser/commands_listener.go:80
↓ 1 callersMethodEnterConditionalOr
EnterConditionalOr is called when entering the conditionalOr production.
parser/gen/cel_listener.go:17
↓ 1 callersMethodEnterConditionalOr
EnterConditionalOr is called when entering the conditionalOr production.
repl/parser/commands_listener.go:77
↓ 1 callersMethodEnterConstantLiteral
EnterConstantLiteral is called when entering the ConstantLiteral production.
parser/gen/cel_listener.go:68
↓ 1 callersMethodEnterConstantLiteral
EnterConstantLiteral is called when entering the ConstantLiteral production.
repl/parser/commands_listener.go:128
↓ 1 callersMethodEnterCreateList
EnterCreateList is called when entering the CreateList production.
parser/gen/cel_listener.go:59
↓ 1 callersMethodEnterCreateList
EnterCreateList is called when entering the CreateList production.
repl/parser/commands_listener.go:119
↓ 1 callersMethodEnterCreateMessage
EnterCreateMessage is called when entering the CreateMessage production.
parser/gen/cel_listener.go:65
↓ 1 callersMethodEnterCreateMessage
EnterCreateMessage is called when entering the CreateMessage production.
repl/parser/commands_listener.go:125
↓ 1 callersMethodEnterCreateStruct
EnterCreateStruct is called when entering the CreateStruct production.
parser/gen/cel_listener.go:62
← previousnext →2,001–2,100 of 9,178, ranked by callers