Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ AsIdent
Method
AsIdent
common/ast/expr.go:350–355 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
348
}
349
350
func
(e *expr) AsIdent() string {
351
if
e.Kind() != IdentKind {
352
return
""
353
}
354
return
string(e.exprKindCase.(baseIdentExpr))
355
}
356
357
func
(e *expr) AsLiteral() ref.Val {
358
if
e.Kind() != LiteralKind {
Callers
nothing calls this directly
Calls
1
Kind
Method · 0.95
Tested by
no test coverage detected