MCPcopy Create free account

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

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

↓ 1 callersFunctionMakeExists
MakeExists expands the input call arguments into a comprehension that returns true if any of the elements in the range match the predicate expressions
parser/macro.go:476
↓ 1 callersFunctionMakeExistsOne
MakeExistsOne expands the input call arguments into a comprehension that returns true if exactly one of the elements in the range match the predicate
parser/macro.go:483
↓ 1 callersFunctionMakeFilter
MakeFilter expands the input call arguments into a comprehension which produces a list which contains only elements which match the provided predicate
parser/macro.go:531
↓ 1 callersMethodMapInitializerList
()
parser/gen/cel_parser.go:4993
↓ 1 callersMethodMapInitializerList
()
repl/parser/commands_parser.go:8951
↓ 1 callersFunctionMapMacroExpander
MapMacroExpander expands the input call arguments into a comprehension that transforms each element in the input to produce an output list. There are
cel/macro.go:268
↓ 1 callersMethodMarshalJSON
MarshalJSON implements json.Marshaler.
common/env/io.go:222
↓ 1 callersMethodMarshalYAML
MarshalYAML implements yaml.Marshaler.
common/env/io.go:217
↓ 1 callersMethodMatchTag
MatchTag accepts a parser context, field id, tag name, yaml node, as well as the parent policy and current match to allow for continued parsing within
policy/parser.go:481
↓ 1 callersMethodMatches
Matches returns true if the qualifier pattern is a wildcard, or the Qualifier implements the qualifierValueEquator interface and its IsValueEqualTo re
interpreter/attribute_patterns.go:117
↓ 1 callersMethodMaybeUnwrapDynamic
MaybeUnwrapDynamic takes the reflected protoreflect.Message and determines whether the value can be unwrapped to a more primitive CEL type. This func
common/types/pb/type.go:375
↓ 1 callersMethodMember_Sempred
(localctx antlr.RuleContext, predIndex int)
parser/gen/cel_parser.go:6183
↓ 1 callersMethodMember_Sempred
(localctx antlr.RuleContext, predIndex int)
repl/parser/commands_parser.go:10141
↓ 1 callersMethodName
Name returns the variable name.
policy/parser.go:320
↓ 1 callersMethodName
Name returns the unique name of this function format validator.
cel/validator.go:290
↓ 1 callersMethodName
Name returns the unique name of the homogeneous type validator.
cel/validator.go:338
↓ 1 callersMethodName
Name returns the name of the nesting limit validator.
cel/validator.go:442
↓ 1 callersMethodName
Name returns the name of the cel.bind nesting limit validator.
cel/validator.go:491
↓ 1 callersMethodName
Name returns the name of the regex program size limit validator.
cel/validator.go:506
↓ 1 callersMethodName
()
cel/env_test.go:1374
↓ 1 callersMethodNativeToValue
NativeToValue implements the ref.TypeAdapter interface method.
common/types/native.go:298
↓ 1 callersMethodNativeToValue
NativeToValue implements the ref.TypeAdapter interface method.
common/types/native.go:415
↓ 1 callersFunctionNewAbstractType
NewAbstractType creates an abstract type declaration which references a proto message name and may also include type parameters.
checker/decls/decls.go:59
↓ 1 callersFunctionNewAstNode
NewAstNode creates a new AstNode for cost estimation. Deprecated: use cost.NewAstNode
checker/cost.go:106
↓ 1 callersMethodNewBindMacro
NewBindMacro creates an AST expression representing the expanded bind() macro, and a macro expression representing the unexpanded call signature to be
cel/optimizer.go:328
↓ 1 callersFunctionNewBoolFalseContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5683
↓ 1 callersFunctionNewBoolFalseContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9641
↓ 1 callersFunctionNewBoolTrueContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5839
↓ 1 callersFunctionNewBoolTrueContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9797
↓ 1 callersFunctionNewBufferAndLineOffsets
NewBufferAndLineOffsets returns an efficient implementation of Buffer for the given text based on the ranges of the encoded code points contained with
common/runes/buffer.go:136
↓ 1 callersFunctionNewBytesContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5536
↓ 1 callersFunctionNewBytesContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9494
↓ 1 callersFunctionNewCELLexer
NewCELLexer produces a new lexer instance for the optional input antlr.CharStream.
parser/gen/cel_lexer.go:295
↓ 1 callersFunctionNewCELParser
NewCELParser produces a new parser instance for the optional input antlr.TokenStream.
parser/gen/cel_parser.go:193
↓ 1 callersFunctionNewCalcContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:1485
↓ 1 callersFunctionNewCalcContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:5443
↓ 1 callersMethodNewCall
(id int64, function string, args ...Expr)
common/ast/factory.go:103
↓ 1 callersFunctionNewCommandContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:561
↓ 1 callersFunctionNewCompileContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2601
↓ 1 callersFunctionNewConditionalAndContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:987
↓ 1 callersFunctionNewConditionalAndContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:4945
↓ 1 callersFunctionNewConditionalOrContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:741
↓ 1 callersFunctionNewConditionalOrContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:4699
↓ 1 callersFunctionNewConstantLiteralContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:3060
↓ 1 callersFunctionNewConstantLiteralContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:7018
↓ 1 callersFunctionNewCreateListContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2848
↓ 1 callersFunctionNewCreateListContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6806
↓ 1 callersFunctionNewCreateMessageContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:3192
↓ 1 callersFunctionNewCreateMessageContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:7150
↓ 1 callersFunctionNewCreateStructContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2984
↓ 1 callersFunctionNewCreateStructContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6942
↓ 1 callersFunctionNewDeclareContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:1235
↓ 1 callersFunctionNewDeleteContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2105
↓ 1 callersFunctionNewDoubleContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5782
↓ 1 callersFunctionNewDoubleContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9740
↓ 1 callersFunctionNewEmptyContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2501
↓ 1 callersFunctionNewEscapeIdentContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:5129
↓ 1 callersFunctionNewEscapeIdentContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:9087
↓ 1 callersFunctionNewEscapedIdentifierContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5159
↓ 1 callersFunctionNewEscapedIdentifierContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9117
↓ 1 callersFunctionNewExprCmdContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:2889
↓ 1 callersFunctionNewExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:476
↓ 1 callersFunctionNewExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:4434
↓ 1 callersFunctionNewExprListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:3862
↓ 1 callersFunctionNewExprListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:7820
↓ 1 callersFunctionNewFieldInitializerListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:4321
↓ 1 callersFunctionNewFieldInitializerListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:8279
↓ 1 callersFunctionNewFnDeclContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:1629
↓ 1 callersFunctionNewFunctionType
NewFunctionType creates a function invocation contract, typically only used by type-checking steps after overload resolution.
checker/decls/decls.go:75
↓ 1 callersFunctionNewGlobalCallContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:3308
↓ 1 callersFunctionNewGlobalCallContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:7266
↓ 1 callersFunctionNewGlobalVarArgMacro
NewGlobalVarArgMacro creates a Macro for a global function with a variable arg count. Deprecated: use GlobalVarArgMacro
cel/macro.go:198
↓ 1 callersFunctionNewHelpContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:868
↓ 1 callersFunctionNewIdentContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2926
↓ 1 callersFunctionNewIdentContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6884
↓ 1 callersFunctionNewImport
NewImport creates a new typename import node
policy/parser.go:169
↓ 1 callersFunctionNewIndexContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2443
↓ 1 callersFunctionNewIndexContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6401
↓ 1 callersFunctionNewIntContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:5889
↓ 1 callersFunctionNewIntContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:9847
↓ 1 callersFunctionNewJWTLib
NewJWTLib constructs an internal jwtLib instance for direct use.
ext/security/jwt/jwt.go:43
↓ 1 callersFunctionNewLetContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:999
↓ 1 callersMethodNewList
(id int64, elems []Expr, optIndices []int32)
common/ast/factory.go:167
↓ 1 callersFunctionNewListInitContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:4072
↓ 1 callersFunctionNewListInitContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:8030
↓ 1 callersMethodNewLiteral
(id int64, value ref.Val)
common/ast/factory.go:163
↓ 1 callersFunctionNewLiteralContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:5506
↓ 1 callersFunctionNewLiteralContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:9464
↓ 1 callersFunctionNewLogicalNotContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:1808
↓ 1 callersFunctionNewLogicalNotContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:5766
↓ 1 callersMethodNewMap
(id int64, entries []EntryExpr)
common/ast/factory.go:180
↓ 1 callersMethodNewMapEntry
(id int64, key, value Expr, isOptional bool)
common/ast/factory.go:184
↓ 1 callersFunctionNewMapInitializerListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
parser/gen/cel_parser.go:4828
↓ 1 callersFunctionNewMapInitializerListContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
repl/parser/commands_parser.go:8786
↓ 1 callersFunctionNewMapType
NewMapType generates a new map with typed keys and values.
checker/decls/decls.go:159
↓ 1 callersFunctionNewMatch
NewMatch creates a match instance.
policy/parser.go:340
↓ 1 callersMethodNewMatch
NewMatch creates a new Match instance with an ID associated with the YAML node.
policy/parser.go:446
↓ 1 callersMethodNewMemberCall
(id int64, function string, target Expr, args ...Expr)
common/ast/factory.go:117
↓ 1 callersFunctionNewMemberCallContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
parser/gen/cel_parser.go:2185
↓ 1 callersFunctionNewMemberCallContext
(parser antlr.Parser, ctx antlr.ParserRuleContext)
repl/parser/commands_parser.go:6143
← previousnext →2,401–2,500 of 9,178, ranked by callers