public static enum InfixOpNode.InfixOperator extends Enum<InfixOpNode.InfixOperator>
Enum Constant and Description |
---|
ADD |
AND |
DIV |
EQ |
GT |
GTE |
LT |
LTE |
MULT |
NE |
OR |
POW |
SUB |
Modifier and Type | Method and Description |
---|---|
static InfixOpNode.InfixOperator |
determineOperator(String symbol) |
boolean |
isBoolean() |
static InfixOpNode.InfixOperator |
valueOf(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.
|
public static final InfixOpNode.InfixOperator ADD
public static final InfixOpNode.InfixOperator SUB
public static final InfixOpNode.InfixOperator MULT
public static final InfixOpNode.InfixOperator DIV
public static final InfixOpNode.InfixOperator POW
public static final InfixOpNode.InfixOperator LTE
public static final InfixOpNode.InfixOperator LT
public static final InfixOpNode.InfixOperator GT
public static final InfixOpNode.InfixOperator GTE
public static final InfixOpNode.InfixOperator EQ
public static final InfixOpNode.InfixOperator NE
public static final InfixOpNode.InfixOperator AND
public static final InfixOpNode.InfixOperator OR
public final String symbol
public static InfixOpNode.InfixOperator[] values()
for (InfixOpNode.InfixOperator c : InfixOpNode.InfixOperator.values()) System.out.println(c);
public static InfixOpNode.InfixOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InfixOpNode.InfixOperator determineOperator(String symbol)
public boolean isBoolean()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.