UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

21 lines (20 loc) 617 B
import { isPresent } from "../util/IfcExpressionUtils.js"; export class SyntaxErrorException extends Error { constructor(offendingSymbol, line, column, msg) { super(`Syntax Error in line ${line}, column ${column}` + (isPresent(msg) ? `: ${msg}` : "")); this._offendingSymbol = offendingSymbol; this._line = line; this._column = column; } get offendingSymbol() { return this._offendingSymbol; } get line() { return this._line; } get column() { return this._column; } } //# sourceMappingURL=SyntaxErrorException.js.map