MCPcopy Create free account

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

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

↓ 1 callersMethodVisitOptExpr
Visit a parse tree produced by CELParser#optExpr.
parser/gen/cel_visitor.go:92
↓ 1 callersMethodVisitOptExpr
Visit a parse tree produced by CommandsParser#optExpr.
repl/parser/commands_visitor.go:152
↓ 1 callersMethodVisitOptField
Visit a parse tree produced by CELParser#optField.
parser/gen/cel_visitor.go:80
↓ 1 callersMethodVisitOptField
Visit a parse tree produced by CommandsParser#optField.
repl/parser/commands_visitor.go:140
↓ 1 callersMethodVisitParam
Visit a parse tree produced by CommandsParser#param.
repl/parser/commands_visitor.go:32
↓ 1 callersMethodVisitParamId
Visit a parse tree produced by CommandsParser#paramId.
repl/parser/commands_visitor.go:65
↓ 1 callersMethodVisitParse
Visit a parse tree produced by CommandsParser#parse.
repl/parser/commands_visitor.go:47
↓ 1 callersMethodVisitPrimaryExpr
Visit a parse tree produced by CELParser#PrimaryExpr.
parser/gen/cel_visitor.go:44
↓ 1 callersMethodVisitPrimaryExpr
Visit a parse tree produced by CommandsParser#PrimaryExpr.
repl/parser/commands_visitor.go:104
↓ 1 callersMethodVisitQualId
Visit a parse tree produced by CommandsParser#qualId.
repl/parser/commands_visitor.go:53
↓ 1 callersMethodVisitRelation
Visit a parse tree produced by CELParser#relation.
parser/antlr_parser.go:429
↓ 1 callersMethodVisitRelation
Visit a parse tree produced by CELParser#relation.
parser/gen/cel_visitor.go:23
↓ 1 callersMethodVisitRelation
Visit a parse tree produced by CommandsParser#relation.
repl/parser/commands_visitor.go:83
↓ 1 callersMethodVisitSelect
VisitSelect visits a parse tree produced by CELParser#Select.
parser/antlr_parser.go:482
↓ 1 callersMethodVisitSelect
Visit a parse tree produced by CELParser#Select.
parser/gen/cel_visitor.go:41
↓ 1 callersMethodVisitSelect
Visit a parse tree produced by CommandsParser#Select.
repl/parser/commands_visitor.go:101
↓ 1 callersMethodVisitSimple
Visit a parse tree produced by CommandsParser#simple.
repl/parser/commands_visitor.go:38
↓ 1 callersMethodVisitSimpleIdentifier
Visit a parse tree produced by CELParser#SimpleIdentifier.
parser/gen/cel_visitor.go:86
↓ 1 callersMethodVisitSimpleIdentifier
Visit a parse tree produced by CommandsParser#SimpleIdentifier.
repl/parser/commands_visitor.go:146
↓ 1 callersMethodVisitStart
Visit a parse tree produced by CELParser#start.
parser/antlr_parser.go:380
↓ 1 callersMethodVisitStart
Visit a parse tree produced by CELParser#start.
parser/gen/cel_visitor.go:11
↓ 1 callersMethodVisitStart
Visit a parse tree produced by CommandsParser#start.
repl/parser/commands_visitor.go:71
↓ 1 callersMethodVisitStartCommand
Visit a parse tree produced by CommandsParser#startCommand.
repl/parser/commands_visitor.go:11
↓ 1 callersMethodVisitStartType
(ctx *parser.StartTypeContext)
repl/typefmt.go:82
↓ 1 callersMethodVisitStartType
Visit a parse tree produced by CommandsParser#startType.
repl/parser/commands_visitor.go:56
↓ 1 callersMethodVisitString
Visit a parse tree produced by CELParser#String.
parser/antlr_parser.go:725
↓ 1 callersMethodVisitString
Visit a parse tree produced by CELParser#String.
parser/gen/cel_visitor.go:104
↓ 1 callersMethodVisitString
Visit a parse tree produced by CommandsParser#String.
repl/parser/commands_visitor.go:164
↓ 1 callersMethodVisitType
(ctx *parser.TypeContext)
repl/typefmt.go:144
↓ 1 callersMethodVisitType
Visit a parse tree produced by CommandsParser#type.
repl/parser/commands_visitor.go:59
↓ 1 callersMethodVisitTypeID
(ctx *parser.TypeIdContext)
repl/typefmt.go:116
↓ 1 callersMethodVisitTypeId
Visit a parse tree produced by CommandsParser#typeId.
repl/parser/commands_visitor.go:62
↓ 1 callersMethodVisitTypeParamList
(ctx *parser.TypeParamListContext)
repl/typefmt.go:132
↓ 1 callersMethodVisitTypeParamList
Visit a parse tree produced by CommandsParser#typeParamList.
repl/parser/commands_visitor.go:68
↓ 1 callersMethodVisitUint
Visit a parse tree produced by CELParser#Uint.
parser/antlr_parser.go:695
↓ 1 callersMethodVisitUint
Visit a parse tree produced by CELParser#Uint.
parser/gen/cel_visitor.go:98
↓ 1 callersMethodVisitUint
Visit a parse tree produced by CommandsParser#Uint.
repl/parser/commands_visitor.go:158
↓ 1 callersMethodVisitUnary
(ctx *gen.UnaryContext)
parser/antlr_parser.go:458
↓ 1 callersMethodVisitVarDecl
Visit a parse tree produced by CommandsParser#varDecl.
repl/parser/commands_visitor.go:26
↓ 1 callersMethodWithTraits
WithTraits creates a copy of the current Type and sets the trait mask to the traits parameter. This method should be used with Opaque types where the
common/types/types.go:386
↓ 1 callersFunctionWrapAfterColumnLimit
WrapAfterColumnLimit dictates whether to insert a newline before or after the specified operator when word wrapping is performed. Example usage: Un
parser/unparser.go:730
↓ 1 callersMethodYAMLConfig
YAMLConfig returns a yaml-based CEL environment representing the current evaluator state.
repl/evaluator.go:852
↓ 1 callersFunctionYAMLEncode
YAMLEncode encodes a CEL ref.Val to its YAML string representation.
ext/encoders.go:295
↓ 1 callersFunctionYAMLParse
YAMLParse parses a YAML string into a dynamic CEL ref.Val using the given type adapter. If adapter is nil, types.DefaultTypeAdapter is used.
ext/encoders.go:301
↓ 1 callersFunctionYAMLParseWithType
YAMLParseWithType parses a YAML string into a typed CEL ref.Val conforming to targetType. If adapter is nil, types.DefaultTypeAdapter is used. If prov
ext/encoders.go:317
↓ 1 callersFunctionaccumulatedEntrySize
accumulatedEntrySize returns the size of one entry of an accumulated container: its element, or its key and value. An unknown part is unbounded.
common/cost/estimator.go:873
↓ 1 callersFunctionadaptFieldValue
(adapter Adapter, refField reflect.Value)
common/types/native.go:782
↓ 1 callersMethodaddConstant
(name, val string)
ext/security/hmac/hmac.go:132
↓ 1 callersFunctionaddDurationChecked
addDurationChecked performs addition with overflow detection of two time.Durations. If the operation fails due to overflow the error return value wil
common/types/overflow.go:163
↓ 1 callersMethodaddIdent
addIdent adds the Decl to the declarations in the Env. Returns a non-empty errorMsg if the identifier is already declared in the scope.
checker/env.go:313
↓ 1 callersFunctionaddQualifier
(t testing.TB, attr Attribute, qual Qualifier)
interpreter/attributes_test.go:1520
↓ 1 callersFunctionaddUint64Checked
addUint64Checked performs addition with overflow detection of two uint64 values. If the operation fails due to overflow the error return value will b
common/types/overflow.go:113
↓ 1 callersFunctionaggregateEntrySize
aggregateEntrySize bounds the aggregate size of one entry of a container: an element of a list, or a key and value of a map. Every value has aggregate
common/cost/helper.go:222
↓ 1 callersFunctionaggregateResultSize
aggregateResultSize raises the upper bound of a result size estimated under the aggregate strategy to at least 1. That strategy sizes an empty string,
common/cost/helper.go:567
↓ 1 callersMethodaggregateSize
(val any)
common/types/size_calc.go:196
↓ 1 callersMethodaggregateSizeLimitExceeded
()
common/types/size_calc.go:132
↓ 1 callersFunctionalgebraValues
algebraValues returns representative concrete values within an interval.
common/cost/algebra_test.go:45
↓ 1 callersMethodallocID
()
parser/helper.go:202
↓ 1 callersFunctionanyCarriesElements
(ctx EstimateContext, terms []QuantityExpr)
common/cost/helper.go:488
↓ 1 callersFunctionanyMsg
(t *testing.T, msg proto.Message)
common/types/pb/type_test.go:636
↓ 1 callersMethodappendCall
(call ast.CallExpr)
common/debug/debug.go:117
↓ 1 callersMethodappendComprehension
(comprehension ast.ComprehensionExpr)
common/debug/debug.go:209
↓ 1 callersMethodappendList
(list ast.ListExpr)
common/debug/debug.go:140
↓ 1 callersMethodappendMap
(m ast.MapExpr)
common/debug/debug.go:184
↓ 1 callersMethodappendSelect
(sel ast.SelectExpr)
common/debug/debug.go:108
↓ 1 callersMethodappendStruct
(obj ast.StructExpr)
common/debug/debug.go:158
↓ 1 callersMethodapplyCoster
(*coster)
common/cost/estimator.go:103
↓ 1 callersMethodapplyTracker
(*trackerBuilder)
common/cost/tracker.go:47
↓ 1 callersFunctionargTypes
(args ...*types.Type)
common/stdlib/standard.go:941
↓ 1 callersMethodassertType
(e ast.Expr, t *types.Type)
checker/checker.go:688
↓ 1 callersFunctionastToParsedExpr
(a *ast.AST)
fuzzing/fuzz_pratt_parser_test.go:246
↓ 1 callersFunctionbadPackAny
(t *testing.T, m proto.Message)
common/types/pb/equal_test.go:379
↓ 1 callersMethodbalancedTree
balancedTree recursively balances the terms provided to a commutative operator.
parser/helper.go:346
↓ 1 callersFunctionbase64DecodeCostModel
(id string)
ext/encoders.go:1132
↓ 1 callersFunctionbase64DecodeURLString
(str string)
ext/encoders.go:392
↓ 1 callersFunctionbase64EncodeBytes
(bytes []byte)
ext/encoders.go:403
↓ 1 callersFunctionbase64EncodeCostModel
(id string)
ext/encoders.go:1122
↓ 1 callersFunctionbase64EncodeURLBytes
(bytes []byte)
ext/encoders.go:407
↓ 1 callersMethodbench
(b *testing.B)
policy/compiler_test.go:417
↓ 1 callersMethodbinding
binding returns the runtime binding for an overload whose implementation is provided at declaration time. Each implementation is wrapped in an invoca
common/decls/decls.go:889
↓ 1 callersFunctionbranchQualifierCost
branchQualifierCost is the cost of the qualification a presence test applies to the branch of a conditional at the root of its operand's attribute cha
common/cost/estimator.go:413
↓ 1 callersMethodbuild
build derives the estimation and tracking options. A cost.ModelOption serves both, so the two lists hold the same options.
cel/env.go:215
↓ 1 callersMethodbuildMacroCallArg
buildMacroCallArg iterates the expression and returns a new expression where all macros have been replaced by their IDs in MacroCalls
parser/helper.go:234
↓ 1 callersFunctionbytesOrError
(bytes []byte, err error)
ext/guards.go:32
↓ 1 callersFunctionbytesToOctets
bytesToOctets converts byte sequences to a string using a three digit octal encoded value per byte.
parser/unparser.go:593
↓ 1 callersFunctionbytesToOctets
bytesToOctets converts byte sequences to a string using a three digit octal encoded value per byte.
common/types/bytes.go:152
↓ 1 callersFunctioncalculateArgCost
calculateArgCost combines the costs of a call's arguments at the given cost model version.
common/cost/estimator.go:1037
↓ 1 callersFunctioncanonicalValueToV1Alpha1
(val *celpb.Value)
tools/celtest/test_runner.go:845
↓ 1 callersFunctioncelCompreVar
(funcName, varPrefix string)
conformance/conformance_test.go:385
↓ 1 callersFunctioncelFieldsByName
celFieldsByName determines the fields of a struct which are visible to CEL authors, keyed by their CEL field name. A field is visible unless it is sk
common/types/native.go:660
↓ 1 callersFunctioncharAt
(str string, ind int64)
ext/strings.go:623
↓ 1 callersMethodcheckAndIncrementRecursionDepth
()
parser/antlr_parser.go:916
↓ 1 callersFunctioncheckArgsMatch
(env *cel.Env, params []letFunctionParam, args []ref.Val)
repl/evaluator.go:117
↓ 1 callersMethodcheckCall
(e ast.Expr)
checker/checker.go:263
↓ 1 callersMethodcheckComprehension
(e ast.Expr)
checker/checker.go:556
↓ 1 callersMethodcheckCreateList
(e ast.Expr)
checker/checker.go:433
↓ 1 callersMethodcheckCreateMap
(e ast.Expr)
checker/checker.go:460
↓ 1 callersMethodcheckCreateStruct
(e ast.Expr)
checker/checker.go:490
↓ 1 callersFunctioncheckCustomSizer
(c *sizeContext, fieldVal reflect.Value)
common/types/size_calc.go:573
↓ 1 callersMethodcheckIdent
(e ast.Expr)
checker/checker.go:115
← previousnext →2,801–2,900 of 9,178, ranked by callers