UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

17 lines (16 loc) 972 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WrongFunctionArgumentTypeException = void 0; const ExpressionTypeError_js_1 = require("./ExpressionTypeError.js"); class WrongFunctionArgumentTypeException extends ExpressionTypeError_js_1.ExpressionTypeError { constructor(functionName, argumentName, expectedType, actualType, argumentIndex, ctx) { super(`Function ${functionName}: Actual argument type '${actualType.getName()}' does not satisfy expected type '${expectedType.getName()}' for argument '${argumentName}' at 0-based position ${argumentIndex}.`, ctx); this.functionName = functionName; this.argumentName = argumentName; this.expectedType = expectedType; this.actualType = actualType; this.argumentIndex = argumentIndex; } } exports.WrongFunctionArgumentTypeException = WrongFunctionArgumentTypeException; //# sourceMappingURL=WrongFunctionArgumentTypeException.js.map