aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/helper-simple-access/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/helper-simple-access/README.md')
-rw-r--r--node_modules/@babel/helper-simple-access/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/@babel/helper-simple-access/README.md b/node_modules/@babel/helper-simple-access/README.md
new file mode 100644
index 00000000..81660daf
--- /dev/null
+++ b/node_modules/@babel/helper-simple-access/README.md
@@ -0,0 +1,26 @@
+# @babel/helper-simple-assignment
+
+There are many cases where it is hard to perform transformations because a
+piece of code is using complex structures. Say you want to rewrite all accesses
+to a given variable, and there are cases like
+
+```
+i += 1
+--i;
+```
+
+It is difficult to work with.
+
+This helper can handle converting these to simple access patterns of standard
+assignment. This plugin does _not_ handle
+
+```
+{ a } = foo;
+```
+
+so assignment to patterns still needs to be handled when you are processing
+updates to values.
+
+## Usage
+
+TODO