Class NumericalMinusNode
java.lang.Object
org.checkerframework.dataflow.cfg.node.Node
org.checkerframework.dataflow.cfg.node.UnaryOperationNode
org.checkerframework.dataflow.cfg.node.NumericalMinusNode
- All Implemented Interfaces:
org.plumelib.util.UniqueId
A node for the unary minus operation:
- expression
-
Field Summary
Fields inherited from class org.checkerframework.dataflow.cfg.node.UnaryOperationNode
operand, tree
-
Constructor Summary
ConstructorsConstructorDescriptionNumericalMinusNode
(UnaryTree tree, Node operand) Constructs aNumericalMinusNode
. -
Method Summary
Methods inherited from class org.checkerframework.dataflow.cfg.node.UnaryOperationNode
getOperand, getOperands, getTree
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
-
Constructor Details
-
NumericalMinusNode
Constructs aNumericalMinusNode
.- Parameters:
tree
- the unary treeoperand
- the operand of the unary minus
-
-
Method Details
-
accept
Description copied from class:Node
Accept method of the visitor pattern. -
toString
-
equals
-
hashCode
public int hashCode()
-