export class LexError extends Error { name : string = 'LexError' ; constructor ( public row , public column , public unexpected ) { super ( `Unexpected ${ unexpected } at ${ row }:${ column }` ) ; } }