public class BinaryExpr extends Expr
| Constructor and Description |
|---|
BinaryExpr(Expr firstOperand,
Expr secondOperand,
BinaryOperation operation) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
acceptVisitor(ExprVisitor<T> visitor) |
Expr |
getFirstOperand() |
BinaryOperation |
getOperation() |
Expr |
getSecondOperand() |
void |
setFirstOperand(Expr firstOperand) |
void |
setOperation(BinaryOperation operation) |
void |
setSecondOperand(Expr secondOperand) |
public BinaryExpr(Expr firstOperand, Expr secondOperand, BinaryOperation operation)
public Expr getFirstOperand()
public void setFirstOperand(Expr firstOperand)
public Expr getSecondOperand()
public void setSecondOperand(Expr secondOperand)
public BinaryOperation getOperation()
public void setOperation(BinaryOperation operation)
public <T> T acceptVisitor(ExprVisitor<T> visitor)
acceptVisitor in class ExprCopyright © 2019. All rights reserved.