Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ types & classes
Types & classes
842 in github.com/cel-expr/cel-go
⨍
Functions
7,240
◇
Types & classes
842
↓ 208 callers
TypeAlias
Int
Int type that implements ref.Val as well as comparison and math operators.
common/types/int.go:33
↓ 166 callers
TypeAlias
String
String type implementation which supports addition, comparison, matching, and size functions.
common/types/string.go:35
↓ 73 callers
TypeAlias
Double
Double type that implements ref.Val, comparison, and mathematical operations.
common/types/double.go:33
↓ 64 callers
TypeAlias
Bool
Bool type that implements ref.Val and supports comparison and negation.
common/types/bool.go:31
↓ 61 callers
TypeAlias
Uint
Uint type implementation which supports comparison and math operators.
common/types/uint.go:32
↓ 30 callers
TypeAlias
Bytes
Bytes type that implements ref.Val and supports add, compare, and size operations.
common/types/bytes.go:34
↓ 5 callers
Interface
Expr
Expr represents the base expression node in a CEL abstract syntax tree. Depending on the `Kind()` value, the Expr may be converted to a concrete expr
common/ast/expr.go:57
↓ 4 callers
TypeAlias
Null
Null type implementation.
common/types/null.go:31
↓ 4 callers
TypeAlias
errorMsg
errorMsg is a type alias meant to represent error-based return values which may be accumulated into an error at a later point in execution.
checker/env.go:347
↓ 3 callers
TypeAlias
baseIdentExpr
common/ast/expr.go:598
↓ 2 callers
Struct
CostEstimate
CostEstimate represents an estimated cost range and provides add and multiply operations that do not overflow.
checker/cost.go:169
↓ 2 callers
FuncType
ParserOption
ParserOption is a function parser option for configuring Parser behavior.
policy/parser.go:480
↓ 2 callers
FuncType
PolicyMetadataEnvOption
PolicyMetadataEnvOption represents a function which accepts a policy metadata map and returns an environment option used to extend the CEL environment
tools/compiler/compiler.go:82
↓ 2 callers
Struct
SourceInfo
SourceInfo records basic information about the expression as a textual input and as a parsed expression value.
common/ast/ast.go:253
↓ 2 callers
Interface
Val
Val interface defines the functions supported by all expression values. Val implementations may specialize the behavior of the value through the addit
common/types/ref/reference.go:37
↓ 2 callers
FuncType
formatter
func(any) string
checker/format.go:104
↓ 2 callers
TypeAlias
limitID
limitID is used as a key for configurable limits. These are options that support exporting to YAML environment config.
cel/options.go:102
↓ 2 callers
TypeAlias
testFloat32
common/types/provider_test.go:938
↓ 2 callers
TypeAlias
testFloat64
common/types/provider_test.go:939
↓ 2 callers
TypeAlias
testInt
common/types/provider_test.go:928
↓ 2 callers
TypeAlias
testInt16
common/types/provider_test.go:930
↓ 2 callers
TypeAlias
testInt32
common/types/provider_test.go:931
↓ 2 callers
TypeAlias
testInt64
common/types/provider_test.go:932
↓ 2 callers
TypeAlias
testInt8
common/types/provider_test.go:929
↓ 2 callers
TypeAlias
testString
common/types/provider_test.go:940
↓ 2 callers
TypeAlias
testUint
common/types/provider_test.go:933
↓ 2 callers
TypeAlias
testUint16
common/types/provider_test.go:935
↓ 2 callers
TypeAlias
testUint32
common/types/provider_test.go:936
↓ 2 callers
TypeAlias
testUint64
common/types/provider_test.go:937
↓ 2 callers
TypeAlias
testUint8
common/types/provider_test.go:934
↓ 1 callers
FuncType
EnvOption
EnvOption is a functional interface for configuring the environment.
cel/options.go:135
↓ 1 callers
TypeAlias
GlobalEnum
This proto tests that global enums are resolved correctly.
test/proto2pb/test_all_types.pb.go:31
↓ 1 callers
TypeAlias
TestAllTypes_NestedEnum
test/proto2pb/test_all_types.pb.go:90
↓ 1 callers
TypeAlias
contextString
cel/cel_example_test.go:181
↓ 1 callers
TypeAlias
customString
common/types/string_test.go:109
Struct
AST
AST contains a protobuf expression and source info along with CEL-native type and reference information.
common/ast/ast.go:27
Interface
ASTOptimizer
ASTOptimizer applies an optimization over an AST and returns the optimized result.
cel/optimizer.go:260
Interface
ASTValidator
ASTValidator defines a singleton interface for validating a type-checked Ast against an environment. Note: the Issues argument is mutable in the sens
cel/validator.go:100
Interface
ASTValidatorConfigurer
ASTValidatorConfigurer indicates that this object, currently expected to be an ASTValidator, participates in validator configuration settings. This i
cel/validator.go:143
FuncType
ASTValidatorFactory
ASTValidatorFactory creates an ASTValidator as configured by the input map
cel/validator.go:79
Interface
Activation
Activation used to resolve identifiers by name and references by id. An Activation is the primary mechanism by which a caller supplies input into a C
interpreter/activation.go:27
FuncType
ActivationFactory
ActivationFactory is a function which creates a CEL activation from the provided variables.
tools/celtest/test_runner.go:232
Interface
ActualCostEstimator
WARNING: Any changes to cost calculations in this file require a corresponding change in checker/cost.go ActualCostEstimator provides function call co
interpreter/runtimecost.go:34
Interface
Adder
Adder interface to support '+' operator overloads.
common/types/traits/math.go:20
Interface
Adorner
Adorner returns debug metadata that will be tacked on to the string representation of an expression.
common/debug/debug.go:32
Struct
Ast
Ast representing the checked or unchecked expression, its source, and related metadata such as source position information.
cel/env.go:48
Interface
AstNode
AstNode represents an AST node for the purpose of cost estimations.
checker/cost.go:57
FuncType
AsyncOp
AsyncOp is a function that accepts zero or more arguments and produces a value or error asynchronously via a channel. AsyncOp is an internal interfac
common/functions/functions.go:76
FuncType
AttrFactoryOption
AttrFactoryOption specifies a functional option for configuring an attribute factory.
interpreter/attributes.go:130
Interface
Attribute
Attribute values are a variable or value with an optional set of qualifiers, such as field, key, or index accesses.
interpreter/attributes.go:101
Interface
AttributeFactory
AttributeFactory provides methods creating Attribute and Qualifier values.
interpreter/attributes.go:28
Struct
AttributePattern
AttributePattern represents a top-level variable with an optional set of qualifier patterns. When using a CEL expression within a container, e.g. a p
interpreter/attribute_patterns.go:48
Interface
AttributeQualifier
AttributeQualifier constrains the possible types which may be used to qualify an attribute.
common/types/unknown.go:137
Struct
AttributeQualifierPattern
AttributeQualifierPattern holds a wildcard or valued qualifier pattern.
interpreter/attribute_patterns.go:110
Struct
AttributeTrail
AttributeTrail specifies a variable with an optional qualifier path. An attribute value is expected to correspond to an AbsoluteAttribute, meaning a f
common/types/unknown.go:44
Struct
BaseCELListener
BaseCELListener is a complete listener for a parse tree produced by CELParser.
parser/gen/cel_base_listener.go:7
Struct
BaseCELVisitor
parser/gen/cel_base_visitor.go:6
Struct
BaseCommandsListener
BaseCommandsListener is a complete listener for a parse tree produced by CommandsParser.
repl/parser/commands_base_listener.go:7
Struct
BaseCommandsVisitor
repl/parser/commands_base_visitor.go:6
FuncType
BinaryOp
BinaryOp is a function that takes two values and produces an output.
common/functions/functions.go:63
FuncType
BindingsOption
BindingsOption declares a functional operator for configuring the Bindings library behavior.
ext/bindings.go:70
FuncType
BlockingAsyncOp
BlockingAsyncOp is a function that accepts zero or more arguments and blocks until the result is available. When used with AsyncBinding, the framework
common/functions/functions.go:81
Struct
BoolFalseContext
parser/gen/cel_parser.go:5678
Struct
BoolFalseContext
repl/parser/commands_parser.go:9636
Struct
BoolTrueContext
parser/gen/cel_parser.go:5834
Struct
BoolTrueContext
repl/parser/commands_parser.go:9792
Interface
Buffer
Buffer is an interface for accessing a contiguous array of code points.
common/runes/buffer.go:25
Struct
BytesContext
parser/gen/cel_parser.go:5531
Struct
BytesContext
repl/parser/commands_parser.go:9489
Struct
CELLexer
parser/gen/cel_lexer.go:17
Interface
CELListener
CELListener is a complete listener for a parse tree produced by CELParser.
parser/gen/cel_listener.go:7
Struct
CELParser
parser/gen/cel_parser.go:17
Interface
CELVisitor
A complete Visitor for a parse tree produced by CELParser.
parser/gen/cel_visitor.go:7
Struct
CIDR
ext/network.go:530
Struct
CalcContext
parser/gen/cel_parser.go:1465
Struct
CalcContext
repl/parser/commands_parser.go:5423
Struct
CallEstimate
CallEstimate includes a CostEstimate for the call, and an optional estimate of the result object size. The ResultSize should only be provided if the c
checker/cost.go:50
Interface
CallExpr
CallExpr defines an interface for inspecting a function call and its arguments.
common/ast/expr.go:162
TypeAlias
CancellationCause
CancellationCause enumerates the ways a program evaluation operation can be cancelled.
interpreter/interpreter.go:70
Struct
Case
Case is a test case to validate a CEL policy or expression. The test case encompasses evaluation of the compiled expression using the provided input b
test/suite.go:35
Struct
Case
Case represents a human-readable expression and an expected output given an input
test/bench/bench.go:29
Interface
Cmder
Cmder interface provides normalized command name from a repl command. Command specifics are available via checked type casting to the specific command
repl/commands.go:111
Struct
CommandContext
repl/parser/commands_parser.go:542
Struct
CommandsLexer
repl/parser/commands_lexer.go:17
Interface
CommandsListener
CommandsListener is a complete listener for a parse tree produced by CommandsParser.
repl/parser/commands_listener.go:7
Struct
CommandsParser
repl/parser/commands_parser.go:17
Interface
CommandsVisitor
A complete Visitor for a parse tree produced by CommandsParser.
repl/parser/commands_visitor.go:7
Interface
Comparer
Comparer interface for ordering comparisons between values in order to support '<', '<=', '>=', '>' overloads.
common/types/traits/comparer.go:23
Struct
CompileContext
repl/parser/commands_parser.go:2581
FuncType
CompileMatchOutputFunc
CompileMatchOutputFunc is a function that compiles the output of a match.
policy/compiler.go:230
Struct
CompiledExpression
CompiledExpression is an InputExpression which loads a CheckedExpr from a file.
tools/compiler/compiler.go:464
Struct
CompiledMatch
CompiledMatch represents a match block which has an optional condition (true, by default) as well as an output or a nested rule (one or the other, but
policy/compiler.go:120
Struct
CompiledRule
CompiledRule represents the variables and match blocks associated with a rule block.
policy/compiler.go:32
Struct
CompiledVariable
CompiledVariable represents the variable name, expression, and associated type-check declaration.
policy/compiler.go:91
Interface
Compiler
Compiler interface is used to set up a compiler with the following capabilities: - create a CEL environment - create a policy parser - fetch policy co
tools/compiler/compiler.go:93
FuncType
CompilerOption
CompilerOption specifies a functional option to be applied to new RuleComposer instances.
policy/compiler.go:182
FuncType
ComposerOption
ComposerOption is a functional option used to configure a RuleComposer
policy/composer.go:31
Interface
ComprehensionExpr
ComprehensionExpr defines an interface for inspecting a comprehension expression.
common/ast/expr.go:267
Struct
ConditionalAndContext
parser/gen/cel_parser.go:963
Struct
ConditionalAndContext
repl/parser/commands_parser.go:4921
next →
1–100 of 842, ranked by callers