public static enum AbapShallowParser.EAbapParserStates extends java.lang.Enum<AbapShallowParser.EAbapParserStates>
Enum Constant and Description |
---|
DECLARATIONS
A state to recognize declarations within classes.
|
IN_TYPE
Type state used for parsing constructs that are direct children of a REPORT
or PROGRAM.
|
STATEMENTS
A state to recognize statements, i.e.
|
TOPLEVEL
Top level state used for parsing constructs that are not nested in other
constructs.
|
Modifier and Type | Method and Description |
---|---|
static AbapShallowParser.EAbapParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbapShallowParser.EAbapParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbapShallowParser.EAbapParserStates TOPLEVEL
public static final AbapShallowParser.EAbapParserStates IN_TYPE
public static final AbapShallowParser.EAbapParserStates DECLARATIONS
public static final AbapShallowParser.EAbapParserStates STATEMENTS
public static AbapShallowParser.EAbapParserStates[] values()
for (AbapShallowParser.EAbapParserStates c : AbapShallowParser.EAbapParserStates.values()) System.out.println(c);
public static AbapShallowParser.EAbapParserStates 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