|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a standard for loop in Groovy
Field Summary | |
---|---|
Parameter |
FOR_LOOP_DUMMY
|
Expression |
collectionExpression
|
Statement |
loopBlock
|
VariableScope |
scope
|
Parameter |
variable
|
Constructor Summary | |
ForStatement(Parameter variable, Expression collectionExpression, Statement loopBlock)
|
Method Summary | |
---|---|
Expression |
getCollectionExpression()
|
Statement |
getLoopBlock()
|
Parameter |
getVariable()
|
VariableScope |
getVariableScope()
|
ClassNode |
getVariableType()
|
void |
setCollectionExpression(Expression collectionExpression)
|
void |
setVariableScope(VariableScope variableScope)
|
void |
visit(GroovyCodeVisitor visitor)
|
Constructor Detail |
---|
public ForStatement(Parameter variable, Expression collectionExpression, Statement loopBlock)
Method Detail |
---|
public Expression getCollectionExpression()
public Statement getLoopBlock()
public Parameter getVariable()
public VariableScope getVariableScope()
public ClassNode getVariableType()
public void setCollectionExpression(Expression collectionExpression)
public void setVariableScope(VariableScope variableScope)
public void visit(GroovyCodeVisitor visitor)