diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-16 19:59:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 19:59:05 +0800 |
commit | cb45886512a04697025ca901670e63063064a945 (patch) | |
tree | 8a1ee9309a1b031831d88ad1a1ebd19277cbae48 /README.md | |
parent | 050474ab44f02dc8bb0b47f0878c3ecda3e34fa5 (diff) | |
download | tracifyjs-cb45886512a04697025ca901670e63063064a945.tar.gz tracifyjs-cb45886512a04697025ca901670e63063064a945.zip |
export `TreeTransformer` (#1950)
- link to existing documentation on `TreeWalker` & `TreeTransformer`
- fix Travis build failures
fixes #1949
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |