public abstract class BinaryExpr extends RationalExpr
| Constructor and Description |
|---|
BinaryExpr(RationalExpr e,
RationalExpr f)
Construct a binary expression from two sub-expressions.
|
| Modifier and Type | Method and Description |
|---|---|
RationalExpr |
getLeft() |
RationalExpr |
getRight() |
void |
setLeft(RationalExpr left) |
void |
setRight(RationalExpr right) |
mult, one, plus, zeropublic BinaryExpr(RationalExpr e, RationalExpr f)
e - ef - fpublic RationalExpr getLeft()
public void setLeft(RationalExpr left)
left - The left to set.public RationalExpr getRight()
public void setRight(RationalExpr right)
right - The right to set.Copyright © 2020. All rights reserved.