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.
|
com.google.javascript.jscomp.parsing.parser |
Modifier and Type | Method and Description |
---|---|
boolean |
CompilerOptions.needsTranspilationOf(FeatureSet.Feature feature) |
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(java.lang.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 |
---|---|
com.google.common.collect.ImmutableSet<FeatureSet.Feature> |
FeatureSet.getFeatures() |
Modifier and Type | Method and Description |
---|---|
boolean |
FeatureSet.contains(FeatureSet.Feature feature)
Does this
FeatureSet contain the given feature? |
boolean |
FeatureSet.has(FeatureSet.Feature feature)
Does this
FeatureSet include feature ? |
FeatureSet |
FeatureSet.with(FeatureSet.Feature... newFeatures)
Returns a feature set combining all the features from
this and newFeatures . |
FeatureSet |
FeatureSet.with(FeatureSet.Feature feature)
Returns a feature set combining all the features from
this and feature . |
FeatureSet |
FeatureSet.without(FeatureSet.Feature featureToRemove,
FeatureSet.Feature... moreFeaturesToRemove) |
FeatureSet |
FeatureSet.without(FeatureSet.Feature featureToRemove,
FeatureSet.Feature... moreFeaturesToRemove) |
Modifier and Type | Method and Description |
---|---|
FeatureSet |
FeatureSet.with(java.util.Set<FeatureSet.Feature> newFeatures)
Returns a feature set combining all the features from
this and newFeatures . |
Copyright © 2009-2020 Google. All Rights Reserved.