* Opens a code block and increases the indentation level. * * @param code The code before the block starts (e.g. `export class {`).
(code?: string)
| 68 | * @param code The code before the block starts (e.g. `export class {`). |
| 69 | */ |
| 70 | public open(code?: string) { |
| 71 | if (code) { |
| 72 | this.line(code); |
| 73 | } |
| 74 | |
| 75 | this.indentLevel++; |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Decreases the indentation level and closes a code block. |
no test coverage detected