Sebastian McKenzie
|
d412f46696
|
rename util.isPattern to traverse.isPattern
|
2014-10-13 20:13:10 +11:00 |
|
Sebastian McKenzie
|
7bb53314a8
|
move util.isPattern to traverse.isPattern
|
2014-10-13 20:12:28 +11:00 |
|
ahomu
|
9f267e54a9
|
fix typo writable
s/writeable/writable
|
2014-10-13 17:18:56 +09:00 |
|
Sebastian McKenzie
|
5accf49ebf
|
fix mutatormap property bug
|
2014-10-13 16:36:07 +11:00 |
|
Sebastian McKenzie
|
9d18905ce9
|
output shebang in transpiled code - fixes #55
|
2014-10-13 15:47:22 +11:00 |
|
Sebastian McKenzie
|
0859d0a122
|
fix uncovered branch in destructuring
|
2014-10-13 14:55:36 +11:00 |
|
Sebastian McKenzie
|
428d53a50d
|
fix jshint errors
|
2014-10-13 14:45:22 +11:00 |
|
Sebastian McKenzie
|
453502b4f2
|
add Transformer class that deals with running a transformer against a File
|
2014-10-13 14:45:15 +11:00 |
|
Sebastian McKenzie
|
39959e5549
|
more traverse comments
|
2014-10-13 14:38:25 +11:00 |
|
Sebastian McKenzie
|
eaf98de962
|
normalise transformers to improve performance
|
2014-10-13 14:36:11 +11:00 |
|
Sebastian McKenzie
|
8b7d58fc1f
|
add ignore to dotfile templates
|
2014-10-13 14:25:19 +11:00 |
|
Sebastian McKenzie
|
8bc182fdb5
|
use ast-types instead of using a template
|
2014-10-13 14:25:00 +11:00 |
|
Sebastian McKenzie
|
0ce6f21a14
|
remove unused templates
|
2014-10-13 14:24:47 +11:00 |
|
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
|
51db2ee136
|
support shebangs - fixes #55
|
2014-10-13 11:55:33 +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
|
737c349775
|
add util.isReferenced to check if a node is directly referenced
|
2014-10-13 05:34:18 +11:00 |
|
Sebastian McKenzie
|
3bc5373bc2
|
fix node require
|
2014-10-13 05:33:52 +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
|
b937db2121
|
generate sourcemap for register and save it
|
2014-10-13 03:28:56 +11:00 |
|
Sebastian McKenzie
|
184e82f718
|
add jshint and change root file from node.js to index.js
|
2014-10-13 03:28:36 +11:00 |
|
Sebastian McKenzie
|
252e9eea39
|
remove id from class template
|
2014-10-13 03:27:42 +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
|
4a1496ee05
|
remove traversal and removal of EmptyStatements and add source map testing support
|
2014-10-12 13:42:27 +11:00 |
|
Sebastian McKenzie
|
86903f1087
|
remove unused formatJSON method, more reliable parse errors
|
2014-10-12 13:41:52 +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
|
16010575b5
|
add missing util tests and remove dead util methods
|
2014-10-11 23:39:56 +11:00 |
|
Sebastian McKenzie
|
2dbdb9e3a5
|
support patterns in constants
|
2014-10-11 23:31:53 +11:00 |
|
Sebastian McKenzie
|
01413e5153
|
recapture stack trace in case the stack was built prior
|
2014-10-11 22:40:09 +11:00 |
|
Sebastian McKenzie
|
9a8dfd105e
|
add jsx to canCompile
|
2014-10-11 22:00:22 +11:00 |
|
Sebastian McKenzie
|
1571ba2045
|
add sourceMapName and sourceFileName options, make them default to the filename option - resolves #44
|
2014-10-11 15:01:42 +11:00 |
|
Sebastian McKenzie
|
298184763a
|
remove ast option and always return it
|
2014-10-11 14:28:41 +11:00 |
|
Sebastian McKenzie
|
ab46a26508
|
treat arrow functions as another function type when transforming
|
2014-10-11 14:08:53 +11:00 |
|