| class AS_CASE_STMT < $AS_STMT |
|---|
| **** | A "case" statement. |
| $AS_STMT | $NEXT{_} | $AS_NODE | $PROG_ERR | AS_STMT | AS_NODE |
| attr else_part:AS_STMT_LIST; |
|---|
| **** | The "else" part. |
| attr no_else:BOOL; |
|---|
| **** | True if there is no "else" part. |
| attr test:$AS_EXPR; |
|---|
| **** | The expression to test. |
| attr when_part:AS_CASE_WHEN; |
|---|
| **** | The list of "when" clauses. |
| attr else_part:AS_STMT_LIST; |
|---|
| **** | The "else" part. |
| attr no_else:BOOL; |
|---|
| **** | True if there is no "else" part. |
| attr test:$AS_EXPR; |
|---|
| **** | The expression to test. |
| attr when_part:AS_CASE_WHEN; |
|---|
| **** | The list of "when" clauses. |