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

Method AsStructField

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

Source from the content-addressed store, hash-verified

785}
786
787func (e *entryExpr) AsStructField() StructField {
788 if e.Kind() != StructFieldKind {
789 return nilStructField
790 }
791 return e.entryExprKindCase.(StructField)
792}
793
794func (e *entryExpr) RenumberIDs(idGen IDGenerator) {
795 e.id = idGen(e.id)

Callers

nothing calls this directly

Calls 1

KindMethod · 0.65

Tested by

no test coverage detected