Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
CompilerOptions.Environment |
CompilerOptions.getEnvironment() |
static CompilerOptions.Environment |
CompilerOptions.Environment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompilerOptions.Environment[] |
CompilerOptions.Environment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static List<SourceFile> |
AbstractCommandLineRunner.getBuiltinExterns(CompilerOptions.Environment env) |
static List<SourceFile> |
DefaultExterns.prepareExterns(CompilerOptions.Environment env,
Map<String,SourceFile> externs)
Filters and orders the passed externs for the specified environment.
|
void |
CompilerOptions.setEnvironment(CompilerOptions.Environment environment)
Set which set of builtin externs to use.
|
Copyright © 2009-2017 Google. All Rights Reserved.