Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
static void |
NodeTraversal.traverseChangedFunctions(AbstractCompiler compiler,
NodeTraversal.ChangeScopeRootCallback callback)
Traversal for passes that work only on changed functions.
|
static void |
NodeTraversal.traverseEs6ScopeRoots(AbstractCompiler compiler,
Node root,
java.util.List<Node> scopeNodes,
NodeTraversal.Callback cb,
NodeTraversal.ChangeScopeRootCallback changeCallback,
boolean traverseNested)
Traverses *just* the contents of provided scope nodes (and optionally scopes nested within
them) but will fall back on traversing the entire AST from root if a null scope nodes list is
provided.
|
Copyright © 2009-2017 Google. All Rights Reserved.