public static final class Java.ForEachStatement extends Java.ContinuableStatement
| Modifier and Type | Field and Description |
|---|---|
Java.FunctionDeclarator.FormalParameter |
currentElement
The 'current element local variable declaration' part of the 'enhanced FOR statement'.
|
Java.Rvalue |
expression
The 'expression' part of the 'enhanced FOR statement'.
|
body, whereToContinuelocalVariablesNOWHERE| Constructor and Description |
|---|
ForEachStatement(Location location,
Java.FunctionDeclarator.FormalParameter currentElement,
Java.Rvalue expression,
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, throwCompileExceptionpublic final Java.FunctionDeclarator.FormalParameter currentElement
public final Java.Rvalue expression
public ForEachStatement(Location location, Java.FunctionDeclarator.FormalParameter currentElement, Java.Rvalue expression, 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