UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

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