public final class BinaryExpr extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
BinaryExpr.Operator |
Constructor and Description |
---|
BinaryExpr() |
BinaryExpr(Expression left,
Expression right,
BinaryExpr.Operator op) |
BinaryExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression left,
Expression right,
BinaryExpr.Operator op) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Expression |
getLeft() |
BinaryExpr.Operator |
getOperator() |
Expression |
getRight() |
void |
setLeft(Expression left) |
void |
setOperator(BinaryExpr.Operator op) |
void |
setRight(Expression right) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public BinaryExpr()
public BinaryExpr(Expression left, Expression right, BinaryExpr.Operator op)
public BinaryExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression left, Expression right, BinaryExpr.Operator op)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getLeft()
public BinaryExpr.Operator getOperator()
public Expression getRight()
public void setLeft(Expression left)
public void setOperator(BinaryExpr.Operator op)
public void setRight(Expression right)