* Ends a code block that supports `break` statements that are defined in generated code.
()
| 103636 | * Ends a code block that supports `break` statements that are defined in generated code. |
| 103637 | */ |
| 103638 | function endSwitchBlock() { |
| 103639 | ts.Debug.assert(peekBlockKind() === 2 /* CodeBlockKind.Switch */); |
| 103640 | var block = endBlock(); |
| 103641 | var breakLabel = block.breakLabel; |
| 103642 | if (!block.isScript) { |
| 103643 | markLabel(breakLabel); |
| 103644 | } |
| 103645 | } |
| 103646 | function beginScriptLabeledBlock(labelText) { |
| 103647 | beginBlock({ |
| 103648 | kind: 4 /* CodeBlockKind.Labeled */, |
no test coverage detected
searching dependent graphs…