awv3
Version:
⚡ AWV3 embedded CAD
28 lines (22 loc) • 635 B
JavaScript
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
var _class, _temp;
import Expr from './expr';
var Attribute = (_temp = _class =
/*#__PURE__*/
function (_Expr) {
_inheritsLoose(Attribute, _Expr);
function Attribute() {
return _Expr.apply(this, arguments) || this;
}
var _proto = Attribute.prototype;
_proto.unparse = function unparse() {
return this.value.unparse() + '.' + this.attr;
};
return Attribute;
}(Expr), Object.defineProperty(_class, "_fields", {
configurable: true,
enumerable: true,
writable: true,
value: ['value', 'attr']
}), _temp);
export { Attribute as default };