MCPcopy Create free account
hub / github.com/cel-expr/cel-go / isCELNamespace

Function isCELNamespace

conformance/conformance_test.go:403–405  ·  view source on GitHub ↗
(target ast.Expr)

Source from the content-addressed store, hash-verified

401}
402
403func isCELNamespace(target ast.Expr) bool {
404 return target.Kind() == ast.IdentKind && target.AsIdent() == "cel"
405}
406
407func isNonNegativeInt(expr ast.Expr) bool {
408 if expr.Kind() != ast.LiteralKind {

Callers 3

celBlockFunction · 0.85
celIndexFunction · 0.85
celCompreVarFunction · 0.85

Calls 2

KindMethod · 0.65
AsIdentMethod · 0.65

Tested by

no test coverage detected