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

Method Key

common/ast/expr.go:227–227  ·  view source on GitHub ↗

Key returns the map entry key expression.

()

Source from the content-addressed store, hash-verified

225type MapEntry interface {
226 // Key returns the map entry key expression.
227 Key() Expr
228
229 // Value returns the map entry value expression.
230 Value() Expr

Callers 15

VisitEntryExprMethod · 0.65
planCreateMapMethod · 0.65
pruneMethod · 0.65
visitFunction · 0.65
costCreateMapMethod · 0.65
checkCreateMapMethod · 0.65
visitStructMapMethod · 0.65
CopyMethod · 0.65
verifyStringMethod · 0.65
verifyStringMethod · 0.65
convertToCelTypeFunction · 0.65
isSupportedTypeFunction · 0.65

Implementers 2

baseMapEntrycommon/ast/expr.go
navigableEntryImplcommon/ast/navigable.go

Calls

no outgoing calls

Tested by 3

TestMapFunction · 0.52
TestMapEntryNilFunction · 0.52
TestNavigableMapExprFunction · 0.52