Member predicate SwitchCase::getAStmt
Gets a statement belonging under this ‘switch case’ statement.
For example, for
switch (i) {
case 5:
x = 1;
break;
case 6:
case 7:
{ x = 2; break; }
default:
{ x = 3; }
x = 4;
break;
}
the case 5:
has results x = 1;
and break;
, case 6:
has no
results, case 7:
has a single result { x = 2; break; }
, and
default:
has results { x = 3; },
x = 4;and
break;`.