* Ends the current block operation.
()
| 103432 | * Ends the current block operation. |
| 103433 | */ |
| 103434 | function endBlock() { |
| 103435 | var block = peekBlock(); |
| 103436 | if (block === undefined) |
| 103437 | return ts.Debug.fail("beginBlock was never called."); |
| 103438 | var index = blockActions.length; |
| 103439 | blockActions[index] = 1 /* BlockAction.Close */; |
| 103440 | blockOffsets[index] = operations ? operations.length : 0; |
| 103441 | blocks[index] = block; |
| 103442 | blockStack.pop(); |
| 103443 | return block; |
| 103444 | } |
| 103445 | /** |
| 103446 | * Gets the current open block. |
| 103447 | */ |
no test coverage detected
searching dependent graphs…