120 Commits

Author SHA1 Message Date
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
964f50bdc8 remove ast-types dependency and use the exported recast ast-types 2014-10-13 14:11:08 +11:00
Sebastian McKenzie
0795693d97 nice alias function definitions 2014-10-13 12:45:52 +11:00
Sebastian McKenzie
f7a84c36cd inherit temporary computed property closure name from AssignmentExpressions and VariableDeclarators - #56 2014-10-13 12:25:40 +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
a6ffde6e9b add traversal node aliases to be dry 2014-10-13 05:34:46 +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
aa7c9488b0 hardcode aliasArguments 2014-10-13 03:27:27 +11:00
Sebastian McKenzie
fae60291b3 remove unused path variable 2014-10-13 03:27:01 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
8f587fa833 rename block binding to let scoping 2014-10-13 03:26:13 +11:00
Sebastian McKenzie
38fc5159a3 add support for ClassDeclaration and FunctionDeclaration read-only checking - fixes #53 2014-10-13 03:25:48 +11:00
Sebastian McKenzie
52d4d73f0b remove block binding because the current implementation is flaky and will have to be rewritten from scratch without the issue of wrapping functions 2014-10-12 16:18:18 +11:00
Sebastian McKenzie
73c491ecb4 better arguments aliasing for arrow functions, add it to block binding - fixes #52 2014-10-12 15:32:40 +11:00
Sebastian McKenzie
c3541a65cc remove null supername hack 2014-10-12 13:41:22 +11:00
Sebastian McKenzie
2e404c92c8 better support for Identifier in ForOfStatement 2014-10-12 13:39:59 +11:00
Sebastian McKenzie
bb697c6436 fix static member expression calls, make classes more spec-compliant 2014-10-12 13:39:10 +11:00
Sebastian McKenzie
5edbb63f9a more reliable super parsing in classes - fixes #51 2014-10-12 09:39:29 +11:00
Sebastian McKenzie
27cb0f6f87 fix blacklist traversal bug - fixes #49 2014-10-12 09:34:01 +11:00
Sebastian McKenzie
0f7da020e3 change obj references to a unique identifier 2014-10-12 00:23:13 +11:00
Sebastian McKenzie
2dbdb9e3a5 support patterns in constants 2014-10-11 23:31:53 +11:00
Sebastian McKenzie
ab46a26508 treat arrow functions as another function type when transforming 2014-10-11 14:08:53 +11:00
Sebastian McKenzie
a40cbc2cee make class methods unenumerable - fixes #41 2014-10-11 11:49:03 +11:00
Sebastian McKenzie
3fb17b00a6 fix spread and super resolution - fixes #42 2014-10-11 10:44:51 +11:00
Sebastian McKenzie
9b82c5b99c refer to parent arguments inside arrow functions - fixes #39 2014-10-11 09:29:00 +11:00
Sebastian McKenzie
35522c2ef3 static method class super references - fixes #40 2014-10-11 08:58:54 +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
fb67ab9b5d make super behaviour more spec compliant - fixes #32 2014-10-10 15:49:28 +11:00
Sebastian McKenzie
35bb0bc71d inherit super class static properties - fixes #31 2014-10-10 15:07:55 +11:00
Sebastian McKenzie
8d74a4d925 hoist FunctionDeclaration exports to top, possible fix for #30 2014-10-10 14:38:46 +11:00
Sebastian McKenzie
a484ea6003 remove traverse.replace and let traverse deal with it 2014-10-10 14:37:23 +11:00
Sebastian McKenzie
3e34bbe722 support static property on ClassMethods - fixes #28 2014-10-10 13:57:08 +11:00
Sebastian McKenzie
3cb8866fcc copy rest to class constructor - fixes #29 2014-10-10 13:51:13 +11:00
Sebastian McKenzie
9c5262baab support for non-Identifier/MemberExpression class super 2014-10-10 10:57:35 +11:00
Sebastian McKenzie
5dec694e50 fix linting errors 2014-10-10 00:51:26 +11:00
Sebastian McKenzie
a1bf8ab788 migrate to improved module syntax - fixes #25 2014-10-09 23:16:55 +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
b6e533ec5d handle ReturnStatements in block binding - closes #24 2014-10-09 20:19:22 +11:00
Sebastian McKenzie
e7ef64a5ad fix es6 visitor keys 2014-10-09 18:56:24 +11:00
Sebastian McKenzie
2a2b2c427a more specific require for regexpu to prevent unneccesary loading 2014-10-09 15:24:09 +11:00
Sebastian McKenzie
b59168832c support tagged template literals - closes #16 2014-10-09 14:35:46 +11:00
Sebastian McKenzie
21f039e775 add support for unicode regexes - closes #11 2014-10-09 14:24:04 +11:00
Sebastian McKenzie
0664ccff98 add support for member expression super classes - closes #22 2014-10-09 14:03:19 +11:00
Sebastian McKenzie
7ee8f8ff3d support destructuring in parameter lists - closes #19 2014-10-09 13:52:40 +11:00
Sebastian McKenzie
fc7c26e924 upgrade to esprima-fb - finalise es6 module syntax - closes #14 2014-10-09 13:30:22 +11:00