public final class WhileStmt extends Statement
Constructor and Description |
---|
WhileStmt() |
WhileStmt(Expression condition,
Statement body) |
WhileStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression condition,
Statement body) |
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 WhileStmt()
public WhileStmt(Expression condition, Statement body)
public WhileStmt(int beginLine, int beginColumn, int endLine, int endColumn, Expression condition, Statement body)
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)