()
| 1045 | } |
| 1046 | |
| 1047 | length(): number { |
| 1048 | let chunk: Chunk | null = this.firstChunk |
| 1049 | let length = 0 |
| 1050 | while (chunk) { |
| 1051 | length += chunk.intro.length + chunk.content.length + chunk.outro.length |
| 1052 | chunk = chunk.next |
| 1053 | } |
| 1054 | return length |
| 1055 | } |
| 1056 | |
| 1057 | /** |
| 1058 | * Removes empty lines from the start and end. |
nothing calls this directly
no outgoing calls
no test coverage detected