(offset: number)
| 264 | |
| 265 | // NOTE: `offset` may never run across line boundaries. |
| 266 | protected getCurrentLocation(offset: number): Location | null { |
| 267 | if (!this.options.sourceCodeLocationInfo) { |
| 268 | return null; |
| 269 | } |
| 270 | |
| 271 | return { |
| 272 | startLine: this.preprocessor.line, |
| 273 | startCol: this.preprocessor.col - offset, |
| 274 | startOffset: this.preprocessor.offset - offset, |
| 275 | endLine: -1, |
| 276 | endCol: -1, |
| 277 | endOffset: -1, |
| 278 | }; |
| 279 | } |
| 280 | |
| 281 | protected _runParsingLoop(): void { |
| 282 | if (this.inLoop) return; |
no outgoing calls
no test coverage detected