SwitchStatement

A "switch" statement.

Methods
void addCase(Expr expr, StatementBlock block)
Add a case.
void addCase(Expr expr, StatementBlock block)
Add a case.
Parameters:
expr - the case expression
block - the execution block
String asString()
String asString()
void setDefaultBlock(StatementBlock block)
void setDefaultBlock(StatementBlock block)
void setMethod(MethodObj method)
void setMethod(MethodObj method)