Package de.xima.fc.workflow.parser.infix
Enum EParsedElementKind
- java.lang.Object
-
- java.lang.Enum<EParsedElementKind>
-
- de.xima.fc.workflow.parser.infix.EParsedElementKind
-
- All Implemented Interfaces:
Serializable
,Comparable<EParsedElementKind>
public enum EParsedElementKind extends Enum<EParsedElementKind>
Enumeration of the possible types resulting when an infix expression is parsed into reverse polish notation (RPN).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANT
The element in the list of RPN commands is a constant (literal).OPERATOR_INFIX
The element in the list of RPN commands is an infix operator.OPERATOR_POSTFIX
The element in the list of RPN commands is an postfix operator.OPERATOR_PREFIX
The element in the list of RPN commands is a prefix operator.VARIABLE
The element in the list of RPN commands is a variable reference.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EParsedElementKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static EParsedElementKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSTANT
public static final EParsedElementKind CONSTANT
The element in the list of RPN commands is a constant (literal).
-
OPERATOR_INFIX
public static final EParsedElementKind OPERATOR_INFIX
The element in the list of RPN commands is an infix operator.
-
OPERATOR_POSTFIX
public static final EParsedElementKind OPERATOR_POSTFIX
The element in the list of RPN commands is an postfix operator.
-
OPERATOR_PREFIX
public static final EParsedElementKind OPERATOR_PREFIX
The element in the list of RPN commands is a prefix operator.
-
VARIABLE
public static final EParsedElementKind VARIABLE
The element in the list of RPN commands is a variable reference.
-
-
Method Detail
-
values
public static EParsedElementKind[] 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 (EParsedElementKind c : EParsedElementKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EParsedElementKind valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-