MCPcopy Create free account

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

Types & classes842 in github.com/cel-expr/cel-go

↓ 208 callersTypeAliasInt
Int type that implements ref.Val as well as comparison and math operators.
common/types/int.go:33
↓ 166 callersTypeAliasString
String type implementation which supports addition, comparison, matching, and size functions.
common/types/string.go:35
↓ 73 callersTypeAliasDouble
Double type that implements ref.Val, comparison, and mathematical operations.
common/types/double.go:33
↓ 64 callersTypeAliasBool
Bool type that implements ref.Val and supports comparison and negation.
common/types/bool.go:31
↓ 61 callersTypeAliasUint
Uint type implementation which supports comparison and math operators.
common/types/uint.go:32
↓ 30 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
↓ 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:347
↓ 3 callersTypeAliasbaseIdentExpr
common/ast/expr.go:598
↓ 2 callersStructCostEstimate
CostEstimate represents an estimated cost range and provides add and multiply operations that do not overflow.
checker/cost.go:169
↓ 2 callersFuncTypeParserOption
ParserOption is a function parser option for configuring Parser behavior.
policy/parser.go:480
↓ 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:253
↓ 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 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:102
↓ 2 callersTypeAliastestFloat32
common/types/provider_test.go:938
↓ 2 callersTypeAliastestFloat64
common/types/provider_test.go:939
↓ 2 callersTypeAliastestInt
common/types/provider_test.go:928
↓ 2 callersTypeAliastestInt16
common/types/provider_test.go:930
↓ 2 callersTypeAliastestInt32
common/types/provider_test.go:931
↓ 2 callersTypeAliastestInt64
common/types/provider_test.go:932
↓ 2 callersTypeAliastestInt8
common/types/provider_test.go:929
↓ 2 callersTypeAliastestString
common/types/provider_test.go:940
↓ 2 callersTypeAliastestUint
common/types/provider_test.go:933
↓ 2 callersTypeAliastestUint16
common/types/provider_test.go:935
↓ 2 callersTypeAliastestUint32
common/types/provider_test.go:936
↓ 2 callersTypeAliastestUint64
common/types/provider_test.go:937
↓ 2 callersTypeAliastestUint8
common/types/provider_test.go:934
↓ 1 callersFuncTypeEnvOption
EnvOption is a functional interface for configuring the environment.
cel/options.go:135
↓ 1 callersTypeAliasGlobalEnum
This proto tests that global enums are resolved correctly.
test/proto2pb/test_all_types.pb.go:31
↓ 1 callersTypeAliasTestAllTypes_NestedEnum
test/proto2pb/test_all_types.pb.go:90
↓ 1 callersTypeAliascontextString
cel/cel_example_test.go:181
↓ 1 callersTypeAliascustomString
common/types/string_test.go:109
StructAST
AST contains a protobuf expression and source info along with CEL-native type and reference information.
common/ast/ast.go:27
InterfaceASTOptimizer
ASTOptimizer applies an optimization over an AST and returns the optimized result.
cel/optimizer.go:260
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:100
InterfaceASTValidatorConfigurer
ASTValidatorConfigurer indicates that this object, currently expected to be an ASTValidator, participates in validator configuration settings. This i
cel/validator.go:143
FuncTypeASTValidatorFactory
ASTValidatorFactory creates an ASTValidator as configured by the input map
cel/validator.go:79
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:27
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 checker/cost.go ActualCostEstimator provides function call co
interpreter/runtimecost.go:34
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
StructAst
Ast representing the checked or unchecked expression, its source, and related metadata such as source position information.
cel/env.go:48
InterfaceAstNode
AstNode represents an AST node for the purpose of cost estimations.
checker/cost.go:57
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:76
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:137
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:44
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:63
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:81
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
ext/network.go:530
StructCalcContext
parser/gen/cel_parser.go:1465
StructCalcContext
repl/parser/commands_parser.go:5423
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
checker/cost.go:50
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
StructCase
Case represents a human-readable expression and an expected output given an input
test/bench/bench.go:29
InterfaceCmder
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
StructCommandContext
repl/parser/commands_parser.go:542
StructCommandsLexer
repl/parser/commands_lexer.go:17
InterfaceCommandsListener
CommandsListener is a complete listener for a parse tree produced by CommandsParser.
repl/parser/commands_listener.go:7
StructCommandsParser
repl/parser/commands_parser.go:17
InterfaceCommandsVisitor
A complete Visitor for a parse tree produced by CommandsParser.
repl/parser/commands_visitor.go:7
InterfaceComparer
Comparer interface for ordering comparisons between values in order to support '<', '<=', '>=', '>' overloads.
common/types/traits/comparer.go:23
StructCompileContext
repl/parser/commands_parser.go:2581
FuncTypeCompileMatchOutputFunc
CompileMatchOutputFunc is a function that compiles the output of a match.
policy/compiler.go:230
StructCompiledExpression
CompiledExpression is an InputExpression which loads a CheckedExpr from a file.
tools/compiler/compiler.go:464
StructCompiledMatch
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
StructCompiledRule
CompiledRule represents the variables and match blocks associated with a rule block.
policy/compiler.go:32
StructCompiledVariable
CompiledVariable represents the variable name, expression, and associated type-check declaration.
policy/compiler.go:91
InterfaceCompiler
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
FuncTypeCompilerOption
CompilerOption specifies a functional option to be applied to new RuleComposer instances.
policy/compiler.go:182
FuncTypeComposerOption
ComposerOption is a functional option used to configure a RuleComposer
policy/composer.go:31
InterfaceComprehensionExpr
ComprehensionExpr defines an interface for inspecting a comprehension expression.
common/ast/expr.go:267
StructConditionalAndContext
parser/gen/cel_parser.go:963
StructConditionalAndContext
repl/parser/commands_parser.go:4921
next →1–100 of 842, ranked by callers