public abstract class AbstractOperatorNode extends AbstractUnaryNode implements Cloneable, ParseTreeNode
| Modifier and Type | Field and Description |
|---|---|
Node |
left |
rightBNARY_OPERATOR, CLOSE, CONSTANT, OPEN, type, UNARY_OPERATOR, UNKNOWN, VARIABLE| Constructor and Description |
|---|
AbstractOperatorNode(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
claim() |
void |
claimLeft() |
abstract AbstractOperatorNode |
copy() |
abstract int |
getPrecedence() |
String |
getSymbol() |
void |
replaceChild(Node nold,
Node nnew) |
void |
replaceSymbols(HashMap<String,String> map) |
String |
toString() |
claimRightdeparent, detachNext, detachPrevious, dispose, isClose, isOpen, linkNext, next, parent, previous, remove, replaceNext, replacePrevious, replaceWith, setParent, siblingsToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoVisit, evaluateDimensional, getDimensionality, substituteVariables, toExpressionpublic Node left
public AbstractOperatorNode(String s)
public String getSymbol()
public abstract int getPrecedence()
public abstract AbstractOperatorNode copy()
public void replaceChild(Node nold, Node nnew) throws ParseError
replaceChild in class NodeParseErrorpublic void claim()
throws ParseError
claim in class AbstractUnaryNodeParseErrorpublic void claimLeft()
throws ParseError
ParseErrorpublic void replaceSymbols(HashMap<String,String> map)
replaceSymbols in class AbstractUnaryNodeCopyright © 2019. All rights reserved.