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

Method AsMapEntry

common/ast/expr.go:780–785  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778}
779
780func (e *entryExpr) AsMapEntry() MapEntry {
781 if e.Kind() != MapEntryKind {
782 return nilMapEntry
783 }
784 return e.entryExprKindCase.(MapEntry)
785}
786
787func (e *entryExpr) AsStructField() StructField {
788 if e.Kind() != StructFieldKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.65

Tested by

no test coverage detected