aboutsummaryrefslogtreecommitdiff
path: root/lib/mozilla-ast.js
AgeCommit message (Expand)Author
2017-04-12convert `AST_Seq` from binary tree to array (#1460)...- rename `AST_Seq` to `AST_Sequence` - raise default sequences_limit from 200 to 800Alex Lam S.L
2016-07-03Don't convert all strings to directives from moz-astAnthony Van de Gejuchte
2016-06-30Fix spidermonkey AST (ESTree) export and import, Array holes...Fixes: #1156 #1161 Also add test to exercise Uglify after spidermonkey export/import of itself. kzc
2015-11-12Fix output for "use asm" code from SpiderMonkey AST...(will only work properly if the SM tree contains "raw" properties for Literal number nodes) Mihai Bazon
2015-11-02simplify mozilla AST RegExpLiteral token parse and handle corner cases of reg...kzc
2015-11-02Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rathe...kzc
2015-11-01rename To_Moz_Literal to To_Moz_RegExpkzc
2015-11-01Fixed RegExp literal in mozilla AST generation/output and added a --dump-spid...kzc
2015-09-24Fix mozilla-ast after module loading changes...Need to explicitly qualify stuff now, since it's not evaluated in some global scope. Ref #636 Mihai Bazon
2015-01-06Location fix for Mozilla AST start token.Ingvar Stepanyan
2015-01-06Track ending lines/columns; fix end locations in Mozilla AST.Ingvar Stepanyan
2014-08-03Added generative testing for AST conversions.Ingvar Stepanyan
2014-08-03SpiderMonkey `Identifier` nodes should contain mangled names.Ingvar Stepanyan
2014-08-02Small fixes for AST conversion.Ingvar Stepanyan
2014-08-01Fixes and improvements for UglifyJS->SM AST conversion....* Explicitly forbidden multiple catch clauses as SM-specific feature. * Simplified describing of UglifyJS->Mozilla AST conversion rules. * Moved alias rules to single place. * Removed usage of dynamic type bindings in generated code (speed-up). Ingvar Stepanyan
2014-08-01Improved UglifyJS<->SpiderMonkey AST conversions....* Added directives recognition in SM AST. * Moved semi-standard SM `Property` type to separate handler. * Added `const` recognition from SM AST. * Removed redundant `this`-as-identifier recognition. * Removed redundant rules for abstract SM types. * Described `CatchClause` using string syntax. * Added support for semi-standard `range` tuple as location source. * Added back-conversion support (to be improved). Ingvar Stepanyan
2014-03-06Handle TryStatements trees from acorn >=0.2.0Conrad Irwin
2013-04-29Workaround for missing `prefix` in UnaryExpression generated by Esprima...See #193 Mihai Bazon
2012-10-13fix end tokens in spidermonkey ast importMihai Bazon
2012-10-09added $propdoc to AST nodes and some cleanups...hopefully we can make the AST documentation self-generating Mihai Bazon
2012-10-05remove unused codeMihai Bazon
2012-10-05fixed import of locations from SpiderMonkey ASTMihai Bazon
2012-10-04use the appropriate constructor for symbolsMihai Bazon
2012-10-03moving code aroundMihai Bazon
2012-10-03define AST_Node.from_mozilla_ast(ast)...returns an UglifyJS2 AST given a Mozilla AST. Still needs some work to do (need to create specific nodes like AST_SymbolRef, AST_SymbolLambda etc. instead of base AST_Symbol, in order for the mangler/compressor to work properly) Mihai Bazon