public static enum Iec61131ShallowParser.EIec61131ParserStates extends java.lang.Enum<Iec61131ShallowParser.EIec61131ParserStates>
Enum Constant and Description |
---|
IN_CASE
In case statement.
|
IN_METHOD
In methods, algorithms, etc.
|
IN_SYSTEM_VAR_DECL
System var decl of SV Files.
|
IN_TYPES
In type declaration section.
|
IN_VARS
In variable declarations.
|
TOP_LEVEL
Top-level state.
|
Modifier and Type | Method and Description |
---|---|
static Iec61131ShallowParser.EIec61131ParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Iec61131ShallowParser.EIec61131ParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Iec61131ShallowParser.EIec61131ParserStates TOP_LEVEL
public static final Iec61131ShallowParser.EIec61131ParserStates IN_VARS
public static final Iec61131ShallowParser.EIec61131ParserStates IN_TYPES
public static final Iec61131ShallowParser.EIec61131ParserStates IN_METHOD
public static final Iec61131ShallowParser.EIec61131ParserStates IN_CASE
public static final Iec61131ShallowParser.EIec61131ParserStates IN_SYSTEM_VAR_DECL
public static Iec61131ShallowParser.EIec61131ParserStates[] values()
for (Iec61131ShallowParser.EIec61131ParserStates c : Iec61131ShallowParser.EIec61131ParserStates.values()) System.out.println(c);
public static Iec61131ShallowParser.EIec61131ParserStates 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