20 Commits

Author SHA1 Message Date
Sebastian McKenzie
7c84af2ba8 remove optional computed property in b.memberExpression 2014-10-30 17:38:05 +11:00
Sebastian McKenzie
e797be518f move some util and traverse methods into types 2014-10-30 13:26:06 +11:00
Sebastian McKenzie
ea7ac4cd2d change acorn-ast-types to internal builders 2014-10-30 13:09:12 +11:00
Sebastian McKenzie
2cffad61fa more reliable destructuring building 2014-10-28 13:16:31 +11:00
Sebastian McKenzie
dcc5eaa95e support MemberExpressions in destructuring - fixes #100 2014-10-28 10:52:24 +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
45bab5709f change require("recast").types to require("ast-types") 2014-10-19 17:52:41 +11:00
Sebastian McKenzie
d412f46696 rename util.isPattern to traverse.isPattern 2014-10-13 20:13:10 +11:00
Sebastian McKenzie
0859d0a122 fix uncovered branch in destructuring 2014-10-13 14:55:36 +11:00
Sebastian McKenzie
8bc182fdb5 use ast-types instead of using a template 2014-10-13 14:25:00 +11:00
Sebastian McKenzie
964f50bdc8 remove ast-types dependency and use the exported recast ast-types 2014-10-13 14:11:08 +11:00
Sebastian McKenzie
a6ffde6e9b add traversal node aliases to be dry 2014-10-13 05:34:46 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
ab46a26508 treat arrow functions as another function type when transforming 2014-10-11 14:08:53 +11:00
Sebastian McKenzie
fd2187b37d ensure BlockStatement when we're going to be pushing nodes 2014-10-09 22:58:36 +11:00
Sebastian McKenzie
83487f22a7 support destructuring in For*Statements 2014-10-09 22:41:12 +11:00
Sebastian McKenzie
4df2333938 support destructuring in AssignmentStatement and ForOf loops 2014-10-09 22:26:23 +11:00
Sebastian McKenzie
7ee8f8ff3d support destructuring in parameter lists - closes #19 2014-10-09 13:52:40 +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
0e19006641 add destructuring support 2014-09-29 18:29:08 +10:00