ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ForeachStmt() |
ForeachStmt(Range range,
VariableDeclarationExpr var,
Expression iterable,
Statement body) |
ForeachStmt(VariableDeclarationExpr var,
Expression iterable,
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 |
getIterable() |
VariableDeclarationExpr |
getVariable() |
void |
setBody(Statement body) |
void |
setIterable(Expression iterable) |
void |
setVariable(VariableDeclarationExpr var) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getData, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setData, setEnd, setLineComment, setParentNode, setRange, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public ForeachStmt()
public ForeachStmt(VariableDeclarationExpr var, Expression iterable, Statement body)
public ForeachStmt(Range range, VariableDeclarationExpr var, Expression iterable, 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 getIterable()
public VariableDeclarationExpr getVariable()
public void setBody(Statement body)
public void setIterable(Expression iterable)
public void setVariable(VariableDeclarationExpr var)
Copyright © 2007–2016. All rights reserved.