public final class DoStmt extends Statement
Constructor and Description |
---|
DoStmt() |
DoStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Statement body,
Expression condition) |
DoStmt(Statement body,
Expression condition) |
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.
|
Statement |
getBody() |
Expression |
getCondition() |
void |
setBody(Statement body) |
void |
setCondition(Expression condition) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public DoStmt()
public DoStmt(Statement body, Expression condition)
public DoStmt(int beginLine, int beginColumn, int endLine, int endColumn, Statement body, Expression condition)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Statement getBody()
public Expression getCondition()
public void setBody(Statement body)
public void setCondition(Expression condition)