public static enum ASTNode.Operator extends Enum<ASTNode.Operator>
Modifier and Type | Method and Description |
---|---|
static ASTNode.Operator |
getOperatorFromString(String operatorString) |
static ASTNode.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ASTNode.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ASTNode.Operator AND
public static final ASTNode.Operator OR
public static final ASTNode.Operator NOT
public static ASTNode.Operator[] values()
for (ASTNode.Operator c : ASTNode.Operator.values()) System.out.println(c);
public static ASTNode.Operator 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 ASTNode.Operator getOperatorFromString(String operatorString)
This work is licensed under a Creative Commons Attribution 4.0 International License.