(offset: number)
| 114 | let level = 0; |
| 115 | const text = document.getText(); |
| 116 | const getPos = (offset: number) => { |
| 117 | const line = text.slice(0, offset).match(/\n/g)?.length ?? 0; |
| 118 | const character = offset - Math.max(0, text.lastIndexOf('\n', offset)); |
| 119 | return new Position(line, character); |
| 120 | }; |
| 121 | |
| 122 | const scripts: { name: string; value: string; position: Position }[] = []; |
| 123 |
nothing calls this directly
no test coverage detected