public interface BinaryExpr extends Expr
| Modifier and Type | Interface and Description |
|---|---|
static class |
BinaryExpr.Impl |
static interface |
BinaryExpr.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(BinaryExpr.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Expr.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Positioned.Visitor<P,R> visitor,
P par) |
Expr |
getLhs() |
BinaryOperator |
getOperator() |
Expr |
getRhs() |
static BinaryExpr |
of(Expr lhs,
BinaryOperator operator,
Expr rhs) |
void |
setLhs(Expr lhs) |
void |
setOperator(BinaryOperator operator) |
void |
setRhs(Expr rhs) |
getPosition, of, setPositionstatic BinaryExpr of(Expr lhs, BinaryOperator operator, Expr rhs)
Expr getLhs()
void setLhs(Expr lhs)
BinaryOperator getOperator()
void setOperator(BinaryOperator operator)
Expr getRhs()
void setRhs(Expr rhs)
default <P,R> R accept(BinaryExpr.Visitor<P,R> visitor, P par)
default <P,R> R accept(Expr.Visitor<P,R> visitor, P par)
default <P,R> R accept(Positioned.Visitor<P,R> visitor, P par)
accept in interface Expraccept in interface Positioneddefault <P,R> R accept(Node.Visitor<P,R> visitor, P par)