MCPcopy Create free account

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

Functions7,844 in github.com/cel-expr/cel-go

↓ 2 callersMethodEntries
()
common/ast/expr.go:674
↓ 2 callersMethodEnum
()
test/proto3pb/test_all_types.pb.go:52
↓ 2 callersFunctionErrorReportingLimit
ErrorReportingLimit limits the number of syntax error reports before terminating parsing. The limit must be at least 1. If unset, the limit will be 1
parser/options.go:79
↓ 2 callersMethodEscapeIdent
()
parser/gen/cel_parser.go:5252
↓ 2 callersMethodEscapeIdent
()
repl/parser/commands_parser.go:9210
↓ 2 callersMethodExprList
()
parser/gen/cel_parser.go:3962
↓ 2 callersMethodExprList
()
repl/parser/commands_parser.go:7920
↓ 2 callersFunctionExprValueAsAlphaProto
ExprValueAsAlphaProto converts between ref.Val and google.api.expr.v1alpha1.ExprValue. The result ExprValue is the serialized proto form.
cel/io.go:161
↓ 2 callersFunctionExprValueAsProto
ExprValueAsProto converts between ref.Val and cel.expr.ExprValue. The result ExprValue is the serialized proto form.
cel/io.go:173
↓ 2 callersMethodExpression
Expression returns the variable expression.
policy/parser.go:325
↓ 2 callersFunctionExpressionNodeLimit
ExpressionNodeLimit adjusts the maximum number of expression nodes permitted during parsing and checking, including nodes created by macro expansion.
cel/options.go:1018
↓ 2 callersMethodExtendEnv
ExtendEnv auguments the context's environment with the additional options.
cel/optimizer.go:250
↓ 2 callersMethodFileDescriptions
FileDescriptions returns the set of file descriptions associated with this db.
common/types/pb/pb.go:162
↓ 2 callersMethodFileDescriptor
FileDescriptor returns the proto file descriptor associated with the file representation.
common/types/pb/file.go:85
↓ 2 callersFunctionFind
Find the internal function name for an operator, if the input text is one.
common/operators/operators.go:110
↓ 2 callersMethodFind
Find returns whether the protoreflect.Map contains the input key. If the key is not found the function returns (nil, false).
common/types/map.go:841
↓ 2 callersMethodFindFunction
FindFunction finds the first function Decl with a matching name in Scopes. The search is performed from innermost to outermost. Returns nil if no such
checker/scopes.go:119
↓ 2 callersFunctionFindReverseBinaryOperator
FindReverseBinaryOperator returns the unmangled, text representation of a binary operator. If the symbol does refer to an operator, but the operator
common/operators/operators.go:128
↓ 2 callersMethodFindStructFieldType
FindStructFieldType returns the field type for a checked type value. Returns false if the field could not be found.
common/types/provider.go:343
↓ 2 callersMethodFindStructType
FindStructType returns the Type give a qualified type name. For historical reasons, only struct types are expected to be returned through this method
common/types/provider.go:425
↓ 2 callersFunctionFormatCELType
FormatCELType formats a cel.Type value to a string representation. The type formatting is identical to FormatType.
cel/env.go:133
↓ 2 callersMethodFunction
Function returns the name of the function being invoked.
interpreter/async.go:80
↓ 2 callersMethodGetBb
()
test/proto3pb/test_all_types.pb.go:829
↓ 2 callersMethodGetCols
GetCols returns the cols token list.
repl/parser/commands_parser.go:8718
↓ 2 callersMethodGetElems
GetElems returns the elems rule context list.
repl/parser/commands_parser.go:7994
↓ 2 callersMethodGetEnumDescription
GetEnumDescription returns an EnumDescription for a qualified enum value name declared within the .proto file.
common/types/pb/file.go:91
↓ 2 callersMethodGetFields
GetFields returns the fields rule context list.
repl/parser/commands_parser.go:8229
↓ 2 callersMethodGetLocation
(exprID int64)
parser/parser_test.go:2112
↓ 2 callersMethodGetNestedType
()
test/proto3pb/test_all_types.pb.go:443
↓ 2 callersMethodGetNestedType
()
test/proto2pb/test_all_types.pb.go:488
↓ 2 callersMethodGetSign
()
parser/gen/cel_parser.go:5899
↓ 2 callersMethodGetStopLocation
GetStopLocation calculates the human-readable 1-based line and 0-based column of the last character for the expression node at the given id. If the S
common/ast/ast.go:397
↓ 2 callersMethodHasExplanation
HasExplanation indicates whether the explanation field is set of the match.
policy/parser.go:378
↓ 2 callersMethodHasExtension
HasExtension returns whether the source info contains the extension which satisfies the minimum version requirement. For an extension to be considere
common/ast/ast.go:453
↓ 2 callersMethodHasFunction
HasFunction returns whether a specific function has been configured in the environment
cel/env.go:660
↓ 2 callersMethodHasTrait
HasTrait implements the ref.Type interface method.
common/types/native.go:161
↓ 2 callersFunctionHeights
Heights computes the heights of all AST expressions and returns a map from expression id to height.
common/ast/ast.go:194
↓ 2 callersMethodID
ID implements the Interpretable interface method.
interpreter/async.go:75
↓ 2 callersMethodIdent
Ident creates an identifier Expr value.
cel/macro.go:121
↓ 2 callersFunctionIncludeOverloads
IncludeOverloads defines an OverloadSelector which allow-lists a set of overloads by their ids.
common/decls/decls.go:208
↓ 2 callersFunctionInitEmptyEscapeIdentContext
(p *EscapeIdentContext)
parser/gen/cel_parser.go:5122
↓ 2 callersFunctionInitEmptyEscapeIdentContext
(p *EscapeIdentContext)
repl/parser/commands_parser.go:9080
↓ 2 callersFunctionInterruptableEval
InterruptableEval annotates comprehension loops with information that indicates they should check the `#interrupted` state within a custom Activation.
interpreter/interpreter.go:194
↓ 2 callersMethodIsChecked
IsChecked returns whether the AST is type-checked.
common/ast/ast.go:103
↓ 2 callersMethodIsList
IsList returns true if the YAML node is a list.
policy/yaml.go:25
↓ 2 callersMethodIsMap
IsMap returns true if the YAML node is a map.
policy/yaml.go:43
↓ 2 callersMethodIsMemberFunction
()
common/ast/expr.go:486
↓ 2 callersMethodIsMemberFunction
IsMemberFunction indicates whether the overload is a member function
common/decls/decls.go:704
↓ 2 callersMethodIsNumber
IsNumber returns true if the YAML node is a number.
policy/yaml.go:77
↓ 2 callersMethodIsOneof
IsOneof returns true if the field is declared within a oneof block.
common/types/pb/type.go:337
↓ 2 callersFunctionIsTypeConversionFunction
IsTypeConversionFunction returns whether the input function is a standard library type conversion function.
common/overloads/overloads.go:310
↓ 2 callersMethodIsValidAt
IsValidAt checks whether the token time claims (iat, nbf, exp) are valid at the given reference time with clock leeway tolerance.
ext/security/jwt/jwt.go:258
↓ 2 callersMethodJSONFieldNames
JSONFieldNames indicates whether the database is configured for proto field accesses by JSON names.
common/types/pb/pb.go:121
↓ 2 callersMethodLiteral
()
parser/gen/cel_parser.go:5941
↓ 2 callersMethodLiteralInt
LiteralInt creates an Expr value for an int literal.
cel/macro.go:71
↓ 2 callersFunctionMacroDocs
MacroDocs configures a list of strings into a multiline description for the macro.
cel/macro.go:149
↓ 2 callersFunctionMacroExamples
MacroExamples configures a list of examples, either as a string or common.MultilineString, into an example set to be provided with the macro Documenta
cel/macro.go:155
↓ 2 callersFunctionMakeMap
MakeMap expands the input call arguments into a comprehension that transforms each element in the input to produce an output list. There are two call
parser/macro.go:497
↓ 2 callersFunctionMaxNestedExpressions
MaxNestedExpressions limits the number of variable and nested rule expressions during compilation. Defaults to 100 if not set.
policy/compiler.go:201
↓ 2 callersMethodMetadataKeys
MetadataKeys returns a list of metadata keys set on the policy.
policy/parser.go:114
↓ 2 callersMethodName
Name returns the fully-qualified name of the container. The name may conceptually be a namespace, package, or type.
common/containers/container.go:87
↓ 2 callersFunctionNativeTypesVersion
NativeTypesVersion sets the native types version support for native extensions functions. Deprecated: NativeTypesVersion is a no-op and will be remov
ext/native.go:44
↓ 2 callersFunctionNavigateExpr
NavigateExpr creates a NavigableExpr whose type information is backed by the input AST. If the expression is already a NavigableExpr, the parent and
common/ast/navigable.go:55
↓ 2 callersFunctionNewCall
NewCall creates a new call Interpretable.
interpreter/interpretable.go:699
↓ 2 callersMethodNewComprehensionTwoVar
(id int64, iterRange Expr, iterVar, iterVar2, accuVar string, accuInit, loopCond, loopStep, result Expr)
common/ast/factory.go:136
↓ 2 callersFunctionNewCostTracker
NewCostTracker creates a new CostTracker with a given estimator and a set of functional CostTrackerOption values.
interpreter/runtimecost.go:198
↓ 2 callersFunctionNewError
NewError creates an error associated with an expression id with the given message at the given location.
common/error.go:24
↓ 2 callersFunctionNewFieldDoc
NewFieldDoc creates a new Doc struct for documenting a struct field.
common/doc.go:169
↓ 2 callersFunctionNewFunctionDoc
NewFunctionDoc creates a new Doc struct for documenting a function.
common/doc.go:131
↓ 2 callersFunctionNewGlobalMacro
NewGlobalMacro creates a Macro for a global function with the specified arg count. Deprecated: use GlobalMacro
cel/macro.go:182
↓ 2 callersMethodNewHasMacro
NewHasMacro generates a test-only select expression to be included within an AST and an unexpanded has() macro call signature to be inserted into the
cel/optimizer.go:436
↓ 2 callersMethodNewIdent
(id int64, name string)
common/ast/factory.go:151
↓ 2 callersFunctionNewInfoSource
NewInfoSource creates a new Source from a SourceInfo.
common/source.go:112
↓ 2 callersFunctionNewListType
NewListType generates a new list with elements of a certain type.
checker/decls/decls.go:151
↓ 2 callersFunctionNewMacroDoc
NewMacroDoc creates a new Doc struct for documenting a macro.
common/doc.go:151
↓ 2 callersFunctionNewObjectTypeValue
NewObjectTypeValue creates a type reference to an externally defined type. Deprecated: use cel.ObjectType(typeName)
common/types/types.go:562
↓ 2 callersFunctionNewOverloadDoc
NewOverloadDoc creates a new Doc struct for a function example.
common/doc.go:141
↓ 2 callersFunctionNewPolicy
NewPolicy creates a policy object which references a policy source and source information.
policy/parser.go:38
↓ 2 callersFunctionNewProtoRegistry
NewProtoRegistry creates a proto-based registry with a set of configurable options.
common/types/provider.go:153
↓ 2 callersFunctionNewReceiverMacro
NewReceiverMacro creates a Macro for a receiver function matching the specified arg count. Deprecated: use ReceiverMacro
cel/macro.go:190
↓ 2 callersFunctionNewRule
NewRule creates a Rule instance.
policy/parser.go:195
↓ 2 callersFunctionNewTest
NewTest creates a new Test with the provided name, input and result matcher.
tools/celtest/test_runner.go:386
↓ 2 callersFunctionNewVariableDoc
NewVariableDoc creates a new Doc struct specifically for documenting a variable.
common/doc.go:121
↓ 2 callersMethodNodeID
()
interpreter/interpreter_test.go:1983
↓ 2 callersMethodOffsetLocation
OffsetLocation translates a character offset to a Location, or false if the conversion was not feasible.
common/source.go:47
↓ 2 callersMethodOptExpr
()
parser/gen/cel_parser.go:5429
↓ 2 callersMethodOptExpr
()
repl/parser/commands_parser.go:9387
↓ 2 callersFunctionOptimizeWithSource
OptimizeWithSource overrides the source used by the optimizer. Note this will cause the source info from the AST passed to Optimize() to be discarded.
cel/optimizer.go:66
↓ 2 callersMethodOption
Option returns the cel.EnvOption that should be applied to the environment.
repl/evaluator.go:329
↓ 2 callersFunctionOverloadExamples
OverloadExamples configures an example of how to invoke the overload.
cel/decls.go:325
↓ 2 callersMethodOverloadID
OverloadID returns the overload id of the function being invoked.
interpreter/async.go:85
↓ 2 callersFunctionParseDescriptions
ParseDescriptions splits a documentation string into multiple multi-line description sections, using blank lines as delimiters.
common/doc.go:94
↓ 2 callersMethodParseRule
ParseRule will parse the current yaml node as though it is the entry point to a rule.
policy/parser.go:799
↓ 2 callersFunctionParseTimestamp
ParseTimestamp attempts to parse a timestamp from various supported types and representations: - time.Time, Timestamp, *timestamppb.Timestamp - RFC 33
common/types/timestamp.go:272
↓ 2 callersFunctionParsedExprToAst
ParsedExprToAst converts a parsed expression proto message to an Ast.
cel/io.go:74
↓ 2 callersFunctionParsedExprToAstWithSource
ParsedExprToAstWithSource converts a parsed expression proto message to an Ast, using the provided Source as the textual contents. In general you onl
cel/io.go:85
↓ 2 callersFunctionParserExpressionSizeLimit
ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse. Defaults are defined in the parser package. A n
cel/options.go:1011
↓ 2 callersFunctionParserRecursionLimit
ParserRecursionLimit adjusts the AST depth the parser will tolerate. Defaults defined in the parser package.
cel/options.go:999
↓ 2 callersFunctionPreOrderVisit
PreOrderVisit walks the expression graph and calls the visitor in pre-order (top-down).
common/ast/navigable.go:180
↓ 2 callersFunctionPrecedence
Precedence returns the operator precedence, where the higher the number indicates higher precedence operations.
common/operators/operators.go:141
← previousnext →1,101–1,200 of 7,844, ranked by callers