MCPcopy 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
350func (e *expr) AsIdent() string {
351 if e.Kind() != IdentKind {
352 return ""
353 }
354 return string(e.exprKindCase.(baseIdentExpr))
355}
356
357func (e *expr) AsLiteral() ref.Val {
358 if e.Kind() != LiteralKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected