public class CDSwitchStatement extends java.lang.Object implements CDStatement
| Constructor and Description |
|---|
CDSwitchStatement(CDExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCase(CDConstant expr,
CDBlock statements) |
CDBlock |
defaultCase() |
void |
state(CDFormatter f)
Prints itself as a statement.
|
public CDSwitchStatement(CDExpression expr)
public void addCase(CDConstant expr, CDBlock statements)
public CDBlock defaultCase()
public void state(CDFormatter f) throws java.io.IOException
CDStatementstate in interface CDStatementjava.io.IOException