public final class ForStmt extends Statement
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ForStmt() |
ForStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
java.util.List<Expression> init,
Expression compare,
java.util.List<Expression> update,
Statement body) |
ForStmt(java.util.List<Expression> init,
Expression compare,
java.util.List<Expression> update,
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 |
getCompare() |
java.util.List<Expression> |
getInit() |
java.util.List<Expression> |
getUpdate() |
void |
setBody(Statement body) |
void |
setCompare(Expression compare) |
void |
setInit(java.util.List<Expression> init) |
void |
setUpdate(java.util.List<Expression> update) |
addOrphanComment, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public ForStmt()
public ForStmt(java.util.List<Expression> init, Expression compare, java.util.List<Expression> update, Statement body)
public ForStmt(int beginLine, int beginColumn, int endLine, int endColumn, java.util.List<Expression> init, Expression compare, java.util.List<Expression> update, 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 getCompare()
public java.util.List<Expression> getInit()
public java.util.List<Expression> getUpdate()
public void setBody(Statement body)
public void setCompare(Expression compare)
public void setInit(java.util.List<Expression> init)
public void setUpdate(java.util.List<Expression> update)
Copyright © 2007-2015. All Rights Reserved.