src/exceptions/shift-reduce-conflict.ts
// tom-weatherhead/thaw-parser/src/exceptions/shift-reduce-conflict.ts
// import { ExceptionBase } from 'thaw-grammar';
export class ShiftReduceConflictException {
// extends ExceptionBase
public readonly message: string;
public readonly line: number;
public readonly column: number;
constructor(message: string, line = 0, column = 0) {
this.message = `ShiftReduceConflictException at line ${line} column ${column}: ${message}`;
this.line = line;
this.column = column;
}
}