public class ConditionalAndNode extends BinaryOperationNode
expression && expression
left, right, tree
Constructor and Description |
---|
ConditionalAndNode(BinaryTree tree,
Node left,
Node right)
Create a new ConditionalAndNode.
|
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() |
getLeftOperand, getOperands, getRightOperand, getTree
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValue
public ConditionalAndNode(BinaryTree tree, Node left, Node right)
tree
- the conditional-and tree for this nodeleft
- the first argumentright
- the second argumentpublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node