Package EDU.purdue.jtb.parser
Enum Expansion_.EXP_TYPE
- java.lang.Object
-
- java.lang.Enum<Expansion_.EXP_TYPE>
-
- EDU.purdue.jtb.parser.Expansion_.EXP_TYPE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Expansion_.EXP_TYPE>
- Enclosing class:
- Expansion_
public static enum Expansion_.EXP_TYPE extends java.lang.Enum<Expansion_.EXP_TYPE>
Subclasses enum type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHOICE
LOOKAHEAD
ONE_OR_MORE
R_CHOICE
R_ONE_OR_MORE
R_REPETITION_RANGE
R_SEQUENCE
R_ZERO_OR_MORE
R_ZERO_OR_ONE
SEQUENCE
TRY_BLOCK
ZERO_OR_MORE
ZERO_OR_ONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Expansion_.EXP_TYPE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Expansion_.EXP_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHOICE
public static final Expansion_.EXP_TYPE CHOICE
-
SEQUENCE
public static final Expansion_.EXP_TYPE SEQUENCE
-
ONE_OR_MORE
public static final Expansion_.EXP_TYPE ONE_OR_MORE
-
ZERO_OR_MORE
public static final Expansion_.EXP_TYPE ZERO_OR_MORE
-
ZERO_OR_ONE
public static final Expansion_.EXP_TYPE ZERO_OR_ONE
-
LOOKAHEAD
public static final Expansion_.EXP_TYPE LOOKAHEAD
-
TRY_BLOCK
public static final Expansion_.EXP_TYPE TRY_BLOCK
-
R_CHOICE
public static final Expansion_.EXP_TYPE R_CHOICE
-
R_SEQUENCE
public static final Expansion_.EXP_TYPE R_SEQUENCE
-
R_ONE_OR_MORE
public static final Expansion_.EXP_TYPE R_ONE_OR_MORE
-
R_ZERO_OR_MORE
public static final Expansion_.EXP_TYPE R_ZERO_OR_MORE
-
R_ZERO_OR_ONE
public static final Expansion_.EXP_TYPE R_ZERO_OR_ONE
-
R_REPETITION_RANGE
public static final Expansion_.EXP_TYPE R_REPETITION_RANGE
-
-
Method Detail
-
values
public static Expansion_.EXP_TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Expansion_.EXP_TYPE c : Expansion_.EXP_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Expansion_.EXP_TYPE valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-