go/types.Map.Key (method)
19 uses
go/types (current package)
map.go#L21: func (m *Map) Key() Type { return m.key }
mono.go#L239: do(typ.Key())
go.pact.im/x/plumb/internal/gotypes
cmp.go#L62: if c := CmpType(a.Key(), b.Key()); c != 0 {
subst.go#L52: return types.NewMap(s.subst(u.Key()), s.subst(u.Elem()))
unify.go#L42: return ok && Unify(p.Key(), c.Key(), params, bind) && Unify(p.Elem(), c.Elem(), params, bind)
unify.go#L169: return 1 + max(typeDepthRec(u.Key(), seen), typeDepthRec(u.Elem(), seen))
walk.go#L62: walkNamed(u.Key(), seen, visit)
walk.go#L143: return typeContains(u.Key(), seen, pred) || typeContains(u.Elem(), seen, pred)
golang.org/x/exp/apidiff
correspondence.go#L51: return d.corr(old.Key(), new.Key(), p) && d.corr(old.Elem(), new.Elem(), p)
golang.org/x/tools/go/types/objectpath
objectpath.go#L471: tr.typ(path, offset, opKey, -1, T.Key())
objectpath.go#L820: t = mapType.Key()
golang.org/x/tools/go/types/typeutil
map.go#L299: return 9109 + 2*h.hash(t.Key()) + 3*h.hash(t.Elem())
golang.org/x/tools/internal/gcimporter
iexport.go#L1073: w.typ(t.Key(), pkg)
golang.org/x/tools/internal/typeparams
free.go#L104: return w.Has(t.Key()) || w.Has(t.Elem())
golang.org/x/tools/internal/typesinternal
element.go#L92: visit(T.Key(), false)
zerovalue.go#L245: Key: TypeExpr(t.Key(), qual),