public class UnaryMinusNode extends AbstractFloatResultNode
leftEvaluable, rightEvaluableleftrightBNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE| Constructor and Description |
|---|
UnaryMinusNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
claim() |
UnaryMinusNode |
copy() |
Dimensional |
dimop(Dimensional dl,
Dimensional dr) |
void |
doVisit(ExpressionVisitor ev) |
Dimensional |
evaluateDimensional(HashMap<String,Dimensional> dhm) |
int |
getPrecedence() |
AbstractDVal |
makeEvaluable(HashMap<String,Double> fixedHM) |
double |
op(double x,
double y) |
makeEvaluatorcheckLeftRight, getDimensionality, substituteVariables, toExpressionclaimLeft, getSymbol, replaceChild, replaceSymbols, toStringclaimRightdeparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoExpressiongetDimensionality, substituteVariablespublic UnaryMinusNode copy()
copy in class AbstractOperatorNodepublic int getPrecedence()
getPrecedence in class AbstractOperatorNodepublic double op(double x,
double y)
op in class AbstractFloatResultNodepublic void claim()
throws ParseError
claim in class AbstractOperatorNodeParseErrorpublic AbstractDVal makeEvaluable(HashMap<String,Double> fixedHM) throws ContentError
ContentErrorpublic Dimensional dimop(Dimensional dl, Dimensional dr) throws ContentError
dimop in class AbstractFloatOperatorNodeContentErrorpublic Dimensional evaluateDimensional(HashMap<String,Dimensional> dhm) throws ContentError
evaluateDimensional in interface ParseTreeNodeevaluateDimensional in class AbstractFloatOperatorNodeContentErrorpublic void doVisit(ExpressionVisitor ev) throws ContentError
ContentErrorCopyright © 2019. All rights reserved.