UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

16 lines (15 loc) 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LessThan = void 0; const ComparisonOp_js_1 = require("./ComparisonOp.js"); const ExprKind_js_1 = require("../ExprKind.js"); class LessThan extends ComparisonOp_js_1.ComparisonOp { constructor(left, right) { super(ExprKind_js_1.ExprKind.CMP_LESS_THAN, left, right, (num) => num < 0); } buildExprString(builder) { builder.appendExpr(this.left).appendString(" < ").appendExpr(this.right); } } exports.LessThan = LessThan; //# sourceMappingURL=LessThan.js.map