Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
static CompilerOptions.LanguageMode |
CompilerOptions.LanguageMode.fromString(java.lang.String value) |
CompilerOptions.LanguageMode |
CompilerOptions.getLanguageIn() |
static CompilerOptions.LanguageMode |
CompilerOptions.LanguageMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilerOptions.LanguageMode[] |
CompilerOptions.LanguageMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
NodeUtil.isValidQualifiedName(CompilerOptions.LanguageMode mode,
java.lang.String name)
Deprecated.
|
void |
CompilerOptions.setLanguage(CompilerOptions.LanguageMode language)
Sets ECMAScript version to use.
|
void |
CompilerOptions.setLanguageIn(CompilerOptions.LanguageMode languageIn)
Sets ECMAScript version to use for the input.
|
void |
CompilerOptions.setLanguageOut(CompilerOptions.LanguageMode languageOut)
Sets ECMAScript version to use for the output.
|
Copyright © 2009-2018 Google. All Rights Reserved.