public static enum Parser.Config.Mode extends java.lang.Enum<Parser.Config.Mode>
Enum Constant and Description |
---|
ES3 |
ES5 |
ES6_OR_ES7 |
ES8_OR_GREATER |
TYPESCRIPT |
Modifier and Type | Method and Description |
---|---|
static Parser.Config.Mode |
valueOf(java.lang.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 ES6_OR_ES7
public static final Parser.Config.Mode ES8_OR_GREATER
public static final Parser.Config.Mode TYPESCRIPT
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2020 Google. All Rights Reserved.