Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Class and Description |
---|---|
static class |
PassFactory.HotSwapPassFactory
A pass-factory that is good for
HotSwapCompilerPass passes. |
Modifier and Type | Method and Description |
---|---|
static PassFactory |
PassFactory.createEmptyPass(String name)
Create a no-op pass that can only run once.
|
Modifier and Type | Method and Description |
---|---|
protected abstract List<PassFactory> |
PassConfig.getChecks()
Gets the checking passes to run.
|
protected List<PassFactory> |
DefaultPassConfig.getChecks() |
protected abstract List<PassFactory> |
PassConfig.getOptimizations()
Gets the optimization passes to run.
|
protected List<PassFactory> |
DefaultPassConfig.getOptimizations() |
protected List<PassFactory> |
PassConfig.getTranspileOnlyPasses()
Gets the transpilation passes
|
protected List<PassFactory> |
DefaultPassConfig.getTranspileOnlyPasses() |
protected List<PassFactory> |
PassConfig.getWhitespaceOnlyPasses()
Gets additional checking passes that are run always, even in "whitespace only" mode.
|
protected List<PassFactory> |
DefaultPassConfig.getWhitespaceOnlyPasses() |
Modifier and Type | Method and Description |
---|---|
static void |
TranspilationPasses.addEs2017Passes(List<PassFactory> passes) |
static void |
TranspilationPasses.addEs6EarlyPasses(List<PassFactory> passes)
Adds all the early ES6 transpilation passes, which go before the Dart pass.
|
static void |
TranspilationPasses.addEs6LatePasses(List<PassFactory> passes)
Adds all the late ES6 transpilation passes, which go after the Dart pass.
|
static void |
TranspilationPasses.addPostCheckPasses(List<PassFactory> passes) |
static void |
TranspilationPasses.addRewritePolyfillPass(List<PassFactory> passes)
Adds the pass to inject ES6 polyfills, which goes after the late ES6 passes.
|
Copyright © 2009-2017 Google. All Rights Reserved.