ifc-expressions
Version:
Parsing and evaluation of IFC expressions
24 lines (23 loc) • 600 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContextObjectValue = void 0;
class ContextObjectValue {
constructor(value, type) {
this.contextObjectValue = value;
this.type = type;
}
getValue() {
return this.contextObjectValue;
}
equals(other) {
return this.contextObjectValue === other?.getValue();
}
toString() {
return "[Context object]";
}
getType() {
return this.type;
}
}
exports.ContextObjectValue = ContextObjectValue;
//# sourceMappingURL=ContextObjectValue.js.map