Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 372x 260x 2x | /* eslint-disable @typescript-eslint/no-explicit-any */ export class ErrorListener { private _errors: any = []; public get errors() { return this._errors; } public syntaxError(...args: any) { this._errors.push(args); } // Left empty on purpose, if we do not implement these methods, NcalcJS will crash. // eslint-disable-next-line @typescript-eslint/no-empty-function reportAmbiguity() { } // eslint-disable-next-line @typescript-eslint/no-empty-function reportAttemptingFullContext() { } // eslint-disable-next-line @typescript-eslint/no-empty-function reportContextSensitivity() { } } |