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
Algorithm
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 callers
Method
Alias
Alias returns the alias to use when performing cel.bind() calls during inlining.
cel/inlining.go:40
↓ 1 callers
Function
AlphaProtoAsDeclaration
AlphaProtoAsDeclaration converts a v1alpha1.Decl value describing a variable or function into an EnvOption.
cel/decls.go:411
↓ 1 callers
Function
AlphaProtoAsType
AlphaProtoAsType converts a CEL v1alpha1.Type protobuf type to a CEL-native type representation.
common/types/types.go:709
↓ 1 callers
Function
AlphaProtoAsValue
AlphaProtoAsValue converts between google.api.expr.v1alpha1.Value and ref.Val.
cel/io.go:321
↓ 1 callers
Function
AlphaProtoConstantAsVal
AlphaProtoConstantAsVal converts a v1alpha1.Constant protobuf to a CEL-native ref.Val.
common/ast/conversion.go:669
↓ 1 callers
Method
Arg
Arg returns the size estimate for the argument at index.
common/cost/model.go:1354
↓ 1 callers
Method
Arg
Arg returns the runtime size of the argument at index.
common/cost/model.go:1562
↓ 1 callers
Method
ArgType
ArgType returns the type of the argument at index.
common/cost/model.go:1415
↓ 1 callers
Method
ArgType
ArgType returns the type of the argument at index.
common/cost/model.go:1497
↓ 1 callers
Method
ArgVal
ArgVal returns the value of the argument at index.
common/cost/model.go:1534
↓ 1 callers
Method
ArgValue
ArgValue returns the uint64 value of the argument at index, or defaultVal if not a literal int/uint.
common/cost/model.go:1423
↓ 1 callers
Method
ArgValue
ArgValue returns the uint64 value of the argument at index, or defaultVal.
common/cost/model.go:1467
↓ 1 callers
Method
Args
Args returns the argument Interpretables for the function call.
interpreter/async.go:88
↓ 1 callers
Method
Args
()
common/ast/expr.go:500
↓ 1 callers
Function
Arity
Arity returns the number of argument the operator takes -1 is returned if an undefined symbol is provided
common/operators/operators.go:151
↓ 1 callers
Method
AsPartialActivation
AsPartialActivation implements the PartialActivation interface by proxying to the internal scope or parent.
interpreter/frame.go:305
↓ 1 callers
Function
AsyncCallObserver
AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.
cel/options.go:817
↓ 1 callers
Function
AsyncCompletionBufferSize
AsyncCompletionBufferSize sets the size of the buffer for the async completion channel. By default, the channel is unbuffered.
cel/options.go:826
↓ 1 callers
Function
AsyncMaxConcurrency
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 callers
Function
AuthoringPromptWithFieldPaths
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 callers
Function
Base64Encode
Base64Encode encodes a byte slice into a standard base64 string.
ext/encoders.go:375
↓ 1 callers
Method
Binary
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 callers
Method
Buffer
Buffer pushes an expression into an internal queue of expressions to write to a string.
common/debug/debug.go:43
↓ 1 callers
Function
CELLexerInit
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 callers
Function
CELParserInit
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 callers
Method
Calc_Sempred
(localctx antlr.RuleContext, predIndex int)
parser/gen/cel_parser.go:6170
↓ 1 callers
Method
Calc_Sempred
(localctx antlr.RuleContext, predIndex int)
repl/parser/commands_parser.go:10128
↓ 1 callers
Method
CalculationLimitExceeded
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 callers
Method
CallCost
(function, overloadID string, args []ref.Val, result ref.Val)
common/cost/tracker.go:30
↓ 1 callers
Method
CallID
()
cel/async/async_test.go:170
↓ 1 callers
Method
CatalogSymbols
()
cel/library.go:98
↓ 1 callers
Method
ClearUnusedIDs
ClearUnusedIDs removes IDs not used in the AST or macro calls from SourceInfo.
common/ast/ast.go:184
↓ 1 callers
Method
Command
()
repl/parser/commands_parser.go:748
↓ 1 callers
Function
CommandsLexerInit
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 callers
Function
CommandsParserInit
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 callers
Function
CommonAlgorithms
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 callers
Method
Compare
Compare implements traits.Comparer.Compare.
common/types/duration.go:76
↓ 1 callers
Method
Compile
Compile compiles the input expression using the current REPL context.
repl/evaluator.go:1507
↓ 1 callers
Method
Compile
()
repl/parser/commands_parser.go:2664
↓ 1 callers
Method
CompileOptions
()
ext/encoders.go:183
↓ 1 callers
Method
CompileOptions
CompileOptions returns a collection of functional options for configuring the Parse / Check environment.
cel/library.go:62
↓ 1 callers
Function
CompileRegexWithLimit
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 callers
Method
Complete
Complete releases a concurrency slot and notifies completions.
interpreter/async.go:511
↓ 1 callers
Method
Condition
Condition returns the compiled predicate expression which must evaluate to true before the output or subrule is entered.
policy/compiler.go:148
↓ 1 callers
Method
ConditionalAnd
()
parser/gen/cel_parser.go:1099
↓ 1 callers
Method
ConditionalAnd
()
repl/parser/commands_parser.go:5057
↓ 1 callers
Method
ConditionalOr
()
parser/gen/cel_parser.go:853
↓ 1 callers
Method
ConditionalOr
()
repl/parser/commands_parser.go:4811
↓ 1 callers
Method
Configure
(MutableValidatorConfig)
cel/validator.go:170
↓ 1 callers
Function
ContainerSizingOf
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 callers
Method
ConvertToNative
ConvertToNative converts the IP value to a native Go type.
ext/network.go:514
↓ 1 callers
Method
ConvertToNative
ConvertToNative converts the CIDR value to a native Go type.
ext/network.go:568
↓ 1 callers
Method
ConvertToType
ConvertToType converts the IP value to a CEL type.
ext/network.go:525
↓ 1 callers
Method
ConvertToType
ConvertToType converts the CIDR value to a CEL type.
ext/network.go:579
↓ 1 callers
Method
Copy
Copy creates a copy of the current database with its own internal descriptor mapping.
common/types/pb/pb.go:126
↓ 1 callers
Method
CopyAST
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 callers
Method
CopyEntryExpr
(e EntryExpr)
common/ast/factory.go:299
↓ 1 callers
Method
CopyExpr
(e Expr)
common/ast/factory.go:236
↓ 1 callers
Function
Cost
Cost estimates the cost of the parsed and type checked CEL expression. Deprecated: use cost.Cost
checker/cost.go:113
↓ 1 callers
Method
CreateAST
CreateAST creates a CEL AST from the input expression using the provided compiler.
tools/compiler/compiler.go:460
↓ 1 callers
Method
CreateAST
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 callers
Method
CreateAST
CreateAST creates a CEL AST from a raw CEL expression using the provided compiler.
tools/compiler/compiler.go:563
↓ 1 callers
Method
CreatePolicyParser
CreatePolicyParser creates a policy parser using the optionally configured parser options.
tools/compiler/compiler.go:97
↓ 1 callers
Function
CustomDecorator
CustomDecorator appends an InterpreterDecorator to the program. InterpretableDecorators can be used to inspect, alter, or replace the Program plan.
cel/options.go:518
↓ 1 callers
Function
CustomTagVisitor
CustomTagVisitor configures the parser to use the given TagVisitor for handling custom tags.
policy/parser.go:548
↓ 1 callers
Function
CustomTestCompiler
CustomTestCompiler returns a TestRunnerOption which configures the test runner with a custom compiler.
tools/celtest/test_runner.go:464
↓ 1 callers
Function
DebugAST
DebugAST returns a string representation of the AST adorned with type information.
tools/celtest/test_runner.go:340
↓ 1 callers
Method
Declaration
Declaration returns the type-check declaration associated with the variable.
policy/compiler.go:128
↓ 1 callers
Method
Declare
()
repl/parser/commands_parser.go:1318
↓ 1 callers
Method
Delete_
()
repl/parser/commands_parser.go:2188
↓ 1 callers
Method
Description
Description provides information about where the expression came from.
common/ast/ast.go:300
↓ 1 callers
Method
Descriptor
()
test/proto3pb/test_all_types.pb.go:111
↓ 1 callers
Method
Descriptor
()
test/proto3pb/test_import.pb.go:55
↓ 1 callers
Method
Documentation
Documentation generates documentation about the Function and its overloads as a common.Doc object.
common/decls/decls.go:95
↓ 1 callers
Method
Documentation
Documentation returns name, type, and description for the variable.
common/decls/decls.go:1139
↓ 1 callers
Method
Empty
()
repl/parser/commands_parser.go:2543
↓ 1 callers
Function
EnableCallEscapeSyntax
EnableCallEscapeSyntax enables backtick (`) escaped function and method call identifiers, as well as internal identifiers with '@' characters.
parser/options.go:190
↓ 1 callers
Method
EnablePartialEval
EnablePartialEval enables the option to allow partial evaluations.
repl/evaluator.go:692
↓ 1 callers
Method
EnterBoolFalse
EnterBoolFalse is called when entering the BoolFalse production.
parser/gen/cel_listener.go:113
↓ 1 callers
Method
EnterBoolFalse
EnterBoolFalse is called when entering the BoolFalse production.
repl/parser/commands_listener.go:173
↓ 1 callers
Method
EnterBoolTrue
EnterBoolTrue is called when entering the BoolTrue production.
parser/gen/cel_listener.go:110
↓ 1 callers
Method
EnterBoolTrue
EnterBoolTrue is called when entering the BoolTrue production.
repl/parser/commands_listener.go:170
↓ 1 callers
Method
EnterBytes
EnterBytes is called when entering the Bytes production.
parser/gen/cel_listener.go:107
↓ 1 callers
Method
EnterBytes
EnterBytes is called when entering the Bytes production.
repl/parser/commands_listener.go:167
↓ 1 callers
Method
EnterCalc
EnterCalc is called when entering the calc production.
parser/gen/cel_listener.go:26
↓ 1 callers
Method
EnterCalc
EnterCalc is called when entering the calc production.
repl/parser/commands_listener.go:86
↓ 1 callers
Method
EnterCommand
EnterCommand is called when entering the command production.
repl/parser/commands_listener.go:14
↓ 1 callers
Method
EnterCompile
EnterCompile is called when entering the compile production.
repl/parser/commands_listener.go:44
↓ 1 callers
Method
EnterConditionalAnd
EnterConditionalAnd is called when entering the conditionalAnd production.
parser/gen/cel_listener.go:20
↓ 1 callers
Method
EnterConditionalAnd
EnterConditionalAnd is called when entering the conditionalAnd production.
repl/parser/commands_listener.go:80
↓ 1 callers
Method
EnterConditionalOr
EnterConditionalOr is called when entering the conditionalOr production.
parser/gen/cel_listener.go:17
↓ 1 callers
Method
EnterConditionalOr
EnterConditionalOr is called when entering the conditionalOr production.
repl/parser/commands_listener.go:77
↓ 1 callers
Method
EnterConstantLiteral
EnterConstantLiteral is called when entering the ConstantLiteral production.
parser/gen/cel_listener.go:68
↓ 1 callers
Method
EnterConstantLiteral
EnterConstantLiteral is called when entering the ConstantLiteral production.
repl/parser/commands_listener.go:128
↓ 1 callers
Method
EnterCreateList
EnterCreateList is called when entering the CreateList production.
parser/gen/cel_listener.go:59
↓ 1 callers
Method
EnterCreateList
EnterCreateList is called when entering the CreateList production.
repl/parser/commands_listener.go:119
↓ 1 callers
Method
EnterCreateMessage
EnterCreateMessage is called when entering the CreateMessage production.
parser/gen/cel_listener.go:65
↓ 1 callers
Method
EnterCreateMessage
EnterCreateMessage is called when entering the CreateMessage production.
repl/parser/commands_listener.go:125
↓ 1 callers
Method
EnterCreateStruct
EnterCreateStruct is called when entering the CreateStruct production.
parser/gen/cel_listener.go:62
← previous
next →
2,001–2,100 of 9,178, ranked by callers