aboutsummaryrefslogtreecommitdiff
path: root/lib/transform.js
AgeCommit message (Collapse)Author
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