public static final class Java.ForStatement extends Java.ContinuableStatement
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
condition
The optional "condition" part of the "basic FOR statement".
|
Java.BlockStatement |
init
The optional "init" part of the "basic FOR statement".
|
Java.Rvalue[] |
update
The optional "update" part of the "basic FOR statement".
|
body, whereToContinuelocalVariablesNOWHERE| Constructor and Description |
|---|
ForStatement(Location location,
Java.BlockStatement init,
Java.Rvalue condition,
Java.Rvalue[] update,
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 init
@Nullable public final Java.Rvalue condition
@Nullable public final Java.Rvalue[] update
public ForStatement(Location location, @Nullable Java.BlockStatement init, @Nullable Java.Rvalue condition, @Nullable Java.Rvalue[] update, 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 ThrowableCopyright © 2022. All rights reserved.