UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

9 lines (8 loc) 550 B
import { ExprEvalMissingFunctionArgumentErrorObj, } from "../../expression/ExprEvalResult.js"; import { TextSpan } from "../../util/TextSpan.js"; export class MissingFunctionArgumentExceptionMapper { mapException(exception) { return new ExprEvalMissingFunctionArgumentErrorObj(exception.message, exception.functionName, exception.argumentName, exception.index, TextSpan.of(exception.fromLine, exception.fromColumn + 1, exception.toLine, exception.toColumn + 1)); } } //# sourceMappingURL=MissingFunctionArgumentExceptionMapper.js.map