public class NumericalMinusNode extends UnaryOperationNode
- expression
operand, tree| Constructor and Description |
|---|
NumericalMinusNode(UnaryTree tree,
Node operand)
Constructs a
NumericalMinusNode. |
| 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() |
getOperand, getOperands, getTreegetBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugpublic NumericalMinusNode(UnaryTree tree, Node operand)
NumericalMinusNode.tree - the unary treeoperand - the operand of the unary minuspublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node