UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

25 lines (24 loc) 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SyntaxErrorException = void 0; const IfcExpressionUtils_js_1 = require("../util/IfcExpressionUtils.js"); class SyntaxErrorException extends Error { constructor(offendingSymbol, line, column, msg) { super(`Syntax Error in line ${line}, column ${column}` + ((0, IfcExpressionUtils_js_1.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; } } exports.SyntaxErrorException = SyntaxErrorException; //# sourceMappingURL=SyntaxErrorException.js.map