public abstract class ArithmeticExpression extends BinaryExpression implements ExpressionCategory
| Constructor and Description |
|---|
ArithmeticExpression() |
ArithmeticExpression(Expression leftArgument,
Expression rightArgument) |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends DataType>> |
allowedLeftDataTypes() |
List<Class<? extends DataType>> |
allowedRightDataTypes() |
DataType |
getReturnedDataType()
Validates the returned data type of the Expression.
|
equals, getLeavesByType, getLeftArgument, getRightArgument, hashCode, setLeftArgument, setRightArgument, toString, validategetOperatorclone, getAppliableOperators, getExpressionsByCategorypublic ArithmeticExpression()
public ArithmeticExpression(Expression leftArgument, Expression rightArgument)
public DataType getReturnedDataType() throws NotEvaluableDataTypeException
ExpressiongetReturnedDataType in class ExpressionNotEvaluableDataTypeExceptionpublic List<Class<? extends DataType>> allowedLeftDataTypes()
allowedLeftDataTypes in class BinaryExpressionpublic List<Class<? extends DataType>> allowedRightDataTypes()
allowedRightDataTypes in class BinaryExpressionCopyright © 2020. All Rights Reserved.