|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ASSwitchDefault
A switch-statement default: label, and the list of
statements immediately following it.
For example, given the following code...
switch (c) {
case 1:
trace("one");
break;
default:
trace("many");
}
...an ASSwitchDefault instance would be available which will provide the
trace("many"); statement when its StatementContainer.getStatementList()
method is called.
ASSwitchStatement.newDefault(),
ASSwitchStatement| Method Summary |
|---|
| Methods inherited from interface uk.co.badgersinfoil.metaas.dom.StatementContainer |
|---|
addComment, addStmt, containsCode, getStatementList, newBreak, newContinue, newDeclaration, newDeclaration, newDefaultXMLNamespace, newDoWhile, newDoWhile, newExprStmt, newExprStmt, newFor, newFor, newForEachIn, newForEachIn, newForIn, newForIn, newIf, newIf, newReturn, newReturn, newReturn, newSuper, newSwitch, newSwitch, newThrow, newTryCatch, newTryFinally, newWhile, newWhile, newWith, newWith |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||