public enum ECobolParserState extends java.lang.Enum<ECobolParserState>
CobolShallowParser
can resideEnum Constant and Description |
---|
IN_DIVISION
This refers to the region under the identification division, which
includes other divisions.
|
IN_STATEMENT
Refers to region inside executable statement blocks of the procedure
division.
|
TOP_LEVEL
The very top level of a Cobol file containing only the identification
division.
|
Modifier and Type | Method and Description |
---|---|
static ECobolParserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECobolParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECobolParserState TOP_LEVEL
public static final ECobolParserState IN_DIVISION
public static final ECobolParserState IN_STATEMENT
public static ECobolParserState[] values()
for (ECobolParserState c : ECobolParserState.values()) System.out.println(c);
public static ECobolParserState 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