Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ functions
Functions
9,178 in github.com/cel-expr/cel-go
⨍
Functions
9,178
◇
Types & classes
1,189
↓ 1 callers
Function
isIdentifierChar
(r rune)
common/containers/container.go:290
↓ 1 callers
Function
isIdentifierCharacter
(str string)
common/types/unknown.go:127
↓ 1 callers
Method
isJSONSafe
isJSONSafe indicates whether the uint is safely representable as a floating point value in JSON.
common/types/uint.go:260
↓ 1 callers
Method
isJSONSafe
isJSONSafe indicates whether the int is safely representable as a floating point value in JSON.
common/types/int.go:299
↓ 1 callers
Function
isLeftRecursive
isLeftRecursive indicates whether the parser resolves the call in a left-recursive manner as this can have an effect of how parentheses affect the ord
parser/unparser.go:512
↓ 1 callers
Function
isLegacyNullable
isLegacyNullable preserves the null-ness compatibility of the original type-checker implementation.
checker/types.go:258
↓ 1 callers
Function
isListOperand
isListOperand reports whether the operand of a total is a list, whose elements are its entire content, rather than a map, whose values are only part o
common/cost/helper.go:184
↓ 1 callers
Method
isLocalVar
(name string)
interpreter/planner.go:979
↓ 1 callers
Function
isLower
(r rune)
common/types/map.go:1542
↓ 1 callers
Function
isLowerPrecedence
isLowerPrecedence indicates whether the precedence of the input operator is lower precedence than the (possible) operation represented in the input Ex
parser/unparser.go:533
↓ 1 callers
Function
isMinute
(s string)
common/types/timestamp.go:127
↓ 1 callers
Function
isMonth
(s string)
common/types/timestamp.go:124
↓ 1 callers
Function
isNaN
(val ref.Val)
ext/math.go:692
↓ 1 callers
Function
isNaN
(val ref.Val)
common/stdlib/standard.go:949
↓ 1 callers
Function
isNestedComprehension
(e ast.NavigableExpr)
cel/folding.go:802
↓ 1 callers
Function
isOptimizableListAppend
isOptimizableListAppend mirrors cel-cpp's IsOptimizableListAppend. Returns whether this comprehension appears to be a standard map/filter macro imple
interpreter/planner.go:743
↓ 1 callers
Function
isOptimizableMapInsert
isOptimizableMapInsert mirrors cel-cpp's IsOptimizableMapInsert. Returns whether this comprehension appears to be a macro implementation for map tran
interpreter/planner.go:780
↓ 1 callers
Function
isOptional
(t *types.Type)
checker/types.go:42
↓ 1 callers
Function
isOptionalIndex
(i int, optIndices []int32)
cel/validator.go:424
↓ 1 callers
Function
isOptionalIndex
isOptionalIndex reports whether an overload is an optional index operation, l[?i] or m[?k], which returns an optional holding the element it selects.
common/cost/estimator.go:650
↓ 1 callers
Function
isOptionalNone
(e ast.Expr)
policy/composer.go:635
↓ 1 callers
Function
isOptionalType
isOptionalType reports whether t is an optional type with a value type.
common/cost/estimator.go:1324
↓ 1 callers
Method
isOverloadDisabled
isOverloadDisabled returns whether the overloadID is disabled in the current environment.
checker/env.go:331
↓ 1 callers
Function
isPromotedThroughNamedJSONField
isPromotedThroughNamedJSONField reports whether a promoted field is reached through an embedded struct with a json name, in which case the field is se
common/types/native.go:773
↓ 1 callers
Function
isRegexFunction
(fn, overload string)
interpreter/decorators.go:203
↓ 1 callers
Function
isRegexFunctionName
(fn string)
cel/validator.go:606
↓ 1 callers
Function
isReservedIdent
(name string)
parser/unparser.go:100
↓ 1 callers
Function
isRetryable
(err *types.Err)
cel/async/async.go:229
↓ 1 callers
Function
isScalar
isScalar returns true if the given type is known to be of a constant size at compile time. isScalar will return false for strings (they are variable-w
common/cost/estimator.go:1339
↓ 1 callers
Function
isSecond
isSecond permits 60 for a leap second.
common/types/timestamp.go:130
↓ 1 callers
Function
isSelfEqualIdent
isSelfEqualIdent indicates whether the expression is an identifier whose static type guarantees that its runtime value is equal to itself. Matching a
cel/folding.go:742
↓ 1 callers
Function
isSelfEqualType
isSelfEqualType indicates whether all runtime values of the given type are equal to themselves.
cel/folding.go:754
↓ 1 callers
Function
isSkippedField
isSkippedField reports whether the field, or any embedded struct through which it is promoted, satisfies the skip predicate.
common/types/native.go:730
↓ 1 callers
Method
isStructCreationAhead
isStructCreationAhead checks whether the current identifier is the root of a struct/message creation expression (`CreateMessage` in grammar: `'.'? IDE
parser/pratt_parser.go:220
↓ 1 callers
Method
isTokenTimeValid
(tok *Token)
ext/security/jwt/jwt.go:236
↓ 1 callers
Function
isValidObjectType
(refType reflect.Type)
common/types/native.go:1594
↓ 1 callers
Function
isValidTypeSubstitution
isValidTypeSubstitution returns whether t2 (or its type substitution) is a valid type substitution for t1, and whether t2 has a type substitution in m
checker/types.go:206
↓ 1 callers
Function
isWellKnownType
(t *types.Type)
checker/checker.go:732
↓ 1 callers
Function
isWhitespace
(c byte)
common/env/io.go:382
↓ 1 callers
Function
isYear
(s string)
common/types/timestamp.go:123
↓ 1 callers
Function
join
(strs []string)
ext/strings.go:797
↓ 1 callers
Function
joinSeparator
(strs []string, separator string)
ext/strings.go:793
↓ 1 callers
Function
joinValSeparator
(strs traits.Lister, separator string)
ext/strings.go:801
↓ 1 callers
Function
jsonFieldType
(t reflect.Type, name string)
common/env/io.go:445
↓ 1 callers
Function
jsonFieldsOf
jsonFieldsOf determines the fields of a struct which are included when serializing to JSON (and by extension YAML), along with their serialized names.
common/types/native.go:682
↓ 1 callers
Function
jsonList
(t *testing.T, elems []any)
common/types/pb/type_test.go:645
↓ 1 callers
Function
k8sParserOpts
()
conformance/policy/policy_conformance_test.go:168
↓ 1 callers
Method
keyToFoldAny
(k K)
common/types/map.go:673
↓ 1 callers
Function
kindOf
kindOf returns the kind of the type as defined in the checked.proto.
checker/format.go:183
↓ 1 callers
Function
lastIgnored
(stack []string, name string)
common/ast/equiv.go:189
↓ 1 callers
Function
lastIndexOf
(str, substr string)
ext/strings.go:672
↓ 1 callers
Method
lateBoundBinding
lateBoundBinding returns the runtime binding for an overload whose implementation is supplied by the activation at evaluation time. There is no imple
common/decls/decls.go:906
↓ 1 callers
Method
lateBoundDispatcher
lateBoundDispatcher creates the runtime signature check for a late-bound overload.
common/decls/decls.go:917
↓ 1 callers
Method
lateBoundDispatcher
lateBoundDispatcher creates a runtime dispatcher over the late-bound overloads of the function. This mirrors the dynamic dispatch performed for funct
common/decls/decls.go:930
↓ 1 callers
Method
launch
launch returns a call's cached result, or starts the call (subject to the launch limiter) and returns an Unknown referencing its callID while the resu
interpreter/async.go:331
↓ 1 callers
Function
legacyInTimeZone
legacyInTimeZone resolves a timezone argument the way cel-go did before v0.31.0: numeric offsets of the form [+-]HH:MM are not range checked.
cel/timestamp_legacy.go:65
↓ 1 callers
Function
legacyTimestampAccessor
legacyTimestampAccessor builds a binding for a timestamp accessor with a timezone argument.
cel/timestamp_legacy.go:95
↓ 1 callers
Function
legacyTimezoneOverload
(function, overloadID string, get func(time.Time) int)
cel/timestamp_legacy.go:105
↓ 1 callers
Function
limitIDByName
(name string)
cel/options.go:146
↓ 1 callers
Function
limitNameByID
(id limitID)
cel/options.go:141
↓ 1 callers
Method
listAdapter
()
common/types/list.go:225
↓ 1 callers
Function
listDistinctCostModel
listDistinctCostModel models l.distinct(): it compares every pair of elements. Its tracker raises the factor for string and bytes elements, which a mo
ext/lists.go:1257
↓ 1 callers
Function
listElementNode
(list cost.AstNode)
common/cost/cost_test.go:710
↓ 1 callers
Function
listFlattenCostModel
(id string, legacy bool)
ext/lists.go:1288
↓ 1 callers
Function
listFlattenDepthCostModel
(id string, legacy bool)
ext/lists.go:1300
↓ 1 callers
Function
listJoinCostModel
listJoinCostModel models l.join(): it reads the list once and builds the concatenated result.
ext/strings.go:969
↓ 1 callers
Function
listJoinStringCostModel
listJoinStringCostModel models l.join(delim): it reads the list once and builds the result with delimiters between elements.
ext/strings.go:979
↓ 1 callers
Function
listReverseCostModel
(id string)
ext/lists.go:1246
↓ 1 callers
Function
listSetOpCostModel
(id string, costFactor float64)
ext/lists.go:1350
↓ 1 callers
Function
listSliceCostModel
listSliceCostModel models l.slice(start, end): it copies end - start elements of the receiver, and its size is also at most the receiver's.
ext/lists.go:1228
↓ 1 callers
Function
listSortCostModels
(legacy bool)
ext/lists.go:1329
↓ 1 callers
Function
listStringOrError
(strs []string, err error)
ext/guards.go:46
↓ 1 callers
Function
listsCostAllowlistV0
listsCostAllowlistV0 returns the legacy violations for a lists library version under ModelVersion0.
common/cost/cost_bounds_test.go:599
↓ 1 callers
Function
listsExprs
listsExprs returns the list extension calls to check. Functions are gated by the version that introduced them: slice at v0, flatten at v1, sort/sortBy
common/cost/cost_bounds_test.go:283
↓ 1 callers
Function
listsRangeCostModel
listsRangeCostModel models lists.range(n): it builds n ints, each of size 1 under both built-in strategies.
ext/lists.go:1239
↓ 1 callers
Function
literalFlattenLengthAnyDepth
literalFlattenLengthAnyDepth bounds the flattened length of a fully literal list over every depth: the depths which expand a level of the literal, of
ext/lists.go:1084
↓ 1 callers
Function
literalFlattenLengthWithin
literalFlattenLengthWithin is literalFlattenLength for flattening which expands at most maxFlattenLevels levels of the literal.
ext/lists.go:1074
↓ 1 callers
Method
loadContainerOption
(idx int, args []string)
repl/evaluator.go:1179
↓ 1 callers
Method
loadDescriptorFromFile
(p string, textfmt bool)
repl/evaluator.go:1297
↓ 1 callers
Method
loadDescriptorFromPackage
(pkg string)
repl/evaluator.go:1261
↓ 1 callers
Method
loadDescriptors
(args []string)
repl/evaluator.go:1306
↓ 1 callers
Method
loadExtensionOption
(idx int, args []string)
repl/evaluator.go:1194
↓ 1 callers
Method
loadExtensionOptionType
(extType string)
repl/evaluator.go:1214
↓ 1 callers
Function
loadFileDescriptorSet
(path string, textfmt bool)
repl/evaluator.go:1229
↓ 1 callers
Function
locationCodeEnvOption
()
policy/test/cel_test_runner.go:36
↓ 1 callers
Function
locationCodeEnvOption
()
conformance/policy/policy_conformance_test.go:153
↓ 1 callers
Method
lookupFunction
lookupFunction returns a Decl proto for typeName as a function in env. Returns nil if no such function is found in env.
checker/env.go:257
↓ 1 callers
Method
lookupLocal
(name string)
policy/composer.go:143
↓ 1 callers
Method
lookupRefVal
lookupRefVal performs a direct map lookup for maps whose key type K is ref.Val.
common/types/map.go:850
↓ 1 callers
Function
lowerASCII
(str string)
ext/strings.go:720
↓ 1 callers
Function
makeExprMessageType
(structType string)
common/types/provider.go:950
↓ 1 callers
Method
makeFieldGetter
(refField reflect.StructField)
common/types/native.go:1023
↓ 1 callers
Method
makeFieldTester
(refField reflect.StructField)
common/types/native.go:973
↓ 1 callers
Function
makeMatcher
(locale string)
ext/formatting.go:259
↓ 1 callers
Function
makeParamVar
(env *cel.Env, id string, t *envlib.TypeDesc)
repl/evaluator.go:129
↓ 1 callers
Function
makeRefFieldType
(t *exprpb.Type, isSet ref.FieldTester, getFrom ref.FieldGetter, isJSONField bool)
common/types/provider.go:962
↓ 1 callers
Function
mapFieldGetter
(t *NativeType, refField reflect.StructField, offset uintptr, expectedPtrTyp, expectedStructTyp unsafe.Pointer
common/types/native.go:958
↓ 1 callers
Method
match
(c rune)
parser/lexer.go:265
↓ 1 callers
Method
matchIgnoreCase
(c rune)
parser/lexer.go:269
↓ 1 callers
Function
matchInConstantList
(a *ast.AST)
ext/sets.go:160
← previous
next →
3,201–3,300 of 9,178, ranked by callers