public static enum Config.LanguageMode extends Enum<Config.LanguageMode>
Enum Constant and Description |
---|
ECMASCRIPT3 |
ECMASCRIPT5 |
ECMASCRIPT5_STRICT |
ECMASCRIPT6 |
ECMASCRIPT6_STRICT |
ECMASCRIPT6_TYPED |
Modifier and Type | Method and Description |
---|---|
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 ECMASCRIPT5_STRICT
public static final Config.LanguageMode ECMASCRIPT6
public static final Config.LanguageMode ECMASCRIPT6_STRICT
public static final Config.LanguageMode ECMASCRIPT6_TYPED
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 nullCopyright © 2009-2016 Google. All Rights Reserved.