type go/types.Context
24 uses
go/types (current package)
alias.go#L165: func (check *Checker) newAliasInstance(pos token.Pos, orig *Alias, targs []Type, expanding *Named, ctxt *Context) *Alias {
api.go#L120: Context *Context
check.go#L156: ctxt *Context // context for de-duplicating instances
context.go#L44: type Context struct {
context.go#L58: func NewContext() *Context {
context.go#L59: return &Context{
context.go#L68: func (ctxt *Context) instanceHash(orig Type, targs []Type) string {
context.go#L90: func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type {
context.go#L111: func (ctxt *Context) update(h string, orig Type, targs []Type, inst Type) Type {
context.go#L137: func (ctxt *Context) getID(t Type) int {
instantiate.go#L55: func Instantiate(ctxt *Context, orig Type, targs []Type, validate bool) (Type, error) {
instantiate.go#L91: func (check *Checker) instance(pos token.Pos, orig genericType, targs []Type, expanding *Named, ctxt *Context) (res Type) {
instantiate.go#L97: var ctxts []*Context
instantiate.go#L212: func (check *Checker) verify(pos token.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int, error) {
named.go#L143: ctxt *Context // local Context; set to nil after full expansion
named.go#L426: var ctxt *Context
named.go#L623: func (check *Checker) context() *Context {
named.go#L669: var ctxt *Context
subst.go#L58: func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
subst.go#L89: ctxt *Context
typestring.go#L74: ctxt *Context // if non-nil, we are type hashing
typestring.go#L85: func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
golang.org/x/tools/internal/gcimporter
ureader_yes.go#L27: ctxt *types.Context
ureader_yes.go#L90: func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {