Class NumericalPlusNode
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.node.Node
-
- org.checkerframework.dataflow.cfg.node.UnaryOperationNode
-
- org.checkerframework.dataflow.cfg.node.NumericalPlusNode
-
- All Implemented Interfaces:
org.plumelib.util.UniqueId
public class NumericalPlusNode extends UnaryOperationNode
A node for the unary plus operation:+ expression
-
-
Constructor Summary
Constructors Constructor Description NumericalPlusNode(com.sun.source.tree.UnaryTree tree, Node operand)Constructs aNumericalPlusNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(NodeVisitor<R,P> visitor, P p)Accept method of the visitor pattern.booleanequals(@Nullable java.lang.Object obj)inthashCode()java.lang.StringtoString()-
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 Detail
-
NumericalPlusNode
public NumericalPlusNode(com.sun.source.tree.UnaryTree tree, Node operand)Constructs aNumericalPlusNode.- Parameters:
tree- the tree of the whole operationoperand- the operand of the operation
-
-
Method Detail
-
accept
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Description copied from class:NodeAccept method of the visitor pattern.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-