Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
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 | Method and Description |
---|---|
protected CompilerOptions |
CommandLineRunner.createOptions() |
protected CompilerOptions |
Compiler.newCompilerOptions()
Allow subclasses to override the default CompileOptions object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CommandLineRunner.addWhitelistWarningsGuard(CompilerOptions options,
File whitelistFile) |
protected abstract void |
AbstractCommandLineRunner.addWhitelistWarningsGuard(CompilerOptions options,
File whitelistFile) |
<T1 extends SourceFile,T2 extends SourceFile> |
Compiler.compile(List<T1> externs,
List<T2> inputs,
CompilerOptions options)
Compiles a list of inputs.
|
Result |
Compiler.compile(SourceFile extern,
SourceFile input,
CompilerOptions options) |
<T extends SourceFile> |
Compiler.compileModules(List<T> externs,
List<JSModule> modules,
CompilerOptions options)
Compiles a list of modules.
|
protected List<SourceFile> |
CommandLineRunner.createExterns(CompilerOptions options) |
protected List<SourceFile> |
AbstractCommandLineRunner.createExterns(CompilerOptions options) |
<T1 extends SourceFile,T2 extends SourceFile> |
Compiler.init(List<T1> externs,
List<T2> inputs,
CompilerOptions options)
Initializes the instance state needed for a compile job.
|
<T extends SourceFile> |
Compiler.initModules(List<T> externs,
List<JSModule> modules,
CompilerOptions options)
Initializes the instance state needed for a compile job if the sources
are in modules.
|
void |
Compiler.initOptions(CompilerOptions options)
Initializes the compiler options.
|
CodePrinter.Builder |
CodePrinter.Builder.setCompilerOptions(CompilerOptions options)
Sets the output options from compiler options.
|
void |
CompilationLevel.setDebugOptionsForCompilationLevel(CompilerOptions options) |
void |
CompilationLevel.setOptionsForCompilationLevel(CompilerOptions options) |
void |
WarningLevel.setOptionsForWarningLevel(CompilerOptions options) |
protected void |
AbstractCommandLineRunner.setRunOptions(CompilerOptions options)
Sets options based on the configurations set flags API.
|
void |
CompilationLevel.setTypeBasedOptimizationOptions(CompilerOptions options)
Enable additional optimizations that use type information.
|
protected static void |
AbstractCommandLineRunner.setWarningGuardOptions(CompilerOptions options,
ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards,
DiagnosticGroups diagnosticGroups) |
void |
CompilationLevel.setWrappedOutputOptimizations(CompilerOptions options)
Enable additional optimizations that operate on global declarations.
|
Constructor and Description |
---|
DefaultPassConfig(CompilerOptions options) |
JsMessageExtractor(JsMessage.IdGenerator idGenerator,
JsMessage.Style style,
CompilerOptions options,
boolean extractExternalMessages) |
PassConfig(CompilerOptions options) |
Modifier and Type | Method and Description |
---|---|
static CompilerOptions |
RefactoringDriver.getCompilerOptions() |
Modifier and Type | Method and Description |
---|---|
RefactoringDriver.Builder |
RefactoringDriver.Builder.withCompilerOptions(CompilerOptions compilerOptions) |
Copyright © 2009-2016 Google. All Rights Reserved.