Sebastian McKenzie
|
3d5d170eff
|
move whitespace and parentheses generation logic into separate files
|
2014-11-12 00:11:34 +11:00 |
|
Sebastian McKenzie
|
0ba9216d6f
|
remove unused variables in react transformer
|
2014-11-11 19:14:00 +11:00 |
|
Sebastian McKenzie
|
9e08a6f084
|
combine jsx and react transformer so we can make the jsx output correct - #143
|
2014-11-11 19:11:30 +11:00 |
|
Sebastian McKenzie
|
b9f3f1e2a9
|
add comment inheriting to types.inherits
|
2014-11-11 19:10:41 +11:00 |
|
Sebastian McKenzie
|
54857ceac7
|
fix jsx literal generator - closes #143
|
2014-11-11 17:15:37 +11:00 |
|
Sebastian McKenzie
|
35b28cf722
|
more reliable jsx literal whitespace
|
2014-11-11 15:34:29 +11:00 |
|
Sebastian McKenzie
|
cfee68aa67
|
jsx: replace all newlines and excess whitespace with spaces - fixes #142
|
2014-11-11 15:26:25 +11:00 |
|
Sebastian McKenzie
|
7d0dae129c
|
nicer let-scoping switch
|
2014-11-11 15:25:37 +11:00 |
|
Sebastian McKenzie
|
0544e98fb1
|
add switch case generated node whitespace
|
2014-11-11 15:24:40 +11:00 |
|
Sebastian McKenzie
|
59d918ea67
|
remove unused isArray traverse.hasType
|
2014-11-11 15:23:52 +11:00 |
|
Sebastian McKenzie
|
b4232699d2
|
add newline after shebang
|
2014-11-11 15:23:31 +11:00 |
|
Sebastian McKenzie
|
4722c0ce56
|
add support for escodegen-style format options
|
2014-11-11 14:30:06 +11:00 |
|
Sebastian McKenzie
|
6f05466cf5
|
normalise windows path separators to unix
|
2014-11-11 13:36:59 +11:00 |
|
Sebastian McKenzie
|
5ae4f8eec7
|
add AwaitExpression generator
|
2014-11-11 13:05:07 +11:00 |
|
Sebastian McKenzie
|
d9a3eadad7
|
move generators transformer to bottom
|
2014-11-11 13:03:06 +11:00 |
|
Sebastian McKenzie
|
b1cc5419a4
|
add AwaitExpression visitor keys - fixes #141
|
2014-11-11 13:02:55 +11:00 |
|
Sebastian McKenzie
|
e4596f638d
|
only check string literals in property-literals transformer
|
2014-11-11 08:06:31 +11:00 |
|
Sebastian McKenzie
|
1400dee0c1
|
delegate code and opts assurance to File
|
2014-11-11 01:06:29 +11:00 |
|
Sebastian McKenzie
|
9e2fc6db9c
|
clone options - sindresorhus/grunt-6to5#7
|
2014-11-11 01:04:39 +11:00 |
|
Sebastian McKenzie
|
79045e15c5
|
remove second canCompile declaration
|
2014-11-10 16:42:04 +11:00 |
|
Sebastian McKenzie
|
8c97f1d92e
|
allow constant properties to be modified - fixes #131
|
2014-11-10 13:09:45 +11:00 |
|
Sebastian McKenzie
|
23ebb23944
|
add missing util declaration to let scoping transformer
|
2014-11-10 13:00:52 +11:00 |
|
Sebastian McKenzie
|
778cab33d5
|
move canCompile method to util
|
2014-11-10 12:59:24 +11:00 |
|
Sebastian McKenzie
|
5849c6af17
|
add canCompile method to node api
|
2014-11-10 12:58:44 +11:00 |
|
Sebastian McKenzie
|
bb0655d8f6
|
move transformer assignment to new Transformer
|
2014-11-10 08:21:35 +11:00 |
|
Sebastian McKenzie
|
9318d63b5c
|
add let-scoping-return template to let scoping transformer
|
2014-11-10 08:16:47 +11:00 |
|
Sebastian McKenzie
|
b2ab0dbedc
|
add self-global template to runtime generation
|
2014-11-10 08:16:38 +11:00 |
|
Sebastian McKenzie
|
e0d3e18865
|
add allowReturnOutsideFunction to util.parse and make nodes optional in util.template
|
2014-11-10 08:16:22 +11:00 |
|
Sebastian McKenzie
|
40fdd2a828
|
dry up types.getIds
|
2014-11-10 00:51:46 +11:00 |
|
Sebastian McKenzie
|
7adc919bb6
|
remove invalid ObjectPattern destructuring assignment
|
2014-11-10 00:18:01 +11:00 |
|
Sebastian McKenzie
|
361ef02a88
|
support ParenthesizedExpression in types.getIds
|
2014-11-09 22:26:48 +11:00 |
|
Sebastian McKenzie
|
fa26174d3f
|
better isParenthesizedExpression support for destructuring
|
2014-11-09 22:10:59 +11:00 |
|
Sebastian McKenzie
|
a47723c66c
|
fix destructuring to support ParanthesizedExpression
|
2014-11-09 21:37:59 +11:00 |
|
Sebastian McKenzie
|
ab2f652bdf
|
break up let scoping transformer some more
|
2014-11-09 21:25:14 +11:00 |
|
Sebastian McKenzie
|
5aff7709f7
|
add back _property-literals transformer that somehow disappeared?
|
2014-11-09 21:25:05 +11:00 |
|
Sebastian McKenzie
|
06ba731452
|
traverse: pass opts.scope instead of opts
|
2014-11-09 21:24:48 +11:00 |
|
Sebastian McKenzie
|
f4c81531ad
|
break up let scoping
|
2014-11-09 20:31:46 +11:00 |
|
Sebastian McKenzie
|
19b115c76b
|
generator: dry up ForXStatements and *Statements
|
2014-11-09 20:31:36 +11:00 |
|
Sebastian McKenzie
|
8f435d59da
|
change sebmck to new 6to5 org
|
2014-11-09 20:08:36 +11:00 |
|
Sebastian McKenzie
|
b217453d49
|
clean up runtime generation declarations
|
2014-11-09 18:22:26 +11:00 |
|
Sebastian McKenzie
|
85d7da9a7c
|
fix comment space column bug
|
2014-11-09 18:22:04 +11:00 |
|
Sebastian McKenzie
|
98df094e60
|
fix cached templates exporting
|
2014-11-09 16:40:37 +11:00 |
|
Sebastian McKenzie
|
4bae820a5a
|
remove Error.captureStackTrace monkey patch as it's no longer necessary with the latest ast-types
|
2014-11-09 16:37:47 +11:00 |
|
Sebastian McKenzie
|
a90da9908c
|
only prepend whitespace to properties if we're the first
|
2014-11-09 16:28:56 +11:00 |
|
Sebastian McKenzie
|
e3c6ee5c88
|
only use needsParens if the node has changed parent
|
2014-11-09 16:28:05 +11:00 |
|
Sebastian McKenzie
|
8c40db5658
|
use Program builder
|
2014-11-09 16:27:39 +11:00 |
|
Sebastian McKenzie
|
4d59976d82
|
remove _parent from nodes in traverse.removeProperties
|
2014-11-09 16:27:31 +11:00 |
|
Sebastian McKenzie
|
83286cccd2
|
use file node builder and save parents to ast tree
|
2014-11-09 16:26:52 +11:00 |
|
Sebastian McKenzie
|
de7edcaeb0
|
finalize ast-types
|
2014-11-09 16:26:32 +11:00 |
|
Sebastian McKenzie
|
6c8db61b23
|
switch to regenerator-6to5
|
2014-11-09 16:26:27 +11:00 |
|