15 Commits

Author SHA1 Message Date
Sebastian McKenzie
6e5917e537 make array comprehensions use for-of unless using an array literal - fixes #98 2014-11-03 21:15:49 +11:00
Sebastian McKenzie
ea7ac4cd2d change acorn-ast-types to internal builders 2014-10-30 13:09:12 +11:00
Sebastian McKenzie
5f8420f23e move from ast-types and recast to acorn-ast-types and acorn-recast 2014-10-23 09:00:27 +11:00
Sebastian McKenzie
ddefc09510 fix linting errors 2014-10-19 19:23:13 +11:00
Sebastian McKenzie
45bab5709f change require("recast").types to require("ast-types") 2014-10-19 17:52:41 +11:00
Sebastian McKenzie
1f274a3b95 monkeypatch in acorn instead of esprima - immediately fixes #38, fixes #67 @thejameskyle 2014-10-19 13:21:56 +11:00
Sebastian McKenzie
428d53a50d fix jshint errors 2014-10-13 14:45:22 +11:00
Sebastian McKenzie
e00ba1d8bb remove array comprehension if template as it's nastier than using ast-types 2014-10-13 14:11:20 +11:00
Sebastian McKenzie
4f14810321 remove completed todo 2014-10-13 05:35:59 +11:00
Sebastian McKenzie
3d2c41bb5a dry up array comprehension and arrow functions by introducing an alias-functions transformer 2014-10-13 05:35:26 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
05c037d2d4 move transformers over to using ast-types when constructing new nodes 2014-10-01 11:01:49 +10:00
Sebastian McKenzie
908beea515 dry up array comprehension for single block 2014-09-29 16:27:35 +10:00
Sebastian McKenzie
74a661bf44 implement array comprehension 2014-09-29 15:35:03 +10:00
Sebastian McKenzie
b9ed7f0cb2 add array comprehension and property name shorthand 2014-09-29 03:11:59 +10:00