18 Commits

Author SHA1 Message Date
Sebastian McKenzie
d28496006e implement Scope so we can keep track of references to avoid collisions when generating ids 2014-11-04 12:46:47 +11:00
Sebastian McKenzie
816c1d304b remove builders and move them to automatially generated types 2014-11-03 21:13:35 +11:00
Sebastian McKenzie
620e5791af use t.is* methods to nicen up code 2014-11-03 18:10:52 +11:00
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
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
964f50bdc8 remove ast-types dependency and use the exported recast ast-types 2014-10-13 14:11:08 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
2e404c92c8 better support for Identifier in ForOfStatement 2014-10-12 13:39:59 +11:00
Sebastian McKenzie
0f7da020e3 change obj references to a unique identifier 2014-10-12 00:23:13 +11:00
Sebastian McKenzie
5dec694e50 fix linting errors 2014-10-10 00:51:26 +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
05c037d2d4 move transformers over to using ast-types when constructing new nodes 2014-10-01 11:01:49 +10:00
Sebastian McKenzie
dbf25a82ee rename iterators to for-of 2014-09-29 18:28:51 +10:00