()
| 58 | } |
| 59 | |
| 60 | clearCode() { |
| 61 | this.code = []; |
| 62 | if (!this.opts.constantsFile) { |
| 63 | this.constants = []; |
| 64 | } |
| 65 | this.functions = []; |
| 66 | } |
| 67 | |
| 68 | addSection(title: string, code: ArrayJoinInput<string>[]) { |
| 69 | this.code.push('', ...toCommentSeparator(title)) |