* Writes a YieldStar instruction to the current label's statement list. * * @param expression The expression to yield. * @param operationLocation The source map location for the operation.
(expression, operationLocation)
| 104321 | * @param operationLocation The source map location for the operation. |
| 104322 | */ |
| 104323 | function writeYieldStar(expression, operationLocation) { |
| 104324 | lastOperationWasAbrupt = true; |
| 104325 | writeStatement(ts.setEmitFlags(ts.setTextRange(factory.createReturnStatement(factory.createArrayLiteralExpression([ |
| 104326 | createInstruction(5 /* Instruction.YieldStar */), |
| 104327 | expression |
| 104328 | ])), operationLocation), 384 /* EmitFlags.NoTokenSourceMaps */)); |
| 104329 | } |
| 104330 | /** |
| 104331 | * Writes an Endfinally instruction to the current label's statement list. |
| 104332 | */ |
no test coverage detected