awv3
Version:
⚡ AWV3 embedded CAD
30 lines (24 loc) • 691 B
JavaScript
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
var _class, _temp;
import Stmt from './stmt';
var VariableDef = (_temp = _class =
/*#__PURE__*/
function (_Stmt) {
_inheritsLoose(VariableDef, _Stmt);
function VariableDef() {
return _Stmt.apply(this, arguments) || this;
}
var _proto = VariableDef.prototype;
_proto.unparse = function unparse() {
return 'VAR ' + this.elts.map(function (elt) {
return elt.unparse();
}).join(', ') + ';';
};
return VariableDef;
}(Stmt), Object.defineProperty(_class, "_fields", {
configurable: true,
enumerable: true,
writable: true,
value: ['elts']
}), _temp);
export { VariableDef as default };