public final class DoStmt extends Statement implements NodeWithBody<DoStmt>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION
Constructor and Description |
---|
DoStmt() |
DoStmt(Range range,
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() |
DoStmt |
setBody(Statement body) |
DoStmt |
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, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
createBlockStatementAsBody
public DoStmt()
public DoStmt(Statement body, Expression condition)
public DoStmt(Range range, 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()
getBody
in interface NodeWithBody<DoStmt>
public Expression getCondition()
public DoStmt setBody(Statement body)
setBody
in interface NodeWithBody<DoStmt>
public DoStmt setCondition(Expression condition)
Copyright © 2007–2016. All rights reserved.