protected static class CalculatorExpr.ExprTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static CalculatorExpr.ExpressionType |
booleanExpr
The current expression type is boolean.
|
protected static CalculatorExpr.ExpressionType |
doubleExpr
The current expression type is double.
|
protected static CalculatorExpr.ExpressionType |
finishBooleanExpr
Converts the value of val2 to boolean because a booleanExpr is required.
|
protected static CalculatorExpr.ExpressionType |
floatExpr
The current expression type is float.
|
protected static CalculatorExpr.ExpressionType |
intExpr
The current expression type is int.
|
protected static CalculatorExpr.ExpressionType |
longExpr
The current expression type is long.
|
protected static CalculatorExpr.ExpressionType |
objExpr
Only used for the first and only one operand.
|
protected static CalculatorExpr.ExpressionType |
startExpr
The type of val2 determines the expression type.
|
protected static CalculatorExpr.ExpressionType |
stringExpr
The current expression type is String.
|
protected static CalculatorExpr.ExpressionType |
variableNotFoundExpr
Only used for the first and only one operand.
|
Modifier | Constructor and Description |
---|---|
protected |
ExprTypes() |
protected static final CalculatorExpr.ExpressionType startExpr
protected static final CalculatorExpr.ExpressionType intExpr
protected static final CalculatorExpr.ExpressionType longExpr
protected static final CalculatorExpr.ExpressionType floatExpr
protected static final CalculatorExpr.ExpressionType doubleExpr
protected static final CalculatorExpr.ExpressionType booleanExpr
protected static final CalculatorExpr.ExpressionType finishBooleanExpr
protected static final CalculatorExpr.ExpressionType stringExpr
Object.toString()
if one of the operand have an abbreviating type.protected static final CalculatorExpr.ExpressionType objExpr
protected static final CalculatorExpr.ExpressionType variableNotFoundExpr