tools/importer
Robert Griesemer 6d85cc17dd go.tools/go/types: request type Info via maps instead of callbacks
Allmost all uses of go/types that wanted the type
information computed, installed callback functions
that stored the information in maps. Most of the
time this is the only thing that could be done because
there is no guarantee that types are completely set
up before the end of type-checking.

This CL removes the respective Context callbacks in favor
of corresponding maps that collect the desired information
on demand, grouped together in an optional Info struct.

R=adonovan
CC=golang-dev
https://golang.org/cl/11530044
2013-07-18 13:09:03 -07:00
..
importer.go go.tools/go/types: request type Info via maps instead of callbacks 2013-07-18 13:09:03 -07:00
pkginfo.go go.tools/ssa: fixes required by go/types CL 11317043: the last 2013-07-16 12:22:22 -04:00
source.go go.tools/ssa: move pure-AST functions to importer package. 2013-07-15 18:09:18 -04:00
source_test.go go.tools/ssa: move pure-AST functions to importer package. 2013-07-15 18:09:18 -04:00
util.go go.types/ssa: split the load/parse/typecheck logic off into a separate package. 2013-05-31 16:14:13 -04:00