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
Function
NewMemberContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:2152
↓ 1 callers
Function
NewMemberContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:6110
↓ 1 callers
Function
NewMemberExprContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:1880
↓ 1 callers
Function
NewMemberExprContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:5838
↓ 1 callers
Function
NewNegateContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:1938
↓ 1 callers
Function
NewNegateContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:5896
↓ 1 callers
Function
NewNestedContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:3117
↓ 1 callers
Function
NewNestedContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:7075
↓ 1 callers
Function
NewNullContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5634
↓ 1 callers
Function
NewNullContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9592
↓ 1 callers
Function
NewObject
NewObject returns an object based on a proto.Message value which handles conversion between protobuf type values and expression type values. Objects s
common/types/object.go:50
↓ 1 callers
Function
NewOptExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:5358
↓ 1 callers
Function
NewOptExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:9316
↓ 1 callers
Function
NewOptFieldContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:4634
↓ 1 callers
Function
NewOptFieldContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:8592
↓ 1 callers
Function
NewParamContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:1938
↓ 1 callers
Function
NewParamIdContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:3909
↓ 1 callers
Function
NewParseContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2737
↓ 1 callers
Method
NewPolicy
NewPolicy creates a new Policy instance with an ID associated with the YAML node.
policy/parser.go:437
↓ 1 callers
Method
NewPresenceTest
(id int64, operand Expr, field string)
common/ast/factory.go:194
↓ 1 callers
Function
NewPrimaryContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:2817
↓ 1 callers
Function
NewPrimaryContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:6775
↓ 1 callers
Function
NewPrimaryExprContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2384
↓ 1 callers
Function
NewPrimaryExprContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6342
↓ 1 callers
Function
NewPrimitiveType
NewPrimitiveType creates a type for a primitive value. See the var declarations for Int, Uint, etc.
checker/decls/decls.go:213
↓ 1 callers
Function
NewProtoList
NewProtoList returns a traits.Lister based on a pb.List instance.
common/types/list.go:140
↓ 1 callers
Function
NewProtoMap
NewProtoMap returns a specialized traits.Mapper for handling protobuf map values.
common/types/map.go:90
↓ 1 callers
Function
NewQualIdContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:3135
↓ 1 callers
Function
NewRelationContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:1211
↓ 1 callers
Function
NewRelationContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:5169
↓ 1 callers
Method
NewRule
NewRule creates a new Rule instance with an ID associated with the YAML node.
policy/parser.go:440
↓ 1 callers
Method
NewSelect
NewSelect creates a select expression where a field value is selected from an operand. Example: msg.field_name - operand: msg - field: field_name
cel/optimizer.go:458
↓ 1 callers
Method
NewSelect
(id int64, operand Expr, field string)
common/ast/factory.go:204
↓ 1 callers
Function
NewSelectContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2292
↓ 1 callers
Function
NewSelectContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6250
↓ 1 callers
Function
NewSetMembershipOptimizer
NewSetMembershipOptimizer rewrites set membership tests using the `in` operator against a list of constant values of enum, int, uint, string, or boole
ext/sets.go:134
↓ 1 callers
Function
NewSimpleContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2307
↓ 1 callers
Function
NewSimpleIdentifierContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5208
↓ 1 callers
Function
NewSimpleIdentifierContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9166
↓ 1 callers
Function
NewStartCommandContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:427
↓ 1 callers
Function
NewStartContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:311
↓ 1 callers
Function
NewStartContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:4269
↓ 1 callers
Function
NewStartTypeContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:3339
↓ 1 callers
Function
NewStringContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5732
↓ 1 callers
Function
NewStringContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9690
↓ 1 callers
Function
NewStringSourceWithLimit
NewStringSourceWithLimit creates a new Source from the given contents and description while enforcing a maximum code point count when needed.
common/source.go:96
↓ 1 callers
Method
NewStruct
(id int64, typeName string, fields []EntryExpr)
common/ast/factory.go:213
↓ 1 callers
Method
NewStructField
(id int64, field string, value Expr, isOptional bool)
common/ast/factory.go:222
↓ 1 callers
Function
NewToken
NewToken generates a `jwt.Token` instance from the JSON-decoded header and payload of a JWT. Signature validation of the token must be performed befo
ext/security/jwt/jwt.go:322
↓ 1 callers
Function
NewTypeContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:3481
↓ 1 callers
Function
NewTypeIdContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:3702
↓ 1 callers
Function
NewTypeParamListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:4034
↓ 1 callers
Function
NewUintContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5585
↓ 1 callers
Function
NewUintContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9543
↓ 1 callers
Function
NewUnaryContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:1777
↓ 1 callers
Function
NewUnaryContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:5735
↓ 1 callers
Method
NewUnspecifiedExpr
(id int64)
common/ast/factory.go:232
↓ 1 callers
Method
NewValue
NewValue constructs a new native Go struct instance populated with given field values.
common/types/native.go:337
↓ 1 callers
Function
NewVarDeclContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:1421
↓ 1 callers
Function
NewVariable
NewVariable creates a variable instance.
policy/parser.go:308
↓ 1 callers
Method
NewVariable
NewVariable creates a new Variable instance with an ID associated with the YAML node.
policy/parser.go:443
↓ 1 callers
Function
NewWellKnownType
NewWellKnownType creates a type corresponding to a protobuf well-known type value.
checker/decls/decls.go:239
↓ 1 callers
Method
NextID
NextID returns a monotonically increasing identifier for a source fragment. This ID is implicitly created and tracked within the CollectMetadata metho
policy/parser.go:430
↓ 1 callers
Method
NextID
NextID returns a monotonically increasing identifier for a source fragment. This ID is implicitly created and tracked within the CollectMetadata metho
policy/parser.go:642
↓ 1 callers
Function
NodeCount
NodeCount returns the total number of expression nodes in the AST, including macro calls.
common/ast/ast.go:176
↓ 1 callers
Method
Observe
Observe passes the activation and relevant evaluation metadata to the observer. The observe method is expected to do the equivalent of GetState(frame)
interpreter/interpreter.go:55
↓ 1 callers
Method
ObserveEval
ObserveEval evaluates an interpretable and performs per-evaluation state-tracking. This method is concurrency safe and the expectation is that the ob
interpreter/interpretable.go:171
↓ 1 callers
Method
OffsetLocation
OffsetLocation implements the ExprHelper interface method.
parser/helper.go:540
↓ 1 callers
Method
OffsetLocation
OffsetLocation returns the Location of the expression identifier.
cel/macro.go:139
↓ 1 callers
Method
OnCallFinished
OnCallFinished is called when an asynchronous function completes.
interpreter/async.go:50
↓ 1 callers
Method
OnCallStarted
OnCallStarted is called when an asynchronous function is first launched.
interpreter/async.go:48
↓ 1 callers
Method
Operand
()
common/ast/expr.go:703
↓ 1 callers
Method
OptField
()
parser/gen/cel_parser.go:4701
↓ 1 callers
Method
OptField
()
repl/parser/commands_parser.go:8659
↓ 1 callers
Method
Optimize
Optimize optimizes a type-checked AST within an Environment and accumulates any issues.
cel/optimizer.go:263
↓ 1 callers
Method
Overload
()
cel/async/async_test.go:172
↓ 1 callers
Function
OverloadCostEstimate
OverloadCostEstimate binds a FunctionEstimator to a specific function overload ID. Deprecated: use cost.OverloadCostEstimate
checker/cost.go:99
↓ 1 callers
Function
OverloadCostTracker
OverloadCostTracker binds an overload ID to a runtime FunctionTracker implementation. Deprecated: use cost.OverloadCostTracker
interpreter/runtimecost.go:68
↓ 1 callers
Method
OverloadIds
OverloadIds returns the set of all overload identifiers configured for dispatch.
interpreter/dispatcher.go:32
↓ 1 callers
Function
OverloadOperandTrait
OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be successfully invoked.
cel/decls.go:391
↓ 1 callers
Method
Param
()
repl/parser/commands_parser.go:2013
↓ 1 callers
Method
ParamId
()
repl/parser/commands_parser.go:3455
↓ 1 callers
Method
ParamId
()
repl/parser/commands_parser.go:3956
↓ 1 callers
Method
Parent
Parent returns the activation embedded into the folder.
interpreter/interpretable.go:2087
↓ 1 callers
Method
Parse
Parse parses the input expression using the current REPL context.
repl/evaluator.go:1520
↓ 1 callers
Method
Parse
()
repl/parser/commands_parser.go:2800
↓ 1 callers
Method
ParseMatch
ParseMatch will parse the current yaml node as though it is the entry point to a match.
policy/parser.go:458
↓ 1 callers
Method
ParsePolicy
ParsePolicy will parse the target yaml node as though it is the top-level policy.
policy/parser.go:741
↓ 1 callers
Method
ParseRule
ParseRule will parse the current yaml node as though it is the entry point to a rule.
policy/parser.go:455
↓ 1 callers
Method
ParseTextproto
(string)
tools/celtest/test_runner.go:249
↓ 1 callers
Method
ParseVariable
ParseVariable will parse the current yaml node as though it is the entry point to a variable.
policy/parser.go:846
↓ 1 callers
Method
ParseYAML
(string)
tools/celtest/test_runner.go:250
↓ 1 callers
Function
ParserErrorRecoveryLimit
ParserErrorRecoveryLimit sets the number of attemtps the parser will take to recover after encountering an error.
cel/options.go:1182
↓ 1 callers
Method
Plan
Plan implements the interpretablePlanner interface. This implementation of the Plan method also applies decorators to each Interpretable generated as
interpreter/planner.go:81
↓ 1 callers
Method
PolicyCompilerOptions
PolicyCompilerOptions returns the policy compiler options.
tools/compiler/compiler.go:99
↓ 1 callers
Method
PolicyMetadataEnvOptions
PolicyMetadataEnvOptions returns the policy metadata environment options.
tools/compiler/compiler.go:106
↓ 1 callers
Method
PolicyTag
PolicyTag accepts a parser context, field id, tag name, yaml node, and parent Policy to allow for continued parsing within a custom tag.
policy/parser.go:473
↓ 1 callers
Method
PresenceTest
PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
cel/macro.go:133
↓ 1 callers
Function
PresenceTestHasCost
PresenceTestHasCost determines whether presence testing has a cost of one or zero. Deprecated: use cost.PresenceTestHasCost
checker/cost.go:92
↓ 1 callers
Method
PresentedBy
PresentedBy determines whether the token from the given issuer was presented by the expected authorized party (`azp`) or audience (`aud`). If the toke
ext/security/jwt/jwt.go:294
← previous
next →
2,501–2,600 of 9,178, ranked by callers