public static enum GosuShallowParser.EGosuParserStates extends java.lang.Enum<GosuShallowParser.EGosuParserStates>
Enum Constant and Description |
---|
IN_EXPRESSION
Parsing in an expression
|
IN_INTERFACE
Parsing in an expression
|
IN_METHOD
Parsing within a method.
|
IN_TYPE
Parsing within a type, such as a class.
|
TOP_LEVEL
Top-level parsing state.
|
Modifier and Type | Method and Description |
---|---|
static GosuShallowParser.EGosuParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GosuShallowParser.EGosuParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GosuShallowParser.EGosuParserStates TOP_LEVEL
public static final GosuShallowParser.EGosuParserStates IN_TYPE
public static final GosuShallowParser.EGosuParserStates IN_INTERFACE
public static final GosuShallowParser.EGosuParserStates IN_METHOD
public static final GosuShallowParser.EGosuParserStates IN_EXPRESSION
public static GosuShallowParser.EGosuParserStates[] values()
for (GosuShallowParser.EGosuParserStates c : GosuShallowParser.EGosuParserStates.values()) System.out.println(c);
public static GosuShallowParser.EGosuParserStates 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