| Modifier and Type | Field and Description |
|---|---|
static TokenRole |
FOR_KEYWORD_ROLE |
static Role<Statement> |
INITIALIZER_ROLE |
static Role<Statement> |
ITERATOR_ROLE |
AST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Constructor and Description |
|---|
ForStatement(int offset) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
Expression |
getCondition() |
Statement |
getEmbeddedStatement() |
JavaTokenNode |
getForToken() |
AstNodeCollection<Statement> |
getInitializers() |
AstNodeCollection<Statement> |
getIterators() |
JavaTokenNode |
getLeftParenthesisToken() |
JavaTokenNode |
getRightParenthesisToken() |
boolean |
matches(INode other,
Match match) |
void |
setCondition(Expression value) |
void |
setEmbeddedStatement(Statement value) |
clone, forPattern, getNextStatement, getNodeType, getOffset, getPreviousStatement, isEmbeddableaddChild, contains, contains, copyUserDataFrom, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final TokenRole FOR_KEYWORD_ROLE
public final JavaTokenNode getForToken()
public final Statement getEmbeddedStatement()
public final void setEmbeddedStatement(Statement value)
public final Expression getCondition()
public final void setCondition(Expression value)
public final JavaTokenNode getLeftParenthesisToken()
public final JavaTokenNode getRightParenthesisToken()
public final AstNodeCollection<Statement> getInitializers()
public final AstNodeCollection<Statement> getIterators()
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNode