public static class Java.SwitchStatement.SwitchBlockStatementGroup extends Java.Located
| Modifier and Type | Field and Description |
|---|---|
List<Java.BlockStatement> |
blockStatements
The statements following the CASE labels.
|
List<Java.Rvalue> |
caseLabels
The CASE labels at the top of the "switch block statement group".
|
boolean |
hasDefaultLabel
Whether this "switch block statement group" includes the DEFAULT label.
|
NOWHERE| Constructor and Description |
|---|
SwitchBlockStatementGroup(Location location,
List<Java.Rvalue> caseLabels,
boolean hasDefaultLabel,
List<Java.BlockStatement> blockStatements) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getLocation, throwCompileExceptionpublic final List<Java.Rvalue> caseLabels
public final boolean hasDefaultLabel
public final List<Java.BlockStatement> blockStatements
public SwitchBlockStatementGroup(Location location, List<Java.Rvalue> caseLabels, boolean hasDefaultLabel, List<Java.BlockStatement> blockStatements)
Copyright © 2019. All rights reserved.