public static enum DelphiShallowParser.EDelphiParserStates extends java.lang.Enum<DelphiShallowParser.EDelphiParserStates>
Enum Constant and Description |
---|
IN_CASE
Inside a case-of statement.
|
IN_CONST
Inside a const-section.
|
IN_ENUM
Inside an enum declaration.
|
IN_IMPLEMENTATION
Inside a implementation section (and initialization and
finalization).
|
IN_INTERFACE
Inside a interface state.
|
IN_METHOD
Inside a method's implementation.
|
IN_METHOD_HEAD
Inside a method's head/variable declarations.
|
IN_TYPE
Inside a type-section.
|
IN_TYPE_CASE
Inside a case statement within a type declaration.
|
IN_TYPE_CASE_LABEL
Inside the label of a case statement within a type declaration.
|
IN_TYPE_DECL
Inside a type declaration, for example a class or a record.
|
IN_VAR
Inside a variable-section.
|
TOP_LEVEL
Top-level state.
|
Modifier and Type | Method and Description |
---|---|
static DelphiShallowParser.EDelphiParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DelphiShallowParser.EDelphiParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelphiShallowParser.EDelphiParserStates TOP_LEVEL
public static final DelphiShallowParser.EDelphiParserStates IN_INTERFACE
public static final DelphiShallowParser.EDelphiParserStates IN_IMPLEMENTATION
public static final DelphiShallowParser.EDelphiParserStates IN_TYPE
public static final DelphiShallowParser.EDelphiParserStates IN_TYPE_DECL
public static final DelphiShallowParser.EDelphiParserStates IN_TYPE_CASE
public static final DelphiShallowParser.EDelphiParserStates IN_TYPE_CASE_LABEL
public static final DelphiShallowParser.EDelphiParserStates IN_ENUM
public static final DelphiShallowParser.EDelphiParserStates IN_VAR
public static final DelphiShallowParser.EDelphiParserStates IN_CONST
public static final DelphiShallowParser.EDelphiParserStates IN_CASE
public static final DelphiShallowParser.EDelphiParserStates IN_METHOD_HEAD
public static final DelphiShallowParser.EDelphiParserStates IN_METHOD
public static DelphiShallowParser.EDelphiParserStates[] values()
for (DelphiShallowParser.EDelphiParserStates c : DelphiShallowParser.EDelphiParserStates.values()) System.out.println(c);
public static DelphiShallowParser.EDelphiParserStates 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