14 Commits

Author SHA1 Message Date
Sebastian McKenzie
209093a3f0 move ImportbatchSpecifier definition to modules transformer 2014-10-19 15:23:37 +11:00
Sebastian McKenzie
a1adca6b65 add support for custom module formatters - #82 2014-10-19 12:11:12 +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
964f50bdc8 remove ast-types dependency and use the exported recast ast-types 2014-10-13 14:11:08 +11:00
Sebastian McKenzie
fae60291b3 remove unused path variable 2014-10-13 03:27:01 +11:00
Sebastian McKenzie
db490b4be7 fix getSpecifierName 2014-10-10 16:38:22 +11:00
Sebastian McKenzie
5534f99a96 add comments to display what module syntax each part handles 2014-10-10 16:05:41 +11:00
Sebastian McKenzie
8d74a4d925 hoist FunctionDeclaration exports to top, possible fix for #30 2014-10-10 14:38:46 +11:00
Sebastian McKenzie
a1bf8ab788 migrate to improved module syntax - fixes #25 2014-10-09 23:16:55 +11:00
Sebastian McKenzie
fc7c26e924 upgrade to esprima-fb - finalise es6 module syntax - closes #14 2014-10-09 13:30:22 +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
be5ebe1758 remove dead code 2014-09-29 18:29:16 +10:00
Sebastian McKenzie
c97696c224 first commit 2014-09-28 23:39:22 +10:00