New Intention Action: Replace with traditional assign.

This takes an expression of the form a += b and converts it to an
expression form a = a + b.
This commit is contained in:
Pradyoth Kukkapalli
2014-04-05 01:13:49 -04:00
parent 249af96d3c
commit eb3ddf50bf
15 changed files with 145 additions and 1 deletions
@@ -0,0 +1,4 @@
fun foo() {
var x = 0
x = x + y
}
@@ -0,0 +1,4 @@
fun foo() {
var x = 0
<spot>x += y</spot>
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention modifies an expression with an augment assignment to an expression that separates the assignment and operator.
</body>
</html>