(labelText, start)
| 103693 | return block.kind === 3 /* CodeBlockKind.Loop */; |
| 103694 | } |
| 103695 | function hasImmediateContainingLabeledBlock(labelText, start) { |
| 103696 | for (var j = start; j >= 0; j--) { |
| 103697 | var containingBlock = blockStack[j]; |
| 103698 | if (supportsLabeledBreakOrContinue(containingBlock)) { |
| 103699 | if (containingBlock.labelText === labelText) { |
| 103700 | return true; |
| 103701 | } |
| 103702 | } |
| 103703 | else { |
| 103704 | break; |
| 103705 | } |
| 103706 | } |
| 103707 | return false; |
| 103708 | } |
| 103709 | /** |
| 103710 | * Finds the label that is the target for a `break` statement. |
| 103711 | * |
no test coverage detected