Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ extractIdent
Function
extractIdent
parser/macro.go:597–603 ·
view source on GitHub ↗
(e ast.Expr)
Source
from the content-addressed store, hash-verified
595
}
596
597
func
extractIdent(e ast.Expr) (string, bool) {
598
switch
e.Kind() {
599
case
ast.IdentKind:
600
return
e.AsIdent(), true
601
}
602
return
""
, false
603
}
Callers
3
MakeMap
Function · 0.70
MakeFilter
Function · 0.70
makeQuantifier
Function · 0.70
Calls
2
Kind
Method · 0.65
AsIdent
Method · 0.65
Tested by
no test coverage detected