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, getTree
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setAssignmentContext, setBlock, setInSource, setLValue, toStringDebug
public 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