public final class CastExpr extends Expression
Constructor and Description |
---|
CastExpr() |
CastExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
Expression expr) |
CastExpr(Type type,
Expression expr) |
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() |
Type |
getType() |
void |
setExpr(Expression expr) |
void |
setType(Type type) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public CastExpr()
public CastExpr(Type type, Expression expr)
public CastExpr(int beginLine, int beginColumn, int endLine, int endColumn, Type type, Expression expr)
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 Type getType()
public void setExpr(Expression expr)
public void setType(Type type)