Java.BlockStatement
, Java.Locatable
, Java.Scope
public static final class Java.ForEachStatement extends Java.ContinuableStatement
Modifier and Type | Field | 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, whereToContinue
NOWHERE
localVariables
Constructor | Description |
---|---|
ForEachStatement(Location location,
Java.FunctionDeclarator.FormalParameter currentElement,
Java.Rvalue expression,
Java.BlockStatement body) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
Invokes the '
visit...() ' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
getLocation, throwCompileException
getLocation, throwCompileException
findLocalVariable, getEnclosingScope, setEnclosingScope
public final Java.FunctionDeclarator.FormalParameter currentElement
public final Java.Rvalue expression
public ForEachStatement(Location location, Java.FunctionDeclarator.FormalParameter currentElement, Java.Rvalue expression, Java.BlockStatement body)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Copyright © 2001–2019. All rights reserved.