public abstract class AbstractFloatOperatorNode extends AbstractOperatorNode
Modifier and Type | Field and Description |
---|---|
protected DoubleParseTreeNode |
leftEvaluable |
protected DoubleParseTreeNode |
rightEvaluable |
left
right
BNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE
Constructor and Description |
---|
AbstractFloatOperatorNode(String s) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkLeftRight() |
abstract Dimensional |
dimop(Dimensional dl,
Dimensional dr) |
Dimensional |
evaluateDimensional(HashMap<String,Dimensional> dimHM) |
Dimensional |
getDimensionality(HashMap<String,Dimensional> dimHM) |
void |
substituteVariables(HashMap<String,String> varHM) |
String |
toExpression() |
claim, claimLeft, copy, getPrecedence, getSymbol, replaceChild, replaceSymbols, toString
claimRight
deparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
doVisit
protected DoubleParseTreeNode leftEvaluable
protected DoubleParseTreeNode rightEvaluable
public AbstractFloatOperatorNode(String s)
protected void checkLeftRight() throws ContentError
ContentError
public Dimensional getDimensionality(HashMap<String,Dimensional> dimHM) throws ContentError
ContentError
public Dimensional evaluateDimensional(HashMap<String,Dimensional> dimHM) throws ContentError
ContentError
public abstract Dimensional dimop(Dimensional dl, Dimensional dr) throws ContentError
ContentError
public void substituteVariables(HashMap<String,String> varHM) throws ContentError
ContentError
public String toExpression() throws ContentError
ContentError
Copyright © 2019. All rights reserved.