MCPcopy Create free account

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

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

MethodisOptional
isOptional returns true.
policy/composer.go:574
FunctionisPlusOrMinus
(r rune)
parser/lexer.go:215
FunctionisQualifyRawStructFor
(adapter Adapter)
common/types/provider.go:1238
MethodisTestAllTypes_NestedType
()
test/proto3pb/test_all_types.pb.go:626
MethodisTestAllTypes_NestedType
()
test/proto3pb/test_all_types.pb.go:637
MethodisTestAllTypes_NestedType
()
test/proto3pb/test_all_types.pb.go:639
MethodisTestAllTypes_NestedType
()
test/proto2pb/test_all_types.pb.go:664
MethodisTestAllTypes_NestedType
()
test/proto2pb/test_all_types.pb.go:675
MethodisTestAllTypes_NestedType
()
test/proto2pb/test_all_types.pb.go:677
FunctionlateBoundInc
(overloadID string, args ...ref.Val)
cel/cel_test.go:6437
FunctionlegacyStringToTimestamp
legacyStringToTimestamp converts a string to a timestamp the way cel-go did before v0.30.0: any string accepted by time.Parse(time.RFC3339, ...) is ac
cel/timestamp_legacy.go:48
MethodlistAdapter
()
common/types/list.go:252
MethodlistAdapter
()
common/types/list.go:786
FunctionlistElemFactory
(nav *navigableExprImpl)
common/ast/navigable.go:647
FunctionlistHasAll
listHasAll returns true if every element of the argument list is contained within the target list.
ext/lists.go:723
FunctionlistHasAny
listHasAny returns true if the target list and the argument list share at least one element.
ext/lists.go:718
FunctionlistHasExactly
listHasExactly returns true if the target list and the argument list are set equivalent.
ext/lists.go:728
FunctionlistHasOnly
listHasOnly returns true if every element of the target list is contained within the argument list.
ext/lists.go:713
FunctionlocationCode
(ip ref.Val)
tools/celtest/test_runner_test.go:89
FunctionlocationCode
(ip ref.Val)
policy/test/cel_test_runner.go:42
Functionmain
()
codelab/codelab.go:42
Functionmain
()
codelab/solution/codelab.go:42
Functionmain
()
repl/main/main.go:53
FunctionmapContainsKeyValue
mapContainsKeyValue implements the custom function: `map.contains(key, value) bool`.
codelab/codelab.go:225
FunctionmapContainsKeyValue
mapContainsKeyValue implements the custom function: `map.contains(key, value) bool`.
codelab/solution/codelab.go:466
FunctionmapEntryFactory
(nav *navigableExprImpl)
common/ast/navigable.go:666
FunctionmatchIsConstantValue
(e NavigableExpr)
common/ast/navigable.go:277
FunctionmathGreatest
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/math.go:631
FunctionmathLeast
(meh cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/math.go:604
FunctionmaxBounds
(lhs, rhs SizeEstimate)
common/cost/model.go:872
FunctionmaxList
(numList ref.Val)
ext/math.go:882
FunctionmergeUnknown
(dst *types.Unknown, src ref.Val)
interpreter/interpretable.go:2240
FunctionminBounds
(lhs, rhs SizeEstimate)
common/cost/model.go:868
FunctionminList
(numList ref.Val)
ext/math.go:849
MethodmodelVersion
modelVersion implements trackVersionContext.
common/cost/model.go:1586
MethodmodelVersion
()
common/cost/estimator.go:1190
FunctionnetCIDRContainsCIDR
--- Implementation Logic ---
ext/network.go:343
FunctionnetCIDRContainsCIDRString
(lhs, rhs ref.Val)
ext/network.go:349
FunctionnetCIDRContainsIP
(lhs, rhs ref.Val)
ext/network.go:359
FunctionnetCIDRContainsIPString
(lhs, rhs ref.Val)
ext/network.go:365
FunctionnetCIDRIP
(val ref.Val)
ext/network.go:375
FunctionnetCIDRIsMask
(val ref.Val)
ext/network.go:475
FunctionnetCIDRMasked
(val ref.Val)
ext/network.go:380
FunctionnetCIDRPrefixLength
(val ref.Val)
ext/network.go:385
FunctionnetCIDRString
(val ref.Val)
ext/network.go:390
FunctionnetCIDRToString
(val ref.Val)
ext/network.go:400
FunctionnetIPFamily
(val ref.Val)
ext/network.go:405
FunctionnetIPIsCanonical
(val ref.Val)
ext/network.go:413
FunctionnetIPIsGlobalUnicast
(val ref.Val)
ext/network.go:423
FunctionnetIPIsLinkLocalMulticast
(val ref.Val)
ext/network.go:428
FunctionnetIPIsLinkLocalUnicast
(val ref.Val)
ext/network.go:433
FunctionnetIPIsLoopback
(val ref.Val)
ext/network.go:438
FunctionnetIPIsUnspecified
(val ref.Val)
ext/network.go:443
FunctionnetIPString
(val ref.Val)
ext/network.go:448
FunctionnetIPToString
(val ref.Val)
ext/network.go:458
FunctionnetIsCIDR
(val ref.Val)
ext/network.go:463
FunctionnetIsIP
(val ref.Val)
ext/network.go:469
MethodnewComprehension
(ctx any, iterRange ast.Expr, iterVar, accuVar string, accuInit ast.Expr, condition ast.Expr, step ast.E
parser/helper.go:120
MethodnewComprehensionTwoVar
(ctx any, iterRange ast.Expr, iterVar, iterVar2, accuVar string, accuInit ast.Expr, condition ast.Expr,
parser/helper.go:132
MethodnewPresenceTest
(ctx any, operand ast.Expr, field string)
parser/helper.go:88
FunctionnoBinaryOverrides
(rhs, lhs ref.Val)
common/stdlib/standard.go:945
FunctionnoEstimate
(Estimator, *AstNode, []AstNode)
common/cost/validate_test.go:354
FunctionnoFunctionOverrides
(args ...ref.Val)
common/stdlib/standard.go:954
FunctionnoTrack
([]ref.Val, ref.Val)
common/cost/validate_test.go:356
FunctionnoopFactory
(*navigableExprImpl)
common/ast/navigable.go:620
FunctionnotStrictlyFalse
(value ref.Val)
common/stdlib/standard.go:919
MethodoperandNode
operandNode implements operandNodeContext for Arg and Target operands.
common/cost/model.go:1339
FunctionoptFlatMap
(meh MacroExprFactory, target ast.Expr, args []ast.Expr)
cel/library.go:880
FunctionoptFlatMapV2
(meh MacroExprFactory, target ast.Expr, args []ast.Expr)
cel/library.go:906
FunctionoptMap
(meh MacroExprFactory, target ast.Expr, args []ast.Expr)
cel/library.go:808
FunctionoptMapExpander
(meh ExprHelper, target ast.Expr, args []ast.Expr)
parser/parser_test.go:3862
FunctionoptMapV2
(meh MacroExprFactory, target ast.Expr, args []ast.Expr)
cel/library.go:836
FunctionoptUnwrap
(value ref.Val)
cel/library.go:948
Methodprojects
()
common/cost/validate.go:198
Methodprojects
()
common/cost/validate.go:201
Methodprojects
()
common/cost/validate.go:202
Methodprojects
()
common/cost/validate.go:203
Methodprojects
()
common/cost/validate.go:204
Methodprojects
()
common/cost/validate.go:205
FunctionquantifierAll
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:242
FunctionquantifierExists
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:260
FunctionquantifierExistsOne
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:278
FunctionrangedBounds
rangedBounds takes the upper bound from hi and the lower bound from lo, capped by the upper bound since a lower bound above it would describe an empty
common/cost/model.go:878
FunctionregReplace
(args ...ref.Val)
ext/regex.go:171
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:507
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:586
MethodrenumberIDs
(IDGenerator)
common/ast/expr.go:604
MethodrenumberIDs
(IDGenerator)
common/ast/expr.go:619
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:658
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:685
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:724
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:753
MethodrenumberIDs
(IDGenerator)
common/ast/expr.go:764
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:830
MethodrenumberIDs
(idGen IDGenerator)
common/ast/expr.go:868
MethodrenumberIDs
(IDGenerator)
common/ast/navigable.go:521
MethodrenumberIDs
(IDGenerator)
common/ast/navigable.go:588
MethodrenumberStable
(id int64)
cel/optimizer.go:228
Functionrequest
request constructs a `google.rpc.context.AttributeContext.Request` message.
codelab/codelab.go:264
MethodresultType
resultType implements resultTypeContext from the estimator, which knows the call being estimated.
common/cost/model.go:1331
← previousnext →9,001–9,100 of 9,178, ranked by callers