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
Method
NewInterpretable
NewInterpretable implements the Interpreter interface method.
interpreter/interpreter.go:265
Method
NewList
NewList implements the ExprHelper interface method.
parser/helper.go:453
Method
NewList
NewList creates a CreateList instruction where the list is comprised of the optional set of elements provided as arguments.
cel/macro.go:418
Method
NewList
NewList creates a list expression with a set of optional indices. Examples: [a, b] - elems: [a, b] - optIndices: [] [a, ?b, ?c] - elems: [a, b, c]
cel/optimizer.go:413
Method
NewLiteral
NewLiteral implements the ExprHelper interface method.
parser/helper.go:448
Method
NewLiteral
NewLiteral creates a new literal expression value. The range of valid values for a literal generated during optimization is different than for expres
cel/optimizer.go:398
Method
NewLocation
NewLocation takes an input line and column and produces a Location. The default behavior is to treat the line and column as absolute, but concrete der
common/source.go:53
Method
NewLocation
NewLocation implements the Source interface method.
common/source.go:144
Method
NewMap
NewMap implements the ExprHelper interface method.
parser/helper.go:458
Method
NewMap
NewMap creates a CreateStruct instruction for a map where the map is comprised of the optional set of key, value entries.
cel/macro.go:424
Method
NewMap
NewMap creates a map from a set of entry expressions which contain a key and value expression.
cel/optimizer.go:418
Method
NewMapEntry
NewMapEntry implements the ExprHelper interface method.
parser/helper.go:463
Method
NewMapEntry
NewMapEntry creates a Map Entry for the key, value pair.
cel/macro.go:433
Method
NewMapEntry
NewMapEntry creates a map entry with a key and value expression and a flag to indicate whether the entry is optional. Examples: {a: b} - key: a - va
cel/optimizer.go:436
Method
NewMatch
NewMatch creates a new Match instance with an ID associated with the YAML node.
policy/parser.go:669
Method
NewMemberCall
NewMemberCall implements the ExprHelper interface method.
parser/helper.go:525
Method
NewMemberCall
NewMemberCall creates a member function call invocation expression where 'target' is the receiver of the call. Example: list.countByField(fieldName)
cel/optimizer.go:379
Method
NewObject
NewObject creates a CreateStruct instruction for an object with a given type name and optional set of field initializers.
cel/macro.go:92
Method
NewObject
NewObject creates a CreateStruct instruction for an object with a given type name and optional set of field initializers.
cel/macro.go:440
Method
NewObjectFieldInit
NewObjectFieldInit creates a new Object field initializer from the field name and value.
cel/macro.go:95
Method
NewObjectFieldInit
NewObjectFieldInit creates a new Object field initializer from the field name and value.
cel/macro.go:449
Function
NewOptionalType
NewOptionalType constructs an abstract type indicating that the parameterized type may be contained within the object.
checker/decls/decls.go:69
Function
NewOverload
NewOverload creates a function overload declaration which contains a unique overload id as well as the expected argument and result types. Overloads m
checker/decls/decls.go:177
Function
NewParameterizedInstanceOverload
NewParameterizedInstanceOverload creates a parametric function instance overload type.
checker/decls/decls.go:186
Function
NewParameterizedOverload
NewParameterizedOverload creates a parametric function overload type.
checker/decls/decls.go:199
Method
NewPolicy
NewPolicy creates a new Policy instance with an ID associated with the YAML node.
policy/parser.go:648
Method
NewPresenceTest
NewPresenceTest implements the ExprHelper interface method.
parser/helper.go:530
Method
NewQualifier
(objType *types.Type, qualID int64, val any, opt bool)
interpreter/attributes_test.go:1481
Method
NewQualifier
NewQualifier is an implementation of the AttributeFactory interface.
interpreter/attributes.go:254
Function
NewReceiverVarArgMacro
NewReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count. Deprecated: use ReceiverVarArgMacro
cel/macro.go:206
Method
NewRule
NewRule creates a new Rule instance with an ID associated with the YAML node.
policy/parser.go:655
Method
NewSelect
NewSelect implements the ExprHelper interface method.
parser/helper.go:535
Method
NewString
NewString creates a new ValueString from the YAML node.
policy/parser.go:676
Method
NewStruct
NewStruct implements the ExprHelper interface method.
parser/helper.go:468
Method
NewStruct
NewStruct creates a new typed struct value with an set of field initializations. Example: pkg.TypeName{field: value} - typeName: pkg.TypeName - fiel
cel/optimizer.go:469
Method
NewStructField
NewStructField implements the ExprHelper interface method.
parser/helper.go:473
Method
NewStructField
NewStructField creates a struct field initialization. Examples: {count: 3u} - field: count - value: 3u - optional: false {?count: x} - field: count
cel/optimizer.go:486
Function
NewTypeParamType
NewTypeParamType creates a type corresponding to a named, contextual parameter.
checker/decls/decls.go:231
Function
NewTypeType
NewTypeType creates a new type designating a type.
checker/decls/decls.go:220
Method
NewValue
(typeName string, fields map[string]ref.Val)
ext/encoders_test.go:2398
Method
NewValue
(typeName string, fields map[string]ref.Val)
ext/encoders_test.go:2414
Method
NewValue
(structType string, fields map[string]ref.Val)
cel/env_test.go:1410
Method
NewValue
(structType string, fields map[string]ref.Val)
cel/env_test.go:1438
Method
NewValue
NewValue creates a new CEL struct value from the given map of field values.
common/types/struct.go:35
Method
NewValue
(adapter Adapter, fields map[string]ref.Val)
common/types/provider_test.go:1572
Method
NewValue
(structType string, fields map[string]ref.Val)
common/types/provider_test.go:1780
Method
NewValue
(adapter Adapter, fields map[string]ref.Val)
common/types/provider_test.go:2476
Method
NewValue
(structType string, fields map[string]ref.Val)
common/types/provider_test.go:2503
Method
NewValue
NewValue creates a new type value from a qualified name and map of field name to value. Note, for each value, the Val.ConvertToNative function will b
common/types/ref/provider.go:48
Function
NewVarWithDoc
NewVarWithDoc creates a variable identifier with a type and a description string.
checker/decls/decls.go:136
Method
NewVariable
NewVariable creates a new Variable instance with an ID associated with the YAML node.
policy/parser.go:662
Function
NewWrapperType
NewWrapperType creates a wrapped primitive type instance. Wrapped types are roughly equivalent to a nullable, or optionally valued type.
checker/decls/decls.go:247
Method
Next
()
ext/encoders_test.go:2336
Method
Next
()
common/types/map.go:1063
Method
Next
Next implements the traits.Iterator interface method.
common/types/map.go:1402
Method
Next
Next implements the traits.Iterator interface method.
common/types/map.go:1425
Method
Next
Next implements the traits.Iterator interface method.
common/types/map.go:1448
Method
Next
Next implements the traits.Iterator interface method.
common/types/list.go:720
Method
Next
()
common/types/list.go:1392
Method
NextAction
(completed []Call, active int)
cel/async/async.go:76
Method
NextAction
(completed []Call, active int)
cel/async/async.go:90
Method
NextAction
(completed []Call, active int)
cel/async/async.go:111
Method
NodeID
NodeID returns the AST node ID of the expression that returned the error.
common/types/err.go:155
Method
Number
()
test/proto3pb/test_all_types.pb.go:119
Method
Number
()
test/proto3pb/test_import.pb.go:63
Method
Number
()
test/proto2pb/test_all_types.pb.go:71
Method
Number
()
test/proto2pb/test_all_types.pb.go:130
Method
Observe
Observe records the peak memory watermarks associated with each evaluation step. Watermarks are observed at the points where values materialize durin
interpreter/runtimememory.go:88
Method
Observe
Observe records the evaluation state for a given expression node and program step.
interpreter/interpreter.go:153
Method
Octal
Octal implements formatStringInterpolatorV2.Octal.
ext/formatting_v2.go:384
Method
Octal
Octal implements formatStringInterpolatorV2.Octal.
ext/formatting_v2.go:524
Method
Octal
Octal takes a ref.Val and a string representing the current locale identifier and returns the Val formatted in octal, or an error if one occurred.
ext/formatting_v2.go:668
Method
Octal
Octal implements formatStringInterpolator.Octal.
ext/formatting.go:398
Method
Octal
Octal implements formatStringInterpolator.Octal.
ext/formatting.go:584
Method
Octal
Octal takes a ref.Val and a string representing the current locale identifier and returns the Val formatted in octal, or an error if one occurred.
ext/formatting.go:768
Method
OffsetLocation
OffsetLocation returns the absolute location given the relative offset, if found.
policy/source.go:61
Method
OffsetLocation
OffsetLocation returns the absolute location given the relative offset, if found.
parser/parser_test.go:3956
Method
OffsetLocation
OffsetLocation returns the Location of the expression identifier.
cel/macro.go:523
Method
OffsetLocation
OffsetLocation implements the Source interface method.
common/source.go:149
Method
OffsetLocation
(offset int32)
common/ast/ast_test.go:472
Method
OnCallFinished
(callID int64, function, overload string, res ref.Val)
interpreter/async_test.go:521
Method
OnCallFinished
(callID int64, function, overload string, res ref.Val)
interpreter/async_test.go:822
Method
OnCallFinished
(callID int64, function, overload string, res ref.Val)
cel/program_async_test.go:1132
Method
OnCallStarted
(callID int64, function, overload string, args []ref.Val)
interpreter/async_test.go:518
Method
OnCallStarted
(callID int64, function, overload string, args []ref.Val)
interpreter/async_test.go:818
Method
OnCallStarted
(callID int64, function, overload string, args []ref.Val)
cel/program_async_test.go:1129
Method
Operand
()
common/ast/navigable.go:537
Method
OptExpr
(i int)
parser/gen/cel_parser.go:4043
Method
OptExpr
(i int)
parser/gen/cel_parser.go:4114
Method
OptExpr
(i int)
parser/gen/cel_parser.go:4791
Method
OptExpr
(i int)
parser/gen/cel_parser.go:4886
Method
OptExpr
(i int)
repl/parser/commands_parser.go:8001
Method
OptExpr
(i int)
repl/parser/commands_parser.go:8072
Method
OptExpr
(i int)
repl/parser/commands_parser.go:8749
Method
OptExpr
(i int)
repl/parser/commands_parser.go:8844
Method
OptField
(i int)
parser/gen/cel_parser.go:4284
Method
OptField
(i int)
parser/gen/cel_parser.go:4379
Method
OptField
(i int)
repl/parser/commands_parser.go:8242
Method
OptField
(i int)
repl/parser/commands_parser.go:8337
Method
Optimize
(ctx *cel.OptimizerContext, a *ast.AST)
policy/composer_test.go:128
← previous
next →
6,301–6,400 of 9,178, ranked by callers