Java.BlockStatement, Java.Locatable, Java.Scopepublic static final class Java.LabeledStatement extends Java.BreakableStatement
| Modifier and Type | Field | Description |
|---|---|---|
Java.Statement |
body |
The labeled block.
|
String |
label |
The lael of this labeled statement.
|
NOWHERElocalVariables| Constructor | Description |
|---|---|
LabeledStatement(Location location,
String label,
Java.Statement 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, throwCompileExceptiongetLocation, throwCompileExceptionfindLocalVariable, getEnclosingScope, setEnclosingScopepublic final String label
public final Java.Statement body
public LabeledStatement(Location location, String label, Java.Statement body)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.Copyright © 2001–2019. All rights reserved.