Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
Modifier and Type | Method and Description |
---|---|
protected Config |
Compiler.createConfig(Config.LanguageMode mode,
Config.StrictMode strictMode) |
Modifier and Type | Method and Description |
---|---|
static Config.LanguageMode |
Config.LanguageMode.minimumRequiredFor(FeatureSet.Feature feature)
Returns the lowest
Config.LanguageMode that supports the specified feature. |
static Config.LanguageMode |
Config.LanguageMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.LanguageMode[] |
Config.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 Config |
ParserRunner.createConfig(Config.LanguageMode languageMode,
Config.JsDocParsing jsdocParsingMode,
Config.RunMode runMode,
Set<String> extraAnnotationNames,
boolean parseInlineSourceMaps,
Config.StrictMode strictMode) |
static Config |
ParserRunner.createConfig(Config.LanguageMode languageMode,
Set<String> extraAnnotationNames)
Deprecated.
|
static Config |
ParserRunner.createConfig(Config.LanguageMode languageMode,
Set<String> extraAnnotationNames,
Config.StrictMode strictMode) |
Copyright © 2009-2016 Google. All Rights Reserved.