()
| 93 | return positionAdd(ci, l); |
| 94 | } |
| 95 | trim(): typeof this { |
| 96 | const input = this.input; |
| 97 | if (input.startsWith("\n")) this.delete(0, 1); // TODO better trim |
| 98 | if (input.endsWith("\n")) this.delete(input.length - 1, input.length); // TODO better trim |
| 99 | return this; |
| 100 | } |
| 101 | toString(): string { |
| 102 | let output = ""; |
| 103 | let index = 0; |
no test coverage detected