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, whereToContinue
localVariables
NOWHERE
Constructor and Description |
---|
ForStatement(Location location,
Java.BlockStatement optionalInit,
Java.Rvalue optionalCondition,
Java.Rvalue[] optionalUpdate,
Java.BlockStatement body) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.BlockStatementVisitor visitor)
Invokes the '
visit...() ' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final Java.BlockStatement optionalInit
public final Java.Rvalue optionalCondition
public final Java.Rvalue[] optionalUpdate
public ForStatement(Location location, Java.BlockStatement optionalInit, Java.Rvalue optionalCondition, Java.Rvalue[] optionalUpdate, Java.BlockStatement body)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Copyright © 2001–2016. All rights reserved.