public abstract class BinaryExpression extends AbstractNode
构造器和说明 |
---|
BinaryExpression() |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Object |
arrayBinaryOperation(FArray array1,
FArray array2,
java.lang.String op) |
protected java.lang.Object |
binaryOperation(java.lang.Object left,
java.lang.Object right,
java.lang.String op) |
protected abstract java.lang.String |
emptyNodesException() |
java.lang.Object |
eval(CalculatorProvider calculator) |
protected abstract Node |
getNodeByIndex(int idx) |
protected abstract java.lang.String |
getOpByIndex(int idx) |
protected boolean |
isRelationExpression() |
protected boolean |
judge(java.lang.Object ob) |
protected abstract java.lang.Object |
objectBinaryOperation(java.lang.Object left,
java.lang.Object right,
java.lang.String op) |
protected boolean |
shortcutJudge() |
protected abstract int |
sizeOfNodes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delay4PageCal, exString, getExpression, parserParameter, parserParameterNoColumnRow, trav4HuntBIL, trav4HuntSIL, traversal4Tiny
public java.lang.Object eval(CalculatorProvider calculator) throws UtilEvalError
UtilEvalError
protected abstract int sizeOfNodes()
protected abstract java.lang.String emptyNodesException()
protected abstract Node getNodeByIndex(int idx)
protected abstract java.lang.String getOpByIndex(int idx)
protected boolean shortcutJudge()
protected boolean judge(java.lang.Object ob)
protected java.lang.Object binaryOperation(java.lang.Object left, java.lang.Object right, java.lang.String op) throws UtilEvalError
UtilEvalError
protected boolean isRelationExpression()
protected java.lang.Object arrayBinaryOperation(FArray array1, FArray array2, java.lang.String op) throws UtilEvalError
UtilEvalError
protected abstract java.lang.Object objectBinaryOperation(java.lang.Object left, java.lang.Object right, java.lang.String op) throws UtilEvalError
UtilEvalError