Package org.kie.dmn.feel.lang.ast
Enum InfixOpNode.InfixOperator
- java.lang.Object
-
- java.lang.Enum<InfixOpNode.InfixOperator>
-
- org.kie.dmn.feel.lang.ast.InfixOpNode.InfixOperator
-
- All Implemented Interfaces:
Serializable,Comparable<InfixOpNode.InfixOperator>
- Enclosing class:
- InfixOpNode
public static enum InfixOpNode.InfixOperator extends Enum<InfixOpNode.InfixOperator>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfixOpNode.InfixOperatordetermineOperator(String symbol)booleanisBoolean()static InfixOpNode.InfixOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static InfixOpNode.InfixOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final InfixOpNode.InfixOperator ADD
-
SUB
public static final InfixOpNode.InfixOperator SUB
-
MULT
public static final InfixOpNode.InfixOperator MULT
-
DIV
public static final InfixOpNode.InfixOperator DIV
-
POW
public static final InfixOpNode.InfixOperator POW
-
LTE
public static final InfixOpNode.InfixOperator LTE
-
LT
public static final InfixOpNode.InfixOperator LT
-
GT
public static final InfixOpNode.InfixOperator GT
-
GTE
public static final InfixOpNode.InfixOperator GTE
-
EQ
public static final InfixOpNode.InfixOperator EQ
-
NE
public static final InfixOpNode.InfixOperator NE
-
AND
public static final InfixOpNode.InfixOperator AND
-
OR
public static final InfixOpNode.InfixOperator OR
-
-
Field Detail
-
symbol
public final String symbol
-
-
Method Detail
-
values
public static InfixOpNode.InfixOperator[] 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 (InfixOpNode.InfixOperator c : InfixOpNode.InfixOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfixOpNode.InfixOperator 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
-
determineOperator
public static InfixOpNode.InfixOperator determineOperator(String symbol)
-
isBoolean
public boolean isBoolean()
-
-