Interface CodeForEachExpression
- All Superinterfaces:
CodeForExpression, CodeItem
CodeForExpression for a foreach loop.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, write
-
Method Details
-
getVariable
CodeLocalVariable getVariable()- Returns:
- the loop variable.
-
getExpression
CodeExpression getExpression()- Returns:
- the expression resulting in the object to iterate.
-