1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:18:33 -06:00
go/importer
Alan Donovan 0725e5a5b3 go.tools/oracle: new query 'referrers' returns all references to an identifier.
+ test.

Also:
- provide non-nil map to Importer.doImport0() to avoid a crash.
- reorganize oracle "needs" bits.
- reduce "needs" of 'freevars' and 'implements' queries by avoiding
  ssa.Packages when types.Package suffices.

R=crawshaw
CC=golang-dev
https://golang.org/cl/13421046
2013-09-10 14:11:42 -04:00
..
testdata go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer_test.go go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer.go go.tools/oracle: new query 'referrers' returns all references to an identifier. 2013-09-10 14:11:42 -04:00
pkginfo.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
source_test.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
source.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
util.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00