public class ConditionalOrNode extends BinaryOperationNode
expression || expression
left, right, tree
Constructor and Description |
---|
ConditionalOrNode(BinaryTree tree,
Node left,
Node right)
Create a new ConditionalOrNode.
|
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, getUid, isLValue, nodeCollectionToString, setAssignmentContext, setBlock, setInSource, setLValue, toStringDebug
public ConditionalOrNode(BinaryTree tree, Node left, Node right)
tree
- the conditional-or tree for this nodeleft
- the first argumentright
- the second argumentpublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node