Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ functions
Functions
9,178 in github.com/cel-expr/cel-go
⨍
Functions
9,178
◇
Types & classes
1,189
↓ 1 callers
Method
Primary
()
repl/parser/commands_parser.go:7350
↓ 1 callers
Method
ProgramOptions
ProgramOptions returns a collection of functional options which should be included in every Program generated from the Env.Program() call.
cel/library.go:66
↓ 1 callers
Method
ProtoReflect
()
test/proto3pb/test_all_types.pb.go:727
↓ 1 callers
Method
PushInherited
PushInherited creates a new Scopes value which references the current Scope as its inherited parent.
checker/scopes.go:50
↓ 1 callers
Method
QualBool
QualBool adds a bool qualifier pattern for a map index operation to the AttributePattern.
interpreter/attribute_patterns.go:85
↓ 1 callers
Method
QualUint
QualUint adds an uint qualifier pattern for a map index operation to the AttributePattern.
interpreter/attribute_patterns.go:78
↓ 1 callers
Method
QualifierPath
QualifierPath returns the optional set of qualifying fields or indices applied to the variable.
common/types/unknown.go:99
↓ 1 callers
Method
QualifierPatterns
QualifierPatterns returns the set of AttributeQualifierPattern values on the AttributePattern.
interpreter/attribute_patterns.go:105
↓ 1 callers
Method
Qualify
Qualify is an implementation of the Qualifier interface method.
interpreter/attributes.go:562
↓ 1 callers
Function
QualifyAttribute
QualifyAttribute qualifies an attribute using a valid AttributeQualifier type.
common/types/unknown.go:143
↓ 1 callers
Method
QualifyIfPresent
QualifyIfPresent is an implementation of the Qualifier interface method.
interpreter/attributes.go:567
↓ 1 callers
Method
REPLConfig
REPLConfig returns a stringified view of the current evaluator state in terms of REPL Commands.
repl/evaluator.go:798
↓ 1 callers
Method
ReceiverCall
ReceiverCall creates a function call Expr value for a receiver-style function.
cel/macro.go:130
↓ 1 callers
Function
RefValToExprValue
RefValToExprValue converts between ref.Val and google.api.expr.v1alpha1.ExprValue. The result ExprValue is the serialized proto form.
cel/io.go:179
↓ 1 callers
Method
RegisterNativeType
RegisterNativeType creates nativeType instances for the given reflect.Type and registers them.
common/types/provider.go:560
↓ 1 callers
Method
RegisterType
(...ref.Type)
cel/options.go:363
↓ 1 callers
Method
RelSource
RelSource returns a RelativeSource for a given expression id.
policy/compiler.go:217
↓ 1 callers
Method
Relation
(i int)
repl/parser/commands_parser.go:5136
↓ 1 callers
Method
Relation_Sempred
(localctx antlr.RuleContext, predIndex int)
parser/gen/cel_parser.go:6160
↓ 1 callers
Method
Relation_Sempred
(localctx antlr.RuleContext, predIndex int)
repl/parser/commands_parser.go:10118
↓ 1 callers
Method
Relative
Relative produces a RelativeSource object for the content provided at the absolute location within the parent Source as indicated by the line and colu
policy/source.go:40
↓ 1 callers
Method
RenumberIDs
RenumberIDs performs an in-place update of the expression IDs within the SourceInfo.
common/ast/ast.go:275
↓ 1 callers
Method
ResolveFunction
ResolveFunction implements the FunctionActivation interface using the bindings resolved when the evaluation began, so the cost of a lookup does not de
interpreter/frame.go:297
↓ 1 callers
Method
Result
()
common/ast/expr.go:579
↓ 1 callers
Method
Result
Result returns the size estimate of the result, if the model's result size has been estimated.
common/cost/model.go:1370
↓ 1 callers
Method
Result
Result returns the runtime size of the result.
common/cost/model.go:1578
↓ 1 callers
Method
ResultMatcher
ResultMatcher returns the result matcher function of the test case.
tools/celtest/test_runner.go:400
↓ 1 callers
Method
ResultVal
ResultVal returns the evaluated result value.
common/cost/model.go:1554
↓ 1 callers
Function
Retry
Retry wraps a BlockingAsyncOp with a retry policy. It will retry the operation if it returns a types.Err that wraps a RetryableError returning true fo
cel/async/async.go:174
↓ 1 callers
Method
RuleTag
RuleTag accepts a parser context, field id, tag name, yaml node, as well as the parent policy and current rule to allow for continued parsing within c
policy/parser.go:477
↓ 1 callers
Function
RunCase
RunCase evaluates a single test case against a custom environment, running three different variants of the expression: optimized, unoptimized, and tra
test/bench/bench.go:270
↓ 1 callers
Function
RunDynamicEnvCase
RunDynamicEnvCase runs a singular DynamicEnvCase.
test/bench/bench.go:315
↓ 1 callers
Function
RunReferenceCases
RunReferenceCases evaluates the set of ReferenceCases against a custom CEL environment. See: bench_test.go for an example.
test/bench/bench.go:245
↓ 1 callers
Function
RunReferenceDynamicEnvCases
RunReferenceDynamicEnvCases evaluates the set of ReferenceDynamicEnvCases.
test/bench/bench.go:253
↓ 1 callers
Method
Scientific
Scientific functions identically to Fixed, except the string returned from the closure is expected to be in scientific notation.
ext/formatting_v2.go:656
↓ 1 callers
Method
Scientific
Scientific functions identically to Fixed, except the string returned from the closure is expected to be in scientific notation.
ext/formatting.go:756
↓ 1 callers
Method
Scope
Scope returns the local activation scope for this frame, if present.
interpreter/frame.go:101
↓ 1 callers
Method
Select
Select create a field traversal Expr value.
cel/macro.go:136
↓ 1 callers
Method
Semantic
Semantic returns the evaluation semantic for the policy.
policy/parser.go:62
↓ 1 callers
Method
SetCostTracker
SetCostTracker sets the active CostTracker for this evaluation pass.
interpreter/frame.go:381
↓ 1 callers
Method
SetDescription
SetDescription configures the policy description.
policy/parser.go:133
↓ 1 callers
Method
SetDescription
SetDescription configures the description for the rule.
policy/parser.go:267
↓ 1 callers
Method
SetExplanation
SetExplanation sets the explanation expression for the match.
policy/parser.go:411
↓ 1 callers
Method
SetFunction
SetFunction adds the function Decl to the current scope. Note: Any previous entry for a function in the current scope with the same name is overwritte
checker/scopes.go:112
↓ 1 callers
Method
SetID
SetID configures the id for the rule.
policy/parser.go:262
↓ 1 callers
Method
SetName
SetName updates the fully qualified type name for the import.
policy/parser.go:190
↓ 1 callers
Method
SetReference
SetReference adds a reference to the checked AST type map.
common/ast/ast.go:95
↓ 1 callers
Method
SetResult
SetResult sets the completed result for an asynchronous function call.
interpreter/async.go:312
↓ 1 callers
Method
SetRule
SetRule configures the policy rule entry point.
policy/parser.go:138
↓ 1 callers
Method
SetSemantic
SetSemantic configures the evaluation semantic for the policy.
policy/parser.go:70
↓ 1 callers
Method
SignatureEquals
SignatureEquals determines whether the incoming overload declaration signature is equal to the current signature. Result type, operand trait, and str
common/decls/decls.go:791
↓ 1 callers
Method
SignatureOverlaps
SignatureOverlaps indicates whether two functions have non-equal, but overloapping function signatures. For example, list(dyn) collides with list(str
common/decls/decls.go:810
↓ 1 callers
Method
Simple
()
repl/parser/commands_parser.go:2386
↓ 1 callers
Function
SimpleVariables
SimpleVariables configures the parser to allow for key-value pairs to declare a variable name and expression. For example: variables: - foo: bar
policy/parser.go:540
↓ 1 callers
Function
SingletonFunctionImpl
SingletonFunctionImpl creates a singleton function definition to be used with all function overloads. Note, this approach works well if operand is ex
cel/decls.go:283
↓ 1 callers
Method
Size
Size implements the traits.Sizer interface method.
common/types/map.go:306
↓ 1 callers
Method
Size
()
common/types/map.go:1083
↓ 1 callers
Method
Size
()
common/types/list.go:1321
↓ 1 callers
Method
SourceID
SourceID returns the source metadata identifier associated with the variable.
policy/compiler.go:113
↓ 1 callers
Method
StartType
()
repl/parser/commands_parser.go:3406
↓ 1 callers
Method
Start_
()
parser/gen/cel_parser.go:378
↓ 1 callers
Method
Target
()
common/ast/expr.go:493
↓ 1 callers
Method
Target
Target returns the size estimate for the receiver/target object.
common/cost/model.go:1362
↓ 1 callers
Method
Target
Target returns the runtime size of the receiver/target object.
common/cost/model.go:1570
↓ 1 callers
Method
TargetType
TargetType returns the type of the receiver/target object.
common/cost/model.go:1407
↓ 1 callers
Method
TargetType
TargetType returns the type of the receiver/target object.
common/cost/model.go:1487
↓ 1 callers
Method
TargetVal
TargetVal returns the value of the receiver/target object.
common/cost/model.go:1546
↓ 1 callers
Method
TargetValue
TargetValue returns the uint64 value of the receiver/target, or defaultVal if not a literal int/uint.
common/cost/model.go:1431
↓ 1 callers
Method
TargetValue
TargetValue returns the uint64 value of the receiver/target object, or defaultVal.
common/cost/model.go:1479
↓ 1 callers
Function
TestSuiteParserOption
TestSuiteParserOption returns a TestRunnerOption which configures the test runner with a custom test suite parser.
tools/celtest/test_runner.go:315
↓ 1 callers
Function
Timeout
Timeout wraps a BlockingAsyncOp with a per-call timeout. The timeout is enforced even when the wrapped function ignores its context: the function run
cel/async/async.go:124
↓ 1 callers
Function
TimeoutBinding
TimeoutBinding wraps a BlockingAsyncOp with a per-call timeout and returns an OverloadOpt.
cel/async/async.go:140
↓ 1 callers
Function
ToDebugString
ToDebugString gives the unadorned string representation of the Expr.
common/debug/debug.go:56
↓ 1 callers
Method
TryAcquire
TryAcquire attempts to acquire a concurrency slot and increments the active calls count.
interpreter/async.go:481
↓ 1 callers
Method
Type
Type implements the InterpretableConstructor Type function.
interpreter/interpretable.go:1915
↓ 1 callers
Method
Type
()
common/types/provider_test.go:1687
↓ 1 callers
Method
TypeId
Getter signatures
repl/parser/commands_parser.go:3453
↓ 1 callers
Method
TypeId
()
repl/parser/commands_parser.go:3781
↓ 1 callers
Method
TypeParamList
()
repl/parser/commands_parser.go:4142
↓ 1 callers
Function
TypeToProto
TypeToProto converts from a CEL-native type representation to canonical CEL celpb.Type protobuf type.
common/types/types.go:805
↓ 1 callers
Function
Types
Types creates a RegistryOption which registers individual custom type references or descriptors with the registry.
common/types/provider.go:144
↓ 1 callers
Method
Unary
()
parser/gen/cel_parser.go:2006
↓ 1 callers
Method
Unary
()
repl/parser/commands_parser.go:5964
↓ 1 callers
Method
Union
Union returns a CostEstimate that encompasses both input CostEstimates.
common/cost/cost.go:375
↓ 1 callers
Function
UnknownCostEstimate
UnknownCostEstimate returns a cost with an unknown impact. Deprecated: use cost.UnknownCostEstimate
checker/cost.go:78
↓ 1 callers
Function
UnknownSizeEstimate
UnknownSizeEstimate returns a size between 0 and max uint. Deprecated: use cost.UnknownSizeEstimate
checker/cost.go:64
↓ 1 callers
Method
UnknownVars
UnknownVars returns a PartialActivation which marks all variables declared in the Env as unknown AttributePattern values. Note, the UnknownVars will
cel/env.go:878
↓ 1 callers
Function
UpdateTestResourcesPaths
UpdateTestResourcesPaths updates the list of paths with their absolute paths as per their location in the testResourcesDir directory. This will allow
tools/celtest/test_runner.go:105
↓ 1 callers
Method
Validate
Validate validates the import configuration is well-formed.
common/env/env.go:233
↓ 1 callers
Method
Validate
Validate validates the variable configuration is well-formed.
common/env/env.go:271
↓ 1 callers
Method
Validate
Validate validates the context-variable configuration is well-formed.
common/env/env.go:330
↓ 1 callers
Method
Validate
Validate validates the function configuration is well-formed.
common/env/env.go:358
↓ 1 callers
Method
Validate
Validate validates the overload configuration is well-formed.
common/env/env.go:416
↓ 1 callers
Method
Validate
Validate validates the type configuration is well-formed.
common/env/env.go:810
↓ 1 callers
Method
Value
Value implements ref.Val.Value.
common/types/uint.go:250
↓ 1 callers
Method
Value
Value implements the ref.Val interface method.
common/types/bool.go:128
↓ 1 callers
Method
Value
Value implements ref.Val.Value.
common/types/int.go:290
↓ 1 callers
Method
Value
Value implements ref.Val.Value.
common/types/string.go:189
↓ 1 callers
Method
Value
Value implements ref.Val.Value.
common/types/null.go:118
↓ 1 callers
Method
Value
Value implements the ref.Val interface method.
common/types/bytes.go:142
← previous
next →
2,601–2,700 of 9,178, ranked by callers