UNPKG

@stordata/grammars

Version:

A collection of ANTLR grammars used at Stordata. This project exists so that we can package the grammars (and various utilities) as a CommonJS module. The `antlr4` Javascript runtime is only available as an ES module at the time of writing.

11 lines (7 loc) 198 B
export default class GrammarSyntaxError extends Error { constructor(message, line, column) { super(`${message} at ${line}:${column}`); this.line = line; this.column = column; } }