1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:28:33 -06:00
go/refactor
Alan Donovan d73c11bfcb refactor/rename: make -from syntax support string literals for complex import paths.
(They may contain any character, after all.)

Also, allow but don't require parens and stars.
e.g. (*"encoding/json".Decoder).Decode or "encoding/json".Decoder.Decode
     but not encoding/json.Decoder.Decode.

Since -from queries are now Go expressions, we use the Go parser.
(Thanks to Rog Peppe for the suggestion.)

LGTM=sameer
R=sameer
CC=golang-codereviews, gri, rogpeppe
https://golang.org/cl/154610043
2014-10-31 15:39:22 -04:00
..
eg go.tools/go/types: LookupFieldOrMethod checks method set 2014-08-28 13:03:13 -07:00
importgraph refactor/importgraph: add test of cycles 2014-09-18 10:05:26 -04:00
lexical refactor/lexical: understand the structure of the lexical environment. 2014-09-19 13:11:01 -04:00
rename refactor/rename: make -from syntax support string literals for complex import paths. 2014-10-31 15:39:22 -04:00
satisfy refactor/satisfy: enumerate interface satisfaction constraints induced by Go syntax. 2014-09-22 16:19:29 -04: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.