public static enum Config.LanguageMode extends Enum<Config.LanguageMode>
Enum Constant and Description |
---|
ECMASCRIPT3 |
ECMASCRIPT5 |
ECMASCRIPT6 |
ECMASCRIPT7 |
ECMASCRIPT8 |
TYPESCRIPT |
Modifier and Type | Field and Description |
---|---|
FeatureSet |
featureSet |
Modifier and Type | Method and Description |
---|---|
static Config.LanguageMode |
minimumRequiredFor(FeatureSet.Feature feature)
Returns the lowest
Config.LanguageMode that supports the specified feature. |
static Config.LanguageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.LanguageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.LanguageMode ECMASCRIPT3
public static final Config.LanguageMode ECMASCRIPT5
public static final Config.LanguageMode ECMASCRIPT6
public static final Config.LanguageMode ECMASCRIPT7
public static final Config.LanguageMode ECMASCRIPT8
public static final Config.LanguageMode TYPESCRIPT
public final FeatureSet featureSet
public static Config.LanguageMode[] values()
for (Config.LanguageMode c : Config.LanguageMode.values()) System.out.println(c);
public static Config.LanguageMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Config.LanguageMode minimumRequiredFor(FeatureSet.Feature feature)
Config.LanguageMode
that supports the specified feature.Copyright © 2009-2017 Google. All Rights Reserved.