Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ types & classes
Types & classes
1,189 in github.com/cel-expr/cel-go
⨍
Functions
9,178
◇
Types & classes
1,189
↓ 343 callers
TypeAlias
Int
Int type that implements ref.Val as well as comparison and math operators.
common/types/int.go:33
↓ 275 callers
TypeAlias
String
String type implementation which supports addition, comparison, matching, and size functions.
common/types/string.go:35
↓ 98 callers
TypeAlias
Double
Double type that implements ref.Val, comparison, and mathematical operations.
common/types/double.go:33
↓ 82 callers
TypeAlias
Uint
Uint type implementation which supports comparison and math operators.
common/types/uint.go:32
↓ 78 callers
TypeAlias
Bool
Bool type that implements ref.Val and supports comparison and negation.
common/types/bool.go:31
↓ 48 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
↓ 5 callers
TypeAlias
customSizerVal
common/types/size_calc_test.go:255
↓ 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:368
↓ 3 callers
TypeAlias
baseIdentExpr
common/ast/expr.go:598
↓ 3 callers
FuncType
trackerOption
func(*Tracker) error
common/cost/tracker.go:50
↓ 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
FuncType
costerOption
func(*coster) error
common/cost/estimator.go:106
↓ 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:109
↓ 2 callers
TypeAlias
testFloat32
common/types/provider_test.go:1510
↓ 2 callers
TypeAlias
testFloat64
common/types/provider_test.go:1511
↓ 2 callers
TypeAlias
testInt
common/types/provider_test.go:1500
↓ 2 callers
TypeAlias
testInt16
common/types/provider_test.go:1502
↓ 2 callers
TypeAlias
testInt32
common/types/provider_test.go:1503
↓ 2 callers
TypeAlias
testInt64
common/types/provider_test.go:1504
↓ 2 callers
TypeAlias
testInt8
common/types/provider_test.go:1501
↓ 2 callers
TypeAlias
testString
common/types/provider_test.go:1512
↓ 2 callers
TypeAlias
testUint
common/types/provider_test.go:1505
↓ 2 callers
TypeAlias
testUint16
common/types/provider_test.go:1507
↓ 2 callers
TypeAlias
testUint32
common/types/provider_test.go:1508
↓ 2 callers
TypeAlias
testUint64
common/types/provider_test.go:1509
↓ 2 callers
TypeAlias
testUint8
common/types/provider_test.go:1506
↓ 1 callers
Struct
Catalog
Catalog holds an index of symbols from the active environment and available libraries.
common/env/catalog.go:53
↓ 1 callers
TypeAlias
EntryExprKind
EntryExprKind represents the possible EntryExpr kinds.
common/ast/expr.go:120
↓ 1 callers
FuncType
EnvOption
EnvOption is a functional interface for configuring the environment.
cel/options.go:156
↓ 1 callers
TypeAlias
ExprKind
ExprKind represents the expression node kind.
common/ast/expr.go:22
↓ 1 callers
TypeAlias
GlobalEnum
This proto tests that global enums are resolved correctly.
test/proto2pb/test_all_types.pb.go:31
↓ 1 callers
Struct
Overload
Overload represents the serializable format of a function overload.
common/env/env.go:407
↓ 1 callers
FuncType
RegistryOption
RegistryOption configures the behavior of the registry.
common/types/provider.go:120
↓ 1 callers
TypeAlias
TestAllTypes_NestedEnum
test/proto2pb/test_all_types.pb.go:90
↓ 1 callers
Struct
TypeDesc
TypeDesc represents the serializable format of a CEL *types.Type value.
common/env/env.go:790
↓ 1 callers
Struct
Validator
Validator represents a named validator with an optional map-based configuration object. Note: the map-keys must directly correspond to the internal r
common/env/env.go:703
↓ 1 callers
TypeAlias
activation
fuzzing/fuzz_interpreter_test.go:102
↓ 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:1499
↓ 1 callers
FuncType
trackerBuilderOption
func(*trackerBuilder) error
common/cost/tracker.go:56
Struct
AST
AST contains a protobuf expression and source info along with CEL-native type and reference information.
common/ast/ast.go:27
FuncType
ASTFormatOption
ASTFormatOption is a functional option for configuring the output formatting of AstToString and ExprToString.
cel/io.go:122
Interface
ASTOptimizer
ASTOptimizer applies an optimization over an AST and returns the optimized result.
cel/optimizer.go:261
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:126
Interface
ASTValidatorConfigurer
ASTValidatorConfigurer indicates that this object, currently expected to be an ASTValidator, participates in validator configuration settings. This i
cel/validator.go:169
FuncType
ASTValidatorFactory
ASTValidatorFactory creates an ASTValidator as configured by the input map
cel/validator.go:97
Struct
Account
Account is a sample account struct with fields tagged for CEL field access.
examples/types.go:26
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:28
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 estimator.go ActualCostEstimator provides function call cost
common/cost/tracker.go:29
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
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
ApproximateAggregateSize
ApproximateAggregateSize captures the outcome of an aggregate size computation. The Size saturates at math.MaxUint32 when the accumulated element cou
common/types/size_calc.go:156
Struct
Ast
Ast representing the checked or unchecked expression, its source, and related metadata such as source position information.
cel/env.go:50
Interface
AstNode
AstNode represents an AST node for estimating cost.
common/cost/estimator.go:44
Interface
AsyncCall
AsyncCall describes a pending or completed asynchronous function call.
interpreter/async.go:54
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:46
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:106
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:80
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:111
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:563
Struct
CalcContext
parser/gen/cel_parser.go:1465
Struct
CalcContext
repl/parser/commands_parser.go:5423
Interface
Call
Call represents an invocable function with a name and overload ID.
common/cost/tracker.go:37
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
common/cost/cost.go:388
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
next →
1–100 of 1,189, ranked by callers