1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:04:40 -07:00
go/importer
Alan Donovan 69ce87a6c1 go.tools/ssa: some refactorings
ssa:
- Prog.CreatePackages inlined into all callers.
- Prog.CreatePackage is now exposed; idempotent; and checks for errors.
- '*address' not 'address' now implements lvalue (since it's 6 words).
- removed types.Method case from createMemberFromObject.

importer:
- added importer.PackageInfo.String method.
- simplifed importer.PackageInfo by putting types.Info in it.
- removed obsolete precondition from IsType.

R=gri
CC=golang-dev
https://golang.org/cl/11408045
2013-07-18 16:59:06 -04:00
..
importer.go go.tools/ssa: some refactorings 2013-07-18 16:59:06 -04:00
pkginfo.go go.tools/ssa: some refactorings 2013-07-18 16:59:06 -04:00
source_test.go go.tools/ssa: some refactorings 2013-07-18 16:59:06 -04:00
source.go go.tools/ssa: move pure-AST functions to importer package. 2013-07-15 18:09:18 -04:00
util.go go.tools/ssa: some refactorings 2013-07-18 16:59:06 -04:00