public static enum JavaScriptScanner.State extends Enum<JavaScriptScanner.State>
| Enum Constant and Description |
|---|
initial |
key |
open_multi_line_comment |
regexp |
string |
| Modifier and Type | Method and Description |
|---|---|
static JavaScriptScanner.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaScriptScanner.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaScriptScanner.State initial
public static final JavaScriptScanner.State open_multi_line_comment
public static final JavaScriptScanner.State key
public static final JavaScriptScanner.State string
public static final JavaScriptScanner.State regexp
public static JavaScriptScanner.State[] values()
for (JavaScriptScanner.State c : JavaScriptScanner.State.values()) System.out.println(c);
public static JavaScriptScanner.State 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 © 2015 JBoss by Red Hat. All rights reserved.