(message: string)
| 284 | } |
| 285 | |
| 286 | #createError(message: string): SyntaxError { |
| 287 | const mark = markToString( |
| 288 | this.#scanner.source, |
| 289 | this.#scanner.position, |
| 290 | this.line, |
| 291 | this.#scanner.position - this.lineStart, |
| 292 | ); |
| 293 | return new SyntaxError(`${message} ${mark}`); |
| 294 | } |
| 295 | |
| 296 | dispatchWarning(message: string) { |
| 297 | const error = this.#createError(message); |
no test coverage detected