|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChoiceExpander.Mode>
xtc.parser.ChoiceExpander.Mode
public static enum ChoiceExpander.Mode
The processing mode. In regular mode, this visitor traverses a grammar and inlines into choices; in remove values mode, it removes value elements; in void values mode, it converts all value elements into null value elements; and in text values mode, it converts all value elements into text value elements.
| Enum Constant Summary | |
|---|---|
INLINE
Traverse grammar and inline into choices. |
|
RM_VALUES
Remove value elements. |
|
TEXT_VALUES
Convert value elements into text value elements. |
|
TOKEN_VALUES
Convert value elements into token value elements. |
|
VOID_VALUES
Convert value elements into null value elements. |
|
| Method Summary | |
|---|---|
static ChoiceExpander.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChoiceExpander.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ChoiceExpander.Mode INLINE
public static final ChoiceExpander.Mode RM_VALUES
public static final ChoiceExpander.Mode VOID_VALUES
public static final ChoiceExpander.Mode TEXT_VALUES
public static final ChoiceExpander.Mode TOKEN_VALUES
| Method Detail |
|---|
public static ChoiceExpander.Mode[] values()
for (ChoiceExpander.Mode c : ChoiceExpander.Mode.values()) System.out.println(c);
public static ChoiceExpander.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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||