* Writes a Throw operation to the current label's statement list. * * @param expression The value to throw. * @param operationLocation The source map location for the operation.
(expression, operationLocation)
| 104246 | * @param operationLocation The source map location for the operation. |
| 104247 | */ |
| 104248 | function writeThrow(expression, operationLocation) { |
| 104249 | lastOperationWasAbrupt = true; |
| 104250 | lastOperationWasCompletion = true; |
| 104251 | writeStatement(ts.setTextRange(factory.createThrowStatement(expression), operationLocation)); |
| 104252 | } |
| 104253 | /** |
| 104254 | * Writes a Return operation to the current label's statement list. |
| 104255 | * |
no test coverage detected