|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Macro.Style>
mmp.engine.Macro.Style
public static enum Macro.Style
Enumeration classifying whether the macro needs parenthesis to be recognized as a macro.
Enum Constant Summary | |
---|---|
DOES_NOT_NEED_PARENTHESIS
The macro does not need parenthesis to be recognized as a macro. |
|
NEEDS_PARENTHESIS
The macro needs parenthesis to be recognized as a macro, e.g. |
Method Summary | |
---|---|
static Macro.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Macro.Style[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 Macro.Style DOES_NOT_NEED_PARENTHESIS
public static final Macro.Style NEEDS_PARENTHESIS
Method Detail |
---|
public static Macro.Style 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 nullpublic static Macro.Style[] values()
for (Macro.Style c : Macro.Style.values()) System.out.println(c);
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |