1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:54:40 -07:00
go/oracle/json
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
..
json.go go.tools/oracle: new query 'referrers' returns all references to an identifier. 2013-09-10 14:11:42 -04:00