public class CDIfStatement extends java.lang.Object implements CDStatement
| Constructor and Description |
|---|
CDIfStatement(CDExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
CDBlock |
_else() |
CDBlock |
_then() |
void |
setElseBlock(CDBlock b) |
void |
setThenBlock(CDBlock b) |
void |
state(CDFormatter f)
Prints itself as a statement.
|
public CDIfStatement(CDExpression expr)
public void setThenBlock(CDBlock b)
public CDBlock _then()
public void setElseBlock(CDBlock b)
public CDBlock _else()
public void state(CDFormatter f) throws java.io.IOException
CDStatementstate in interface CDStatementjava.io.IOException