(code: ErrorCodes, index: number, message?: string)
| 1010 | } |
| 1011 | |
| 1012 | function emitError(code: ErrorCodes, index: number, message?: string) { |
| 1013 | currentOptions.onError( |
| 1014 | createCompilerError(code, getLoc(index, index), undefined, message), |
| 1015 | ) |
| 1016 | } |
| 1017 | |
| 1018 | function reset() { |
| 1019 | tokenizer.reset() |
no test coverage detected