1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:18:33 -06:00
go/refactor/eg/testdata
Colin 2226533658 refactor/eg: Add support for multi line after statements to eg.
The semantics of this change are that the last line will be subsituted
in place of the expression, where as the lines before that will undergo
variable substitution and be prepended before the lowest (in the AST
tree sense) statement which included the expression.

Change-Id: Ie2571934dcc1b0a30b5cec157e690924a4ac2c5a
Reviewed-on: https://go-review.googlesource.com/77730
Reviewed-by: Alan Donovan <adonovan@google.com>
2018-03-19 17:51:41 +00:00
..
A1.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
A1.golden refactor/eg: use format.Node not printer.Fprint for canonical output 2015-03-02 19:38:58 +00:00
A2.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
A2.golden refactor/eg: use format.Node not printer.Fprint for canonical output 2015-03-02 19:38:58 +00:00
A.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
B1.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
B1.golden go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
B.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
bad_type.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
C1.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
C1.golden go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
C.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
D1.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
D1.golden refactor/eg: use format.Node not printer.Fprint for canonical output 2015-03-02 19:38:58 +00:00
D.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
E1.go go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
E1.golden refactor/eg: use format.Node not printer.Fprint for canonical output 2015-03-02 19:38:58 +00:00
E.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
expr_type_mismatch.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
F1.go all: update links from code.google.com to new homes 2014-12-12 03:10:55 +00:00
F1.golden all: update links from code.google.com to new homes 2014-12-12 03:10:55 +00:00
F.template go.tools/refactor/eg: Support promoted fields and methods. 2014-08-25 16:26:54 -04:00
G1.go refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
G1.golden refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
G.template refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
H1.go refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
H1.golden refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
H.template refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
I1.go refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
I1.golden refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
I.template refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
J1.go refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
J1.golden refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
J.template refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
no_after_return.template refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
no_before.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
type_mismatch.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00