private static enum CharacterFormatParser.ParseState extends java.lang.Enum<CharacterFormatParser.ParseState>
Enum Constant and Description |
---|
DEFAULT
Default parse state
|
DUPES
We are parsing a repeat count
|
ESCAPE
Next character is an escaped character
|
LPAREN
Last character was an opening parenthesis.
|
Modifier and Type | Method and Description |
---|---|
static CharacterFormatParser.ParseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharacterFormatParser.ParseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterFormatParser.ParseState DEFAULT
public static final CharacterFormatParser.ParseState ESCAPE
public static final CharacterFormatParser.ParseState LPAREN
public static final CharacterFormatParser.ParseState DUPES
public static CharacterFormatParser.ParseState[] values()
for (CharacterFormatParser.ParseState c : CharacterFormatParser.ParseState.values()) System.out.println(c);
public static CharacterFormatParser.ParseState 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 null