UNPKG

awv3

Version:
28 lines (22 loc) 639 B
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; var _class, _temp; import Stmt from './stmt'; var Assign = (_temp = _class = /*#__PURE__*/ function (_Stmt) { _inheritsLoose(Assign, _Stmt); function Assign() { return _Stmt.apply(this, arguments) || this; } var _proto = Assign.prototype; _proto.unparse = function unparse() { return this.target.unparse() + ' = ' + this.value.unparse() + ';'; }; return Assign; }(Stmt), Object.defineProperty(_class, "_fields", { configurable: true, enumerable: true, writable: true, value: ['target', 'value'] }), _temp); export { Assign as default };