public static enum GrammarItem.ItemType extends Enum<GrammarItem.ItemType>
| Enum Constant and Description |
|---|
ALTERNATIVE |
ALTERNATIVES |
BNF_LITERAL |
CARDINALITY |
CHARACTER_LITERAL |
EOI |
EXCLUSIONCHARSET |
LISTEDCHARSET |
LITERAL |
NAMEDCHARSET |
OTHER |
REFERENCE |
RULE |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static GrammarItem.ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrammarItem.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammarItem.ItemType ALTERNATIVE
public static final GrammarItem.ItemType ALTERNATIVES
public static final GrammarItem.ItemType LITERAL
public static final GrammarItem.ItemType CARDINALITY
public static final GrammarItem.ItemType REFERENCE
public static final GrammarItem.ItemType TEXT
public static final GrammarItem.ItemType OTHER
public static final GrammarItem.ItemType RULE
public static final GrammarItem.ItemType CHARACTER_LITERAL
public static final GrammarItem.ItemType BNF_LITERAL
public static final GrammarItem.ItemType EOI
public static final GrammarItem.ItemType NAMEDCHARSET
public static final GrammarItem.ItemType LISTEDCHARSET
public static final GrammarItem.ItemType EXCLUSIONCHARSET
public static GrammarItem.ItemType[] values()
for (GrammarItem.ItemType c : GrammarItem.ItemType.values()) System.out.println(c);
public static GrammarItem.ItemType 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 © 2019. All rights reserved.