| Package | Description |
|---|---|
| com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
| com.google.javascript.jscomp.parsing.parser |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
static FeatureSet.Feature |
FeatureSet.Feature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureSet.Feature[] |
FeatureSet.Feature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FeatureSet.contains(FeatureSet.Feature feature)
Does this
FeatureSet include feature? |
FeatureSet |
FeatureSet.require(FeatureSet.Feature feature)
Returns a feature set combining all the features from
this and feature. |
Copyright © 2009-2017 Google. All Rights Reserved.