class BinaryJExpr extends AbstractJExpr
Modifier and Type | Field and Description |
---|---|
private Assoc |
assoc |
private AbstractJExpr |
e1 |
private AbstractJExpr |
e2 |
private Tokens.$PUNCT.BINOP |
op |
Constructor and Description |
---|
BinaryJExpr(Tokens.$PUNCT.BINOP op,
AbstractJExpr e1,
AbstractJExpr e2,
int prec) |
BinaryJExpr(Tokens.$PUNCT.BINOP op,
AbstractJExpr e1,
AbstractJExpr e2,
int prec,
Assoc assoc) |
Modifier and Type | Method and Description |
---|---|
(package private) Assoc |
getAssoc() |
(package private) AbstractJExpr |
getExpr1() |
(package private) AbstractJExpr |
getExpr2() |
void |
write(SourceFileWriter writer) |
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, of, or, paren, plus, prec, shl, shr, times
private final Tokens.$PUNCT.BINOP op
private final AbstractJExpr e1
private final AbstractJExpr e2
private final Assoc assoc
BinaryJExpr(Tokens.$PUNCT.BINOP op, AbstractJExpr e1, AbstractJExpr e2, int prec)
BinaryJExpr(Tokens.$PUNCT.BINOP op, AbstractJExpr e1, AbstractJExpr e2, int prec, Assoc assoc)
AbstractJExpr getExpr1()
AbstractJExpr getExpr2()
Assoc getAssoc()
public void write(SourceFileWriter writer) throws java.io.IOException
java.io.IOException