Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ AsStruct
Method
AsStruct
common/ast/expr.go:385–390 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
383
}
384
385
func
(e *expr) AsStruct() StructExpr {
386
if
e.Kind() != StructKind {
387
return
nilStruct
388
}
389
return
e.exprKindCase.(StructExpr)
390
}
391
392
func
(e *expr) SetKindCase(other Expr) {
393
if
e == nil {
Callers
nothing calls this directly
Calls
1
Kind
Method · 0.95
Tested by
no test coverage detected