public class NumericalAdditionNode extends BinaryOperationNode
expression + expression
left, right, tree
Constructor and Description |
---|
NumericalAdditionNode(BinaryTree tree,
Node left,
Node right)
Constructs a
NumericalAdditionNode . |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(NodeVisitor<R,P> visitor,
P p)
Accept method of the visitor pattern.
|
boolean |
equals(@Nullable Object obj) |
int |
hashCode() |
String |
toString() |
getLeftOperand, getOperands, getRightOperand, getTree
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
public NumericalAdditionNode(BinaryTree tree, Node left, Node right)
NumericalAdditionNode
.tree
- the binary treeleft
- the left operandright
- the right operandpublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node