public static enum BinaryOperatorExpression.Operator extends Enum<BinaryOperatorExpression.Operator>
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryOperatorExpression.Operator.Associativity |
| Enum Constant and Description |
|---|
AND |
ASSIGN |
DEFAULT |
DEFAULT_EQUAL |
DIVIDE |
DIVIDE_EQUAL |
EQUAL |
GREATER |
GREATER_EQUAL |
LESS |
LESS_EQUAL |
MINUS |
MINUS_EQUAL |
MODULO |
MODULO_EQUAL |
NOT_EQUAL |
OR |
PLUS |
PLUS_EQUAL |
TIMES |
TIMES_EQUAL |
UDPATE |
| Modifier and Type | Field and Description |
|---|---|
BinaryOperatorExpression.Operator.Associativity |
associativity |
String |
image |
int |
precedence |
| Modifier and Type | Method and Description |
|---|---|
Expression |
buildTree(Expression lhs,
Expression rhs,
Version version) |
protected abstract Expression |
create(Expression lhs,
Expression rhs,
Version version)
Creates a new
Expression instance based on the provided left-hand side (lhs) expression,
right-hand side (rhs) expression, and the specified version. |
static BinaryOperatorExpression.Operator |
fromImage(String image) |
static BinaryOperatorExpression.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperatorExpression.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperatorExpression.Operator ASSIGN
public static final BinaryOperatorExpression.Operator UDPATE
public static final BinaryOperatorExpression.Operator DEFAULT_EQUAL
public static final BinaryOperatorExpression.Operator PLUS_EQUAL
public static final BinaryOperatorExpression.Operator MINUS_EQUAL
public static final BinaryOperatorExpression.Operator TIMES_EQUAL
public static final BinaryOperatorExpression.Operator DIVIDE_EQUAL
public static final BinaryOperatorExpression.Operator MODULO_EQUAL
public static final BinaryOperatorExpression.Operator DEFAULT
public static final BinaryOperatorExpression.Operator OR
public static final BinaryOperatorExpression.Operator AND
public static final BinaryOperatorExpression.Operator LESS_EQUAL
public static final BinaryOperatorExpression.Operator LESS
public static final BinaryOperatorExpression.Operator GREATER_EQUAL
public static final BinaryOperatorExpression.Operator GREATER
public static final BinaryOperatorExpression.Operator EQUAL
public static final BinaryOperatorExpression.Operator NOT_EQUAL
public static final BinaryOperatorExpression.Operator PLUS
public static final BinaryOperatorExpression.Operator MINUS
public static final BinaryOperatorExpression.Operator MODULO
public static final BinaryOperatorExpression.Operator DIVIDE
public static final BinaryOperatorExpression.Operator TIMES
public final String image
public final int precedence
public final BinaryOperatorExpression.Operator.Associativity associativity
public static BinaryOperatorExpression.Operator[] values()
for (BinaryOperatorExpression.Operator c : BinaryOperatorExpression.Operator.values()) System.out.println(c);
public static BinaryOperatorExpression.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 nullprotected abstract Expression create(Expression lhs, Expression rhs, Version version)
Expression instance based on the provided left-hand side (lhs) expression,
right-hand side (rhs) expression, and the specified version.lhs - the left-hand side expressionrhs - the right-hand side expressionversion - the version providing contextual information for the expression creationExpression that represents the operation between the lhs and rhs expressionspublic static BinaryOperatorExpression.Operator fromImage(String image)
public Expression buildTree(Expression lhs, Expression rhs, Version version)
Copyright © 2025. All rights reserved.