public enum EGenericParserStates extends java.lang.Enum<EGenericParserStates>
Enum Constant and Description |
---|
IN_ENUM
Currently within the scope of an enum class in the stage where enum literals
are defined.
|
IN_EXPRESSION
Currently within an expression.
|
IN_METHOD
Currently within method/procedure/function definition.
|
IN_MODULE
Currently within module definition (or package, namespace, etc.).
|
IN_TYPE
Currently within type definition (class, etc.).
|
TOP_LEVEL
Top level state.
|
Modifier and Type | Method and Description |
---|---|
static EGenericParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EGenericParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EGenericParserStates TOP_LEVEL
public static final EGenericParserStates IN_MODULE
public static final EGenericParserStates IN_TYPE
public static final EGenericParserStates IN_METHOD
public static final EGenericParserStates IN_EXPRESSION
public static final EGenericParserStates IN_ENUM
public static EGenericParserStates[] values()
for (EGenericParserStates c : EGenericParserStates.values()) System.out.println(c);
public static EGenericParserStates 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