* Writes a Break operation to the current label's statement list. * * @param label The label for the Break. * @param operationLocation The source map location for the operation.
(label, operationLocation)
| 104270 | * @param operationLocation The source map location for the operation. |
| 104271 | */ |
| 104272 | function writeBreak(label, operationLocation) { |
| 104273 | lastOperationWasAbrupt = true; |
| 104274 | writeStatement(ts.setEmitFlags(ts.setTextRange(factory.createReturnStatement(factory.createArrayLiteralExpression([ |
| 104275 | createInstruction(3 /* Instruction.Break */), |
| 104276 | createLabel(label) |
| 104277 | ])), operationLocation), 384 /* EmitFlags.NoTokenSourceMaps */)); |
| 104278 | } |
| 104279 | /** |
| 104280 | * Writes a BreakWhenTrue operation to the current label's statement list. |
| 104281 | * |
no test coverage detected