aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-05-16 19:59:05 +0800
committerGitHub <noreply@github.com>2017-05-16 19:59:05 +0800
commitcb45886512a04697025ca901670e63063064a945 (patch)
tree8a1ee9309a1b031831d88ad1a1ebd19277cbae48 /README.md
parent050474ab44f02dc8bb0b47f0878c3ecda3e34fa5 (diff)
downloadtracifyjs-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.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index adae5794..52bf4267 100644
--- a/README.md
+++ b/README.md
@@ -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