public static enum Parser.Config.Mode extends Enum<Parser.Config.Mode>
Enum Constant and Description |
---|
ES3 |
ES5 |
ES5_STRICT |
ES6 |
ES6_STRICT |
ES6_TYPED |
Modifier and Type | Method and Description |
---|---|
static Parser.Config.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.Config.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.Config.Mode ES3
public static final Parser.Config.Mode ES5
public static final Parser.Config.Mode ES5_STRICT
public static final Parser.Config.Mode ES6
public static final Parser.Config.Mode ES6_STRICT
public static final Parser.Config.Mode ES6_TYPED
public static Parser.Config.Mode[] values()
for (Parser.Config.Mode c : Parser.Config.Mode.values()) System.out.println(c);
public static Parser.Config.Mode 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.