public enum EOScriptParserState extends java.lang.Enum<EOScriptParserState>
OScriptShallowParser
can be.Enum Constant and Description |
---|
IN_FUNCTION
Inside functions
|
IN_OBJECT
Inside object declarations
|
IN_SCRIPT
Inside scripts
|
TOP_LEVEL
Top level state.
|
Modifier and Type | Method and Description |
---|---|
static EOScriptParserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOScriptParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOScriptParserState TOP_LEVEL
public static final EOScriptParserState IN_OBJECT
public static final EOScriptParserState IN_FUNCTION
public static final EOScriptParserState IN_SCRIPT
public static EOScriptParserState[] values()
for (EOScriptParserState c : EOScriptParserState.values()) System.out.println(c);
public static EOScriptParserState 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