Class LeftShiftNode
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.node.Node
-
- org.checkerframework.dataflow.cfg.node.BinaryOperationNode
-
- org.checkerframework.dataflow.cfg.node.LeftShiftNode
-
- All Implemented Interfaces:
org.plumelib.util.UniqueId
public class LeftShiftNode extends BinaryOperationNode
A node for bitwise left shift operations:expression << expression
-
-
Constructor Summary
Constructors Constructor Description LeftShiftNode(com.sun.source.tree.BinaryTree tree, Node left, Node right)
Constructs aLeftShiftNode
.
-
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.boolean
equals(@Nullable java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.BinaryOperationNode
getLeftOperand, getOperands, getRightOperand, getTree
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
-
-
-
-
Constructor Detail
-
LeftShiftNode
public LeftShiftNode(com.sun.source.tree.BinaryTree tree, Node left, Node right)
Constructs aLeftShiftNode
.- Parameters:
tree
- the binary treeleft
- the left operandright
- the right operand
-
-
Method Detail
-
accept
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Description copied from class:Node
Accept method of the visitor pattern.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-