MCPcopy Create free account

hub / github.com/cel-expr/cel-go / types & classes

Types & classes1,189 in github.com/cel-expr/cel-go

↓ 343 callersTypeAliasInt
Int type that implements ref.Val as well as comparison and math operators.
common/types/int.go:33
↓ 275 callersTypeAliasString
String type implementation which supports addition, comparison, matching, and size functions.
common/types/string.go:35
↓ 98 callersTypeAliasDouble
Double type that implements ref.Val, comparison, and mathematical operations.
common/types/double.go:33
↓ 82 callersTypeAliasUint
Uint type implementation which supports comparison and math operators.
common/types/uint.go:32
↓ 78 callersTypeAliasBool
Bool type that implements ref.Val and supports comparison and negation.
common/types/bool.go:31
↓ 48 callersTypeAliasBytes
Bytes type that implements ref.Val and supports add, compare, and size operations.
common/types/bytes.go:34
↓ 5 callersInterfaceExpr
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 callersTypeAliascustomSizerVal
common/types/size_calc_test.go:255
↓ 4 callersTypeAliasNull
Null type implementation.
common/types/null.go:31
↓ 4 callersTypeAliaserrorMsg
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 callersTypeAliasbaseIdentExpr
common/ast/expr.go:598
↓ 3 callersFuncTypetrackerOption
func(*Tracker) error
common/cost/tracker.go:50
↓ 2 callersFuncTypeParserOption
ParserOption is a function parser option for configuring Parser behavior.
policy/parser.go:522
↓ 2 callersFuncTypePolicyMetadataEnvOption
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 callersStructSourceInfo
SourceInfo records basic information about the expression as a textual input and as a parsed expression value.
common/ast/ast.go:261
↓ 2 callersInterfaceVal
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 callersFuncTypecosterOption
func(*coster) error
common/cost/estimator.go:106
↓ 2 callersFuncTypeformatter
func(any) string
checker/format.go:104
↓ 2 callersTypeAliaslimitID
limitID is used as a key for configurable limits. These are options that support exporting to YAML environment config.
cel/options.go:109
↓ 2 callersTypeAliastestFloat32
common/types/provider_test.go:1510
↓ 2 callersTypeAliastestFloat64
common/types/provider_test.go:1511
↓ 2 callersTypeAliastestInt
common/types/provider_test.go:1500
↓ 2 callersTypeAliastestInt16
common/types/provider_test.go:1502
↓ 2 callersTypeAliastestInt32
common/types/provider_test.go:1503
↓ 2 callersTypeAliastestInt64
common/types/provider_test.go:1504
↓ 2 callersTypeAliastestInt8
common/types/provider_test.go:1501
↓ 2 callersTypeAliastestString
common/types/provider_test.go:1512
↓ 2 callersTypeAliastestUint
common/types/provider_test.go:1505
↓ 2 callersTypeAliastestUint16
common/types/provider_test.go:1507
↓ 2 callersTypeAliastestUint32
common/types/provider_test.go:1508
↓ 2 callersTypeAliastestUint64
common/types/provider_test.go:1509
↓ 2 callersTypeAliastestUint8
common/types/provider_test.go:1506
↓ 1 callersStructCatalog
Catalog holds an index of symbols from the active environment and available libraries.
common/env/catalog.go:53
↓ 1 callersTypeAliasEntryExprKind
EntryExprKind represents the possible EntryExpr kinds.
common/ast/expr.go:120
↓ 1 callersFuncTypeEnvOption
EnvOption is a functional interface for configuring the environment.
cel/options.go:156
↓ 1 callersTypeAliasExprKind
ExprKind represents the expression node kind.
common/ast/expr.go:22
↓ 1 callersTypeAliasGlobalEnum
This proto tests that global enums are resolved correctly.
test/proto2pb/test_all_types.pb.go:31
↓ 1 callersStructOverload
Overload represents the serializable format of a function overload.
common/env/env.go:407
↓ 1 callersFuncTypeRegistryOption
RegistryOption configures the behavior of the registry.
common/types/provider.go:120
↓ 1 callersTypeAliasTestAllTypes_NestedEnum
test/proto2pb/test_all_types.pb.go:90
↓ 1 callersStructTypeDesc
TypeDesc represents the serializable format of a CEL *types.Type value.
common/env/env.go:790
↓ 1 callersStructValidator
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 callersTypeAliasactivation
fuzzing/fuzz_interpreter_test.go:102
↓ 1 callersTypeAliascontextString
cel/cel_example_test.go:181
↓ 1 callersTypeAliascustomString
common/types/string_test.go:110
↓ 1 callersTypeAliastestBool
common/types/provider_test.go:1499
↓ 1 callersFuncTypetrackerBuilderOption
func(*trackerBuilder) error
common/cost/tracker.go:56
StructAST
AST contains a protobuf expression and source info along with CEL-native type and reference information.
common/ast/ast.go:27
FuncTypeASTFormatOption
ASTFormatOption is a functional option for configuring the output formatting of AstToString and ExprToString.
cel/io.go:122
InterfaceASTOptimizer
ASTOptimizer applies an optimization over an AST and returns the optimized result.
cel/optimizer.go:261
InterfaceASTValidator
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
InterfaceASTValidatorConfigurer
ASTValidatorConfigurer indicates that this object, currently expected to be an ASTValidator, participates in validator configuration settings. This i
cel/validator.go:169
FuncTypeASTValidatorFactory
ASTValidatorFactory creates an ASTValidator as configured by the input map
cel/validator.go:97
StructAccount
Account is a sample account struct with fields tagged for CEL field access.
examples/types.go:26
InterfaceActivation
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
FuncTypeActivationFactory
ActivationFactory is a function which creates a CEL activation from the provided variables.
tools/celtest/test_runner.go:232
InterfaceActualCostEstimator
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
InterfaceAdder
Adder interface to support '+' operator overloads.
common/types/traits/math.go:20
InterfaceAdorner
Adorner returns debug metadata that will be tacked on to the string representation of an expression.
common/debug/debug.go:32
InterfaceAggregateSizeVisitor
AggregateSizeVisitor interface for ref.Val implementations capable of returning their total recursive element count.
common/types/aggregate_sizer.go:26
InterfaceAggregateSizer
AggregateSizer calculates the recursive element size of values.
common/types/aggregate_sizer.go:18
StructApproximateAggregateSize
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
StructAst
Ast representing the checked or unchecked expression, its source, and related metadata such as source position information.
cel/env.go:50
InterfaceAstNode
AstNode represents an AST node for estimating cost.
common/cost/estimator.go:44
InterfaceAsyncCall
AsyncCall describes a pending or completed asynchronous function call.
interpreter/async.go:54
InterfaceAsyncObserver
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
FuncTypeAsyncOp
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
FuncTypeAttrFactoryOption
AttrFactoryOption specifies a functional option for configuring an attribute factory.
interpreter/attributes.go:130
InterfaceAttribute
Attribute values are a variable or value with an optional set of qualifiers, such as field, key, or index accesses.
interpreter/attributes.go:101
InterfaceAttributeFactory
AttributeFactory provides methods creating Attribute and Qualifier values.
interpreter/attributes.go:28
StructAttributePattern
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
InterfaceAttributeQualifier
AttributeQualifier constrains the possible types which may be used to qualify an attribute.
common/types/unknown.go:138
StructAttributeQualifierPattern
AttributeQualifierPattern holds a wildcard or valued qualifier pattern.
interpreter/attribute_patterns.go:110
StructAttributeTrail
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
StructBaseCELListener
BaseCELListener is a complete listener for a parse tree produced by CELParser.
parser/gen/cel_base_listener.go:7
StructBaseCELVisitor
parser/gen/cel_base_visitor.go:6
StructBaseCommandsListener
BaseCommandsListener is a complete listener for a parse tree produced by CommandsParser.
repl/parser/commands_base_listener.go:7
StructBaseCommandsVisitor
repl/parser/commands_base_visitor.go:6
FuncTypeBinaryOp
BinaryOp is a function that takes two values and produces an output.
common/functions/functions.go:80
FuncTypeBindingsOption
BindingsOption declares a functional operator for configuring the Bindings library behavior.
ext/bindings.go:70
FuncTypeBlockingAsyncOp
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
StructBoolFalseContext
parser/gen/cel_parser.go:5678
StructBoolFalseContext
repl/parser/commands_parser.go:9636
StructBoolTrueContext
parser/gen/cel_parser.go:5834
StructBoolTrueContext
repl/parser/commands_parser.go:9792
InterfaceBuffer
Buffer is an interface for accessing a contiguous array of code points.
common/runes/buffer.go:25
StructBytesContext
parser/gen/cel_parser.go:5531
StructBytesContext
repl/parser/commands_parser.go:9489
StructCELLexer
parser/gen/cel_lexer.go:17
InterfaceCELListener
CELListener is a complete listener for a parse tree produced by CELParser.
parser/gen/cel_listener.go:7
StructCELParser
parser/gen/cel_parser.go:17
InterfaceCELVisitor
A complete Visitor for a parse tree produced by CELParser.
parser/gen/cel_visitor.go:7
StructCIDR
CIDR represents the CIDR network mask format.
ext/network.go:563
StructCalcContext
parser/gen/cel_parser.go:1465
StructCalcContext
repl/parser/commands_parser.go:5423
InterfaceCall
Call represents an invocable function with a name and overload ID.
common/cost/tracker.go:37
StructCallEstimate
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
InterfaceCallExpr
CallExpr defines an interface for inspecting a function call and its arguments.
common/ast/expr.go:162
TypeAliasCancellationCause
CancellationCause enumerates the ways a program evaluation operation can be cancelled.
interpreter/interpreter.go:70
StructCase
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