1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:18:32 -06:00
go/refactor/eg
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
..
testdata refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
eg_test.go refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
eg.go refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
match.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
rewrite.go refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00