aboutsummaryrefslogtreecommitdiff
path: root/lib/transform.js
AgeCommit message (Collapse)Author
2021-02-15support `export` statements (#4650)Alex Lam S.L
2021-02-14support `import` statements (#4646)Alex Lam S.L
2021-02-09support `for [await]...of` statements (#4627)Alex Lam S.L
2021-02-08support generator functions (#4620)Alex Lam S.L
2021-02-01support template literals (#4601)Alex Lam S.L
2021-01-10support asynchronous arrow functions (#4530)Alex Lam S.L
2021-01-07support rest parameters (#4515)Alex Lam S.L
2020-12-24support default values (#4442)Alex Lam S.L
2020-12-17support arrow function (#4385)Alex Lam S.L
2020-12-07support async function (#4333)Alex Lam S.L
2020-12-06support spread syntax (#4328)Alex Lam S.L
2020-11-17support destructured literals (#4278)Alex Lam S.L
2020-11-08support computed property name in object literal (#4268)Alex Lam S.L
2020-10-05retrofit `try-catch-finally` as block-scoped (#4178)Alex Lam S.L
- support optional catch binding
2020-05-05update links to repository after rename (#3847)Alex Lam S.L
2020-02-06export missing API for AST manipulation (#3707)Alex Lam S.L
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-04-02fix tree traversal on `AST_Do` (#3047)Alex Lam S.L
fixes #3046
2017-12-19Transform can be simplified when clone is not done. (#2621)Ondřej Španěl
2017-07-03clean up `TreeWalker.pop()` (#2195)Alex Lam S.L
Remove superfluous parameter.
2017-04-12convert `AST_Seq` from binary tree to array (#1460)Alex Lam S.L
- rename `AST_Seq` to `AST_Sequence` - raise default sequences_limit from 200 to 800
2016-01-27Collapse single use var definitionskzc
Fix #721
2015-11-11Rework has_directiveMihai Bazon
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
2013-07-14Apply transformer to AST_VarDef's nameMihai Bazon
Fix #237
2013-05-14Compress code passed to `new Function` if it's a constant.Mihai Bazon
Only for `--unsafe`. Close #203
2012-11-18fix #51Mihai Bazon
2012-10-12minorMihai Bazon
2012-10-09added $propdoc to AST nodes and some cleanupsMihai Bazon
hopefully we can make the AST documentation self-generating
2012-10-09minor AST cleanup (AST_BlockStatement may inherit from AST_Block)Mihai Bazon
2012-10-03more cleanup (dropped AST_SwitchBlock)Mihai Bazon
2012-10-02"use strict";Mihai Bazon
2012-09-26compressor successfully moved to TreeTransformerMihai Bazon
2012-09-26checkpoint (refactoring, WIP)Mihai Bazon
2012-09-23properly drop mutually-referring declarations that are not otherwiseMihai Bazon
referenced and have no side effects
2012-09-22tree transformer api (WIP)Mihai Bazon