Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.ant | |
com.google.javascript.jscomp.debugger | |
com.google.javascript.jscomp.gwt.client | |
com.google.javascript.jscomp.testing | |
com.google.javascript.refactoring |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCommandLineRunner<A extends Compiler,B extends CompilerOptions>
Implementations of AbstractCommandLineRunner translate flags into Java
API calls on the Compiler.
|
Modifier and Type | Field and Description |
---|---|
private Compiler |
ProcessEs6Modules.compiler |
private Compiler |
RecordFunctionInformation.compiler |
private Compiler |
ProcessCommonJSModules.compiler |
private A |
AbstractCommandLineRunner.compiler |
Modifier and Type | Method and Description |
---|---|
protected Compiler |
CommandLineRunner.createCompiler() |
Modifier and Type | Method and Description |
---|---|
void |
JSModule.sortInputsByDeps(Compiler compiler)
Puts the JS files into a topologically sorted order by their dependencies.
|
(package private) static void |
AbstractCommandLineRunner.writeOutput(java.lang.Appendable out,
Compiler compiler,
java.lang.String code,
java.lang.String wrapper,
java.lang.String codePlaceholder,
com.google.common.base.Function<java.lang.String,java.lang.String> escaper)
Writes code to an output stream, optionally wrapping it in an arbitrary
wrapper that contains a placeholder where the code should be inserted.
|
Constructor and Description |
---|
ProcessCommonJSModules(Compiler compiler,
ES6ModuleLoader loader)
Creates a new ProcessCommonJSModules instance which can be used to
rewrite CommonJS modules to a concatenable form.
|
ProcessCommonJSModules(Compiler compiler,
ES6ModuleLoader loader,
boolean reportDependencies)
Creates a new ProcessCommonJSModules instance which can be used to
rewrite CommonJS modules to a concatenable form.
|
ProcessEs6Modules(Compiler compiler,
ES6ModuleLoader loader,
boolean reportDependencies)
Creates a new ProcessEs6Modules instance which can be used to rewrite
ES6 modules to a concatenable form.
|
RecordFunctionInformation(Compiler compiler,
FunctionNames functionNames)
Creates a record function information compiler pass.
|
Modifier and Type | Method and Description |
---|---|
private Compiler |
CompileTask.createCompiler(CompilerOptions options) |
Modifier and Type | Method and Description |
---|---|
private void |
DebuggerGwtMain.updateUi(Compiler compiler,
Result result) |
Modifier and Type | Field and Description |
---|---|
private Compiler |
GwtRunner.compiler |
Modifier and Type | Method and Description |
---|---|
static void |
BlackHoleErrorManager.silence(Compiler compiler)
Compiler prints to the console by default. |
Modifier and Type | Field and Description |
---|---|
private Compiler |
RefactoringDriver.compiler |
Modifier and Type | Method and Description |
---|---|
private Compiler |
RefactoringDriver.createCompiler(java.util.List<SourceFile> inputs,
java.util.List<SourceFile> externs,
CompilerOptions compilerOptions) |
Compiler |
RefactoringDriver.getCompiler() |