public class OrNode extends AbstractBooleanOperatorNode
Modifier and Type | Field and Description |
---|---|
static String |
SYMBOL |
left
right
BNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE
Constructor and Description |
---|
OrNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
bool(boolean x,
boolean y) |
void |
checkDimensions(HashMap<String,Dimensional> dimHM) |
OrNode |
copy() |
void |
doVisit(ExpressionVisitor ev) |
int |
getPrecedence() |
AbstractBVal |
makeEvaluable(HashMap<String,Double> fixedHM) |
checkLeftRight, evaluateDimensional, getDimensionality, substituteVariables, toExpression
claim, claimLeft, getSymbol, replaceChild, replaceSymbols, toString
claimRight
deparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToString
public static final String SYMBOL
public OrNode copy()
copy
in class AbstractOperatorNode
public int getPrecedence()
getPrecedence
in class AbstractOperatorNode
public boolean bool(boolean x, boolean y)
bool
in class AbstractBooleanOperatorNode
public AbstractBVal makeEvaluable(HashMap<String,Double> fixedHM) throws ContentError
ContentError
public void checkDimensions(HashMap<String,Dimensional> dimHM) throws ContentError
ContentError
public void doVisit(ExpressionVisitor ev)
Copyright © 2020. All rights reserved.