MCPcopy Create free account

hub / github.com/cel-expr/cel-go / functions

Functions9,178 in github.com/cel-expr/cel-go

↓ 1 callersMethodFieldInitializerList
()
repl/parser/commands_parser.go:8444
↓ 1 callersMethodFieldNames
FieldNames provides the list of field names for this type.
common/types/native.go:311
↓ 1 callersMethodFieldNames
FieldNames returns the list of field names defined on the struct.
common/types/struct.go:29
↓ 1 callersMethodFields
()
common/ast/expr.go:746
↓ 1 callersFunctionFilterMacroExpander
FilterMacroExpander expands the input call arguments into a comprehension which produces a list which contains only elements which match the provided
cel/macro.go:283
↓ 1 callersMethodFindFieldType
FindFieldType returns the field type for a checked type value. Returns false if the field could not be found. Deprecated: use FindStructFieldType
common/types/provider.go:306
↓ 1 callersMethodFindGlobalIdent
FindGlobalIdent finds an identifier in the global scope, ignoring all local scopes.
checker/scopes.go:96
↓ 1 callersMethodFindIdent
FindIdent takes a qualified identifier name and returns a ref.Val if one exists.
common/types/provider.go:402
↓ 1 callersMethodFindInt64Key
(ik int64)
common/types/map.go:882
↓ 1 callersMethodFindLocalIdent
FindLocalIdent finds a locally scoped variable with a given name, ignoring the root scope.
checker/scopes.go:85
↓ 1 callersMethodFindStringKey
(s string)
common/types/map.go:862
↓ 1 callersMethodFixed
Fixed takes an int pointer representing precision (or nil if none was given) and returns a function operating in a similar manner to String and Decima
ext/formatting_v2.go:652
↓ 1 callersMethodFixed
Fixed takes an int pointer representing precision (or nil if none was given) and returns a function operating in a similar manner to String and Decima
ext/formatting.go:752
↓ 1 callersFunctionFixedCostEstimate
FixedCostEstimate returns a cost with a fixed min and max range. Deprecated: use cost.FixedCostEstimate
checker/cost.go:85
↓ 1 callersFunctionFixedSizeEstimate
FixedSizeEstimate returns a size estimate with a fixed min and max range. Deprecated: use cost.FixedSizeEstimate
checker/cost.go:71
↓ 1 callersMethodFold
Fold creates a fold comprehension instruction. - iterVar is the iteration variable name. - iterRange represents the expression that resolves to a lis
cel/macro.go:112
↓ 1 callersMethodFold
(f traits.Folder)
common/types/map.go:1017
↓ 1 callersMethodFold
Fold invokes the Folder.FoldEntry for all entries in the type
common/types/traits/iterator.go:41
↓ 1 callersFunctionFormatEscapeIdentifiers
FormatEscapeIdentifiers configures whether non-standard or reserved identifiers are quoted with backticks.
cel/io.go:125
↓ 1 callersFunctionFormatString
FormatString returns the string representation of a CEL value. It is used to implement the %s specifier in the (string).format() extension function.
ext/formatting.go:210
↓ 1 callersFunctionFormatType
FormatType converts a type message into a string representation. Deprecated: prefer FormatCELType
cel/env.go:127
↓ 1 callersFunctionFormatWrapOnColumn
FormatWrapOnColumn configures expression word-wrapping when the string length exceeds the specified column limit.
cel/io.go:132
↓ 1 callersMethodFunction
Function returns the macro's function name (i.e. the function whose syntax it mimics).
parser/macro.go:139
↓ 1 callersMethodFunction
()
cel/async/async_test.go:171
↓ 1 callersFunctionFunctionDeclToExprDecl
FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration.
common/decls/decls.go:1209
↓ 1 callersMethodFunctionTracker
FunctionTracker returns a FunctionTracker implementing the cost model.
common/cost/model.go:1259
↓ 1 callersFunctionFunctions
Functions adds function overloads that extend or override the set of CEL built-ins. Deprecated: use Function() instead to declare the function, its o
cel/options.go:537
↓ 1 callersFunctionFuzzEval
FuzzEval evaluates a CEL expression with variable inputs generated by libprotobuf-mutator.
fuzzing/fuzz_eval.go:26
↓ 1 callersMethodGet
(index ref.Val)
common/types/object.go:147
↓ 1 callersMethodGet
Get implements the traits.Indexer interface method.
common/types/list.go:373
↓ 1 callersMethodGetActivation
()
fuzzing/interpreter_fuzz.pb.go:84
↓ 1 callersMethodGetAttributeTrails
GetAttributeTrails returns the attribute trails, if present, missing for a given expression id.
common/types/unknown.go:180
↓ 1 callersMethodGetCheckedExpr
()
fuzzing/interpreter_fuzz.pb.go:77
↓ 1 callersMethodGetCmd
GetCmd returns the cmd token.
repl/parser/commands_parser.go:2250
↓ 1 callersMethodGetE2
GetE2 returns the e2 rule contexts.
repl/parser/commands_parser.go:4389
↓ 1 callersMethodGetExplanationOutputPolicy
GetExplanationOutputPolicy returns a copy of the policy, except the output of each match block is replaced by the expression in the explanation field.
policy/parser.go:154
↓ 1 callersMethodGetFlags
GetFlags returns the flags token list.
repl/parser/commands_parser.go:2847
↓ 1 callersMethodGetIds
()
parser/gen/cel_parser.go:3218
↓ 1 callersMethodGetIndex
()
parser/gen/cel_parser.go:2461
↓ 1 callersMethodGetKeys
GetKeys returns the keys rule context list.
repl/parser/commands_parser.go:8736
↓ 1 callersMethodGetLocation
(exprID int64)
parser/parser_test.go:2746
↓ 1 callersMethodGetMapInt64NestedType
()
test/proto3pb/test_all_types.pb.go:611
↓ 1 callersMethodGetMetadata
GetMetadata for the input context.
common/debug/debug.go:34
↓ 1 callersMethodGetOpen
()
parser/gen/cel_parser.go:2199
↓ 1 callersMethodGetPid
GetPid returns the pid token.
repl/parser/commands_parser.go:1897
↓ 1 callersMethodGetQualifiers
GetQualifiers returns the qualifiers token list.
repl/parser/commands_parser.go:3097
↓ 1 callersMethodGetRType
GetRType returns the rType rule contexts.
repl/parser/commands_parser.go:1574
↓ 1 callersMethodGetRid
GetRid returns the rid token.
repl/parser/commands_parser.go:3082
↓ 1 callersMethodGetSingleInt32
()
test/proto3pb/test_all_types.pb.go:233
↓ 1 callersMethodGetState
GetState extracts the MemoryTracker from the ExecutionFrame.
interpreter/runtimememory.go:74
↓ 1 callersMethodGetTypes
GetTypes returns the types rule context list.
repl/parser/commands_parser.go:3996
↓ 1 callersFunctionGlobalMacro
GlobalMacro creates a Macro for a global function with the specified arg count.
cel/macro.go:160
↓ 1 callersFunctionGlobalVarArgMacro
GlobalVarArgMacro creates a Macro for a global function with a variable arg count.
cel/macro.go:170
↓ 1 callersFunctionHasMacroExpander
HasMacroExpander expands the input call arguments into a presence test, e.g. has(<operand>.field)
cel/macro.go:212
↓ 1 callersMethodHasNext
HasNext implements the traits.Iterator interface method.
common/types/map.go:1397
↓ 1 callersMethodHasNext
HasNext implements the traits.Iterator interface method.
common/types/map.go:1420
↓ 1 callersMethodHasNext
HasNext implements the traits.Iterator interface method.
common/types/map.go:1443
↓ 1 callersMethodHasNext
HasNext implements the traits.Iterator interface method.
common/types/list.go:715
↓ 1 callersMethodHasSingletonBinding
HasSingletonBinding indicates whether the function has a singleton binding definition.
common/decls/decls.go:318
↓ 1 callersMethodHasUnknownFunction
HasUnknownFunction returns whether any of the attribute trails contained within the unknown are unspecified. Unspecified attributes typically indicate
common/types/unknown.go:188
↓ 1 callersMethodHelp
()
repl/parser/commands_parser.go:910
↓ 1 callersMethodHex
Hex takes a boolean that, if true, indicates the hex string output by the returned closure should use uppercase letters for A-F.
ext/formatting_v2.go:664
↓ 1 callersMethodHex
Hex takes a boolean that, if true, indicates the hex string output by the returned closure should use uppercase letters for A-F.
ext/formatting.go:764
↓ 1 callersMethodID
ID implements the Interpretable method to get the expression id associated with the step.
interpreter/interpretable.go:153
↓ 1 callersMethodID
ID implements the Interpretable interface method.
interpreter/interpretable.go:1364
↓ 1 callersMethodID
ID of the attribute instruction.
interpreter/interpretable.go:1842
↓ 1 callersMethodID
ID implements the Interpretable ID function.
interpreter/interpretable.go:1920
↓ 1 callersMethodID
()
common/ast/navigable.go:322
↓ 1 callersMethodIDs
IDs returns the set of AST node IDs, including macro calls.
common/ast/ast.go:166
↓ 1 callersFunctionIncludeOverloads
IncludeOverloads defines an OverloadSelector which allow-lists a set of overloads by their ids.
cel/decls.go:211
↓ 1 callersMethodInitState
InitState produces a MemoryTracker and bundles it into the ExecutionFrame in a way which is not visible to expression evaluation.
interpreter/runtimememory.go:58
↓ 1 callersMethodInitState
InitState configures stateful metadata on the execution frame.
interpreter/interpreter.go:47
↓ 1 callersMethodInitVals
InitVals implements the InterpretableConstructor InitVals function.
interpreter/interpretable.go:1910
↓ 1 callersMethodIs
Is returns whether two errors are interrupt errors.
interpreter/interpretable.go:2178
↓ 1 callersMethodIs
Is implements errors.Is.
ext/formatting.go:713
↓ 1 callersMethodIsBool
IsBool returns true if the YAML node is a boolean.
policy/yaml.go:67
↓ 1 callersMethodIsDouble
IsDouble returns true if the YAML node is a double.
policy/yaml.go:87
↓ 1 callersMethodIsInteger
IsInteger returns true if the YAML node is an integer.
policy/yaml.go:82
↓ 1 callersMethodIsNull
IsNull returns true if the YAML node is a null.
policy/yaml.go:72
↓ 1 callersFunctionIsPrimitiveType
IsPrimitiveType returns whether the input element ref.Val is a primitive type. Note, primitive types do not include well-known types such as Duration
common/types/util.go:32
↓ 1 callersMethodIsRetryable
()
cel/async/async.go:169
↓ 1 callersMethodIsString
IsString returns true if the YAML node is a string.
policy/yaml.go:62
↓ 1 callersMethodIsTimestamp
IsTimestamp returns true if the YAML node is a timestamp.
policy/yaml.go:92
↓ 1 callersMethodIterRange
()
common/ast/expr.go:535
↓ 1 callersFunctionJSONEncode
JSONEncode encodes a CEL ref.Val to its JSON string representation.
ext/encoders.go:335
↓ 1 callersMethodKey
()
common/ast/expr.go:809
↓ 1 callersMethodLet
()
repl/parser/commands_parser.go:1110
↓ 1 callersMethodLibraries
Libraries returns a list of SingletonLibrary that have been configured in the environment.
cel/env.go:716
↓ 1 callersMethodLibraryAlias
()
cel/library.go:81
↓ 1 callersMethodLibraryName
LibraryName provides a namespaced name which is used to check whether the library has already been configured in the environment.
cel/library.go:76
↓ 1 callersMethodLibrarySubset
()
cel/library.go:86
↓ 1 callersMethodLibraryVersion
()
cel/library.go:93
↓ 1 callersMethodListInit
()
parser/gen/cel_parser.go:4172
↓ 1 callersMethodListInit
()
repl/parser/commands_parser.go:8130
↓ 1 callersMethodLiteral
()
repl/parser/commands_parser.go:9899
↓ 1 callersMethodLiteralBool
LiteralBool creates an Expr value for a bool literal.
cel/macro.go:62
↓ 1 callersMethodLiteralString
LiteralString creates am Expr value for a string literal.
cel/macro.go:74
↓ 1 callersMethodLoopCondition
()
common/ast/expr.go:565
↓ 1 callersMethodLoopStep
()
common/ast/expr.go:572
↓ 1 callersMethodMacros
Macros returns a shallow copy of macros associated with the environment.
cel/env.go:741
← previousnext →2,301–2,400 of 9,178, ranked by callers