public final class UnaryExpr extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
UnaryExpr.Operator |
Constructor and Description |
---|
UnaryExpr() |
UnaryExpr(Expression expr,
UnaryExpr.Operator op) |
UnaryExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression expr,
UnaryExpr.Operator op) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Expression |
getExpr() |
UnaryExpr.Operator |
getOperator() |
void |
setExpr(Expression expr) |
void |
setOperator(UnaryExpr.Operator op) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public UnaryExpr()
public UnaryExpr(Expression expr, UnaryExpr.Operator op)
public UnaryExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression expr, UnaryExpr.Operator op)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getExpr()
public UnaryExpr.Operator getOperator()
public void setExpr(Expression expr)
public void setOperator(UnaryExpr.Operator op)