Merge branch 'master' into harmony-v3.0.7

This commit is contained in:
alexlamsl
2017-05-16 20:02:30 +08:00
4 changed files with 8 additions and 2 deletions

View File

@@ -780,6 +780,12 @@ var result = UglifyJS.minify(ast, {
// result.code contains the minified code in string form.
```
### Working with Uglify AST
Transversal and transformation of the native AST can be performed through
[`TreeWalker`](http://lisperator.net/uglifyjs/walk) and
[`TreeTransformer`](http://lisperator.net/uglifyjs/transform) respectively.
### ESTree / SpiderMonkey AST
UglifyJS has its own abstract syntax tree format; for