public static final class Java.ForStatement extends Java.ContinuableStatement
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
optionalCondition
The optional 'condition' part of the 'basic FOR statement'.
|
Java.BlockStatement |
optionalInit
The optional 'init' part of the 'basic FOR statement'.
|
Java.Rvalue[] |
optionalUpdate
The optional 'update' part of the 'basic FOR statement'.
|
body, whereToContinuelocalVariablesNOWHERE| Constructor and Description |
|---|
ForStatement(Location location,
Java.BlockStatement optionalInit,
Java.Rvalue optionalCondition,
Java.Rvalue[] optionalUpdate,
Java.BlockStatement body) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.BlockStatementVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileException@Nullable public final Java.BlockStatement optionalInit
@Nullable public final Java.Rvalue optionalCondition
@Nullable public final Java.Rvalue[] optionalUpdate
public ForStatement(Location location, @Nullable Java.BlockStatement optionalInit, @Nullable Java.Rvalue optionalCondition, @Nullable Java.Rvalue[] optionalUpdate, Java.BlockStatement body)
@Nullable public <R,EX extends Throwable> R accept(Visitor.BlockStatementVisitor<R,EX> visitor) throws EX extends Throwable
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.EX extends Throwable