* Writes a BreakWhenFalse operation to the current label's statement list. * * @param label The label for the Break. * @param condition The condition for the Break. * @param operationLocation The source map location for the operation.
(label, condition, operationLocation)
| 104297 | * @param operationLocation The source map location for the operation. |
| 104298 | */ |
| 104299 | function writeBreakWhenFalse(label, condition, operationLocation) { |
| 104300 | writeStatement(ts.setEmitFlags(factory.createIfStatement(factory.createLogicalNot(condition), ts.setEmitFlags(ts.setTextRange(factory.createReturnStatement(factory.createArrayLiteralExpression([ |
| 104301 | createInstruction(3 /* Instruction.Break */), |
| 104302 | createLabel(label) |
| 104303 | ])), operationLocation), 384 /* EmitFlags.NoTokenSourceMaps */)), 1 /* EmitFlags.SingleLine */)); |
| 104304 | } |
| 104305 | /** |
| 104306 | * Writes a Yield operation to the current label's statement list. |
| 104307 | * |
no test coverage detected