public interface For extends Loop
for
statement. Contains a statement to be executed and an expression
to be tested indicating whether to reexecute the statement.Loop.Instance
Modifier and Type | Method and Description |
---|---|
For |
body(Stmt body)
Set the loop body.
|
For |
cond(Expr cond)
Set the loop condition.
|
java.util.List<ForInit> |
inits()
List of initialization statements.
|
For |
inits(java.util.List<ForInit> inits)
Set the list of initialization statements.
|
java.util.List<ForUpdate> |
iters()
List of iterator expressions.
|
For |
iters(java.util.List<ForUpdate> iters)
Set the list of iterator expressions.
|
exceptions, exceptions, reachable, reachable
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList
For inits(java.util.List<ForInit> inits)
inits
- A list of ForInit
.For iters(java.util.List<ForUpdate> iters)
iters
- A list of ForUpdate
.