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