17 Commits

Author SHA1 Message Date
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
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
21ed438fd8 alias functions in scope call wrapping - fixes #99 2014-10-28 10:58:20 +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
0188556b36 forbid function declarations that reference block scoped variables 2014-10-17 21:19:51 +11:00
Sebastian McKenzie
aeac003dc8 add util.ensureExpressionType which will change a node from a declaration to an expression 2014-10-17 11:48:25 +11:00
Sebastian McKenzie
41ab47dde8 allow let scope access within FunctionDeclaration, add _block-hoist helper transformer - fixes #77 2014-10-17 11:09:49 +11:00
Sebastian McKenzie
7f6bf078c0 avoid duplicate let references - fixes #66 2014-10-14 18:14:25 +11:00
Sebastian McKenzie
428d53a50d fix jshint errors 2014-10-13 14:45:22 +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
3d2c41bb5a dry up array comprehension and arrow functions by introducing an alias-functions transformer 2014-10-13 05:35:26 +11:00
Sebastian McKenzie
79f2dbb8d7 better let scoping CallExpression comments and layout 2014-10-13 04:48:44 +11:00
Sebastian McKenzie
da4a5d48ad much better let scoping without wrapping functions #52 #49 #24 2014-10-13 04:37:28 +11:00
Sebastian McKenzie
8f587fa833 rename block binding to let scoping 2014-10-13 03:26:13 +11:00