public abstract class AbstractBooleanOperatorNode extends AbstractOperatorNode implements BooleanParseTreeNode
leftrightBNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE| Constructor and Description |
|---|
AbstractBooleanOperatorNode(String s) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
bool(boolean x,
boolean y) |
protected void |
checkLeftRight() |
Dimensional |
evaluateDimensional(HashMap<String,Dimensional> dhm) |
Dimensional |
getDimensionality(HashMap<String,Dimensional> dimHM) |
void |
substituteVariables(HashMap<String,String> varHM) |
String |
toExpression() |
claim, claimLeft, copy, getPrecedence, 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, waitcheckDimensions, makeEvaluabledoVisitpublic AbstractBooleanOperatorNode(String s)
public abstract boolean bool(boolean x,
boolean y)
protected void checkLeftRight()
throws ContentError
ContentErrorpublic Dimensional getDimensionality(HashMap<String,Dimensional> dimHM) throws ContentError
getDimensionality in interface ParseTreeNodeContentErrorpublic Dimensional evaluateDimensional(HashMap<String,Dimensional> dhm) throws ContentError
evaluateDimensional in interface ParseTreeNodeContentErrorpublic void substituteVariables(HashMap<String,String> varHM) throws ContentError
substituteVariables in interface ParseTreeNodeContentErrorpublic String toExpression() throws ContentError
toExpression in interface BooleanParseTreeNodetoExpression in interface ParseTreeNodeContentErrorCopyright © 2019. All rights reserved.