14302 Commits

Author SHA1 Message Date
Sebastian McKenzie
73b8daf370 add generators support via regenerator 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
7db9abb9dd fix jshint errors 2014-10-14 14:58:17 +11:00
Sebastian McKenzie
835cfd2a15 add hasSpread helper to spread transformer 2014-10-14 14:58:17 +11:00
Sebastian McKenzie
e97086f5f7 always slice spread literals 2014-10-14 14:58:17 +11:00
Sebastian McKenzie
3b22cb283b use templates instead of separate declarations logic 2014-10-14 14:58:17 +11:00
Sebastian McKenzie
8579755beb Merge pull request #63 from thejameskyle/comment-tests
Fix comment test directory names
2014-10-14 09:58:54 +11:00
James Kyle
8a73f6df65 fix comment test directory names 2014-10-13 15:43:43 -07:00
Sebastian McKenzie
6af0ffd97e nicer automatic reference variables for comptued property names and property method assignment #54 2014-10-14 08:50:34 +11:00
Sebastian McKenzie
1f61e7675b add file alias declarations so we can alias certain long function calls - resolves #62 2014-10-14 08:49:53 +11:00
Sebastian McKenzie
5f00f74aba v1.8.4 2014-10-14 08:07:07 +11:00
Sebastian McKenzie
a9d101e3da support nested arrow functions - fixes #60 2014-10-14 08:07:03 +11:00
Max Schaefer
d525c45644 Add option for representing parenthesized expressions in the AST. 2014-10-13 12:19:39 +02:00
Max Schaefer
e9c7209f8b Guard against missing elements in array patterns when checking function parameters. 2014-10-13 12:17:29 +02:00
Sebastian McKenzie
b377278c2c v1.8.3 2014-10-13 20:13:25 +11:00
Sebastian McKenzie
0056b0fcd6 nicer exec test option 2014-10-13 20:13:20 +11:00
Sebastian McKenzie
d412f46696 rename util.isPattern to traverse.isPattern 2014-10-13 20:13:10 +11:00
Sebastian McKenzie
bcfd5999d6 add more pending tests 2014-10-13 20:12:58 +11:00
Sebastian McKenzie
7bb53314a8 move util.isPattern to traverse.isPattern 2014-10-13 20:12:28 +11:00
Sebastian McKenzie
2d3a82a8d6 Merge pull request #59 from ahomu/master
Fix typo `writable`
2014-10-13 20:11:18 +11:00
ahomu
9f267e54a9 fix typo writable
s/writeable/writable
2014-10-13 17:18:56 +09:00
Sebastian McKenzie
92a7d1bcb9 v1.8.2 2014-10-13 16:36:12 +11:00
Sebastian McKenzie
5accf49ebf fix mutatormap property bug 2014-10-13 16:36:07 +11:00
Sebastian McKenzie
647e33ef96 v1.8.1 2014-10-13 15:47:35 +11:00
Sebastian McKenzie
9d18905ce9 output shebang in transpiled code - fixes #55 2014-10-13 15:47:22 +11:00
Sebastian McKenzie
a4575f5778 v1.8.0 2014-10-13 14:58:27 +11:00
Sebastian McKenzie
c8902a941c add jshint to make test 2014-10-13 14:58:12 +11:00
Sebastian McKenzie
0859d0a122 fix uncovered branch in destructuring 2014-10-13 14:55:36 +11:00
Sebastian McKenzie
d76ef98f08 add pending util tests 2014-10-13 14:55:05 +11:00
Sebastian McKenzie
4bb3f1e25e add pending traverse tests 2014-10-13 14:55:00 +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
08a820a0af add versions to benchmark output 2014-10-13 14:34:47 +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
c28e78ecff add readme to npm - fixes #56 2014-10-13 12:07:42 +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
9b6d36bb91 fix missing util.formatJSON call 2014-10-13 04:49:38 +11:00
Sebastian McKenzie
79f2dbb8d7 better let scoping CallExpression comments and layout 2014-10-13 04:48:44 +11:00