public class LessThanNode extends BinaryOperationNode
expression < expressionWe allow less than nodes without corresponding AST
Tree
s.left, right, tree
Constructor and Description |
---|
LessThanNode(BinaryTree tree,
Node left,
Node right)
Constructs a
LessThanNode . |
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
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
public LessThanNode(BinaryTree tree, Node left, Node right)
LessThanNode
.tree
- the binary treeleft
- the left operandright
- the right operandpublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node