MCPcopy
hub / github.com/expr-lang/expr / Key

Method Key

checker/nature/nature.go:238–243  ·  view source on GitHub ↗
(c *Cache)

Source from the content-addressed store, hash-verified

236}
237
238func (n *Nature) Key(c *Cache) Nature {
239 if n.Kind == reflect.Map {
240 return c.FromType(n.Type.Key())
241 }
242 return Nature{}
243}
244
245func (n *Nature) Elem(c *Cache) Nature {
246 switch n.Kind {

Callers 10

MemberNodeMethod · 0.80
binaryNodeMethod · 0.80
memberNodeMethod · 0.80
checkBuiltinGetMethod · 0.80
IsFastMapMethod · 0.80
StartDebuggerFunction · 0.80
useMethod · 0.80
getFunction · 0.80
FetchFunction · 0.80
InFunction · 0.80

Calls 1

FromTypeMethod · 0.80

Tested by

no test coverage detected