UNPKG

awv3

Version:
28 lines (22 loc) 571 B
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; var _class, _temp; import Expr from './expr'; var Num = (_temp = _class = /*#__PURE__*/ function (_Expr) { _inheritsLoose(Num, _Expr); function Num() { return _Expr.apply(this, arguments) || this; } var _proto = Num.prototype; _proto.unparse = function unparse() { return JSON.stringify(this.n); }; return Num; }(Expr), Object.defineProperty(_class, "_fields", { configurable: true, enumerable: true, writable: true, value: ['n'] }), _temp); export { Num as default };