Modifier and Type | Field and Description |
---|---|
private Expr |
expr |
private UnaryOpType |
op |
Constructor and Description |
---|
UnaryExpr(UnaryOpType op,
Expr expr) |
Modifier and Type | Method and Description |
---|---|
void |
accept(TreeVisitor tv) |
Expr |
getExpr() |
UnaryOpType |
getOp() |
getResultType
private final UnaryOpType op
private final Expr expr
UnaryExpr(UnaryOpType op, Expr expr)
public UnaryOpType getOp()
public Expr getExpr()
public void accept(TreeVisitor tv)