Alex Lam S.L
d68d155f93
support class literals ( #4658 )
2021-02-23 22:55:08 +08:00
Alex Lam S.L
c21f096ab8
support export statements ( #4650 )
2021-02-15 04:13:54 +08:00
Alex Lam S.L
b7219ac489
support import statements ( #4646 )
2021-02-14 04:26:43 +08:00
Alex Lam S.L
e13d1e9969
support for [await]...of statements ( #4627 )
2021-02-09 04:28:23 +08:00
Alex Lam S.L
fd4caf7a9c
support generator functions ( #4620 )
2021-02-08 06:44:20 +08:00
Alex Lam S.L
d4685640a0
support template literals ( #4601 )
2021-02-01 10:36:45 +08:00
Alex Lam S.L
ba54d074d8
support asynchronous arrow functions ( #4530 )
2021-01-10 11:34:26 +08:00
Alex Lam S.L
c3d358a5b8
support rest parameters ( #4515 )
2021-01-07 10:04:09 +08:00
Alex Lam S.L
2390fae5c4
support default values ( #4442 )
2020-12-24 06:22:55 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00
Alex Lam S.L
2cbbf5c375
support async function ( #4333 )
2020-12-07 05:22:40 +08:00
Alex Lam S.L
1e4985ed9e
support spread syntax ( #4328 )
2020-12-06 05:19:31 +08:00
Alex Lam S.L
e5f80afc53
support destructured literals ( #4278 )
2020-11-17 08:01:24 +08:00
Alex Lam S.L
91fc1c82b5
support computed property name in object literal ( #4268 )
2020-11-08 23:38:32 +08:00
Alex Lam S.L
8f0521d51d
retrofit try-catch-finally as block-scoped ( #4178 )
...
- support optional catch binding
2020-10-05 05:30:14 +08:00
Alex Lam S.L
6bf1486935
update links to repository after rename ( #3847 )
2020-05-05 21:07:33 +08:00
Alex Lam S.L
551420132c
export missing API for AST manipulation ( #3707 )
2020-02-06 18:46:25 +00:00
Alex Lam S.L
9e19e63551
general clean-ups ( #3175 )
2018-06-06 17:50:56 +08:00
Alex Lam S.L
e67553fa55
fix tree traversal on AST_Do ( #3047 )
...
fixes #3046
2018-04-02 22:31:23 +08:00
Ondřej Španěl
01057cf76d
Transform can be simplified when clone is not done. ( #2621 )
2017-12-19 17:56:16 +08:00
Alex Lam S.L
6b3aeff1d8
clean up TreeWalker.pop() ( #2195 )
...
Remove superfluous parameter.
2017-07-03 03:23:38 +08:00
Alex Lam S.L
2244743545
convert AST_Seq from binary tree to array ( #1460 )
...
- rename `AST_Seq` to `AST_Sequence`
- raise default sequences_limit from 200 to 800
2017-04-12 21:56:27 +08:00
kzc
f4c2ea37bf
Collapse single use var definitions
...
Fix #721
2016-01-27 11:48:15 +02:00
Mihai Bazon
7691bebea5
Rework has_directive
...
It's now available during tree walking, i.e. walker.has_directive("use
asm"), rather than as part of the scope. It's thus no longer necessary
to call `figure_out_scope` before codegen. Added special bits in the
code generator to overcome the fact that it doesn't inherit from
TreeWalker.
Fix #861
2015-11-11 22:15:25 +02:00
Mihai Bazon
9243b0cb9d
Apply transformer to AST_VarDef's name
...
Fix #237
2013-07-14 13:24:09 +03:00
Mihai Bazon
f64539fb76
Compress code passed to new Function if it's a constant.
...
Only for `--unsafe`.
Close #203
2013-05-14 10:47:06 +03:00
Mihai Bazon
089ac908b7
fix #51
2012-11-18 17:37:45 +02:00
Mihai Bazon
8149be551e
minor
2012-10-12 14:55:54 +03:00
Mihai Bazon
1b0aab2ce9
added $propdoc to AST nodes and some cleanups
...
hopefully we can make the AST documentation self-generating
2012-10-09 18:20:39 +03:00
Mihai Bazon
9ead49641d
minor AST cleanup (AST_BlockStatement may inherit from AST_Block)
2012-10-09 13:59:17 +03:00
Mihai Bazon
11863d6f9a
more cleanup (dropped AST_SwitchBlock)
2012-10-03 15:52:31 +03:00
Mihai Bazon
e1098b04a7
"use strict";
2012-10-02 12:45:58 +03:00
Mihai Bazon
78be8f5296
compressor successfully moved to TreeTransformer
2012-09-26 14:27:01 +03:00
Mihai Bazon
a24e7ee976
checkpoint (refactoring, WIP)
2012-09-26 12:16:16 +03:00
Mihai Bazon
a83b28503f
properly drop mutually-referring declarations that are not otherwise
...
referenced and have no side effects
2012-09-23 12:47:34 +03:00
Mihai Bazon
76d88b59dc
tree transformer api (WIP)
2012-09-22 19:41:09 +03:00