public final class WhileStmt extends Statement implements NodeWithBody<WhileStmt>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION| Constructor and Description |
|---|
WhileStmt() |
WhileStmt(Expression condition,
Statement body) |
WhileStmt(Range range,
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() |
WhileStmt |
setBody(Statement body) |
WhileStmt |
setCondition(Expression condition) |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitcreateBlockStatementAsBodypublic WhileStmt()
public WhileStmt(Expression condition, Statement body)
public WhileStmt(Range range, Expression condition, Statement body)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Statement getBody()
getBody in interface NodeWithBody<WhileStmt>public Expression getCondition()
public WhileStmt setBody(Statement body)
setBody in interface NodeWithBody<WhileStmt>public WhileStmt setCondition(Expression condition)
Copyright © 2007–2016. All rights reserved.