1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00
go/refactor
Alan Donovan f2db24a319 go.tools/go/loader: use new types.TypeAndValue mode predicates.
PackageInfo:
- deleted IsType
- inlined + deleted: ValueOf, TypeCaseVar, ImportSpecPkg
- on failure, TypeOf accessor now returns nil (was: panic)

go/ssa: avoid extra map lookups by using Uses or Defs directly when safe to do so,
and keeping the TypeAndValue around in expr0().

LGTM=gri
R=gri, pcc
CC=golang-codereviews
https://golang.org/cl/107650043
2014-07-11 10:50:09 +01:00
..
eg go.tools/go/loader: use new types.TypeAndValue mode predicates. 2014-07-11 10:50:09 +01:00
README go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00

code.google.com/p/go.tools/refactor: libraries for refactoring tools.