Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ types & classes
Types & classes
931 in github.com/cel-expr/cel-go
⨍
Functions
7,844
◇
Types & classes
931
↓ 260 callers
TypeAlias
Int
Int type that implements ref.Val as well as comparison and math operators.
common/types/int.go:33
↓ 207 callers
TypeAlias
String
String type implementation which supports addition, comparison, matching, and size functions.
common/types/string.go:35
↓ 79 callers
TypeAlias
Double
Double type that implements ref.Val, comparison, and mathematical operations.
common/types/double.go:33
↓ 73 callers
TypeAlias
Bool
Bool type that implements ref.Val and supports comparison and negation.
common/types/bool.go:31
↓ 63 callers
TypeAlias
Uint
Uint type implementation which supports comparison and math operators.
common/types/uint.go:32
↓ 35 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:170
↓ 2 callers
FuncType
ParserOption
ParserOption is a function parser option for configuring Parser behavior.
policy/parser.go:522
↓ 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:261
↓ 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
TypeAlias
customSizerVal
common/types/size_calc_test.go:255
↓ 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:103
↓ 2 callers
TypeAlias
testFloat32
common/types/provider_test.go:1507
↓ 2 callers
TypeAlias
testFloat64
common/types/provider_test.go:1508
↓ 2 callers
TypeAlias
testInt
common/types/provider_test.go:1497
↓ 2 callers
TypeAlias
testInt16
common/types/provider_test.go:1499
↓ 2 callers
TypeAlias
testInt32
common/types/provider_test.go:1500
↓ 2 callers
TypeAlias
testInt64
common/types/provider_test.go:1501
↓ 2 callers
TypeAlias
testInt8
common/types/provider_test.go:1498
↓ 2 callers
TypeAlias
testString
common/types/provider_test.go:1509
↓ 2 callers
TypeAlias
testUint
common/types/provider_test.go:1502
↓ 2 callers
TypeAlias
testUint16
common/types/provider_test.go:1504
↓ 2 callers
TypeAlias
testUint32
common/types/provider_test.go:1505
↓ 2 callers
TypeAlias
testUint64
common/types/provider_test.go:1506
↓ 2 callers
TypeAlias
testUint8
common/types/provider_test.go:1503
↓ 1 callers
FuncType
EnvOption
EnvOption is a functional interface for configuring the environment.
cel/options.go:150
↓ 1 callers
TypeAlias
GlobalEnum
This proto tests that global enums are resolved correctly.
test/proto2pb/test_all_types.pb.go:31
↓ 1 callers
FuncType
RegistryOption
RegistryOption configures the behavior of the registry.
common/types/provider.go:118
↓ 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:110
↓ 1 callers
TypeAlias
testBool
common/types/provider_test.go:1496
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:116
Interface
ASTValidatorConfigurer
ASTValidatorConfigurer indicates that this object, currently expected to be an ASTValidator, participates in validator configuration settings. This i
cel/validator.go:159
FuncType
ASTValidatorFactory
ASTValidatorFactory creates an ASTValidator as configured by the input map
cel/validator.go:87
Struct
Account
examples/example_cel_native_structs_test.go:32
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
AggregateSizeEstimate
AggregateSizeEstimate captures the outcome of an aggregate size computation. The Size saturates at math.MaxUint32 when the accumulated element count
common/types/size_calc.go:152
Interface
AggregateSizeVisitor
AggregateSizeVisitor interface for ref.Val implementations capable of returning their total recursive element count.
common/types/aggregate_sizer.go:26
Interface
AggregateSizer
AggregateSizer calculates the recursive element size of values.
common/types/aggregate_sizer.go:18
Struct
Ast
Ast representing the checked or unchecked expression, its source, and related metadata such as source position information.
cel/env.go:49
Interface
AstNode
AstNode represents an AST node for the purpose of cost estimations.
checker/cost.go:58
Interface
AsyncCall
AsyncCall describes a pending or completed asynchronous function call.
interpreter/async.go:56
Interface
AsyncObserver
Async extension function support. CEL supports `types.Unknown` as a first-class value, and concurrent (async) function execution in CEL invokes a stu
interpreter/async.go:48
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:138
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:45
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
CIDR represents the CIDR network mask format.
ext/network.go:589
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:51
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:244
Struct
CompiledExpression
CompiledExpression is an InputExpression which loads a CheckedExpr from a file.
tools/compiler/compiler.go:464
next →
1–100 of 931, ranked by callers