public static final class Java.LabeledStatement extends Java.BreakableStatement
Modifier and Type | Field and Description |
---|---|
Java.Statement |
body
The labeled block.
|
String |
label
The lael of this labeled statement.
|
localVariables
NOWHERE
Constructor and Description |
---|
LabeledStatement(Location location,
String label,
Java.Statement 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 String label
public final Java.Statement body
public LabeledStatement(Location location, String label, Java.Statement 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.