nesting.js 994 B

12345678910111213141516171819202122
  1. "use strict";
  2. exports.__esModule = true;
  3. exports["default"] = void 0;
  4. var _node = _interopRequireDefault(require("./node"));
  5. var _types = require("./types");
  6. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  7. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
  8. function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  9. var Nesting = /*#__PURE__*/function (_Node) {
  10. _inheritsLoose(Nesting, _Node);
  11. function Nesting(opts) {
  12. var _this;
  13. _this = _Node.call(this, opts) || this;
  14. _this.type = _types.NESTING;
  15. _this.value = '&';
  16. return _this;
  17. }
  18. return Nesting;
  19. }(_node["default"]);
  20. exports["default"] = Nesting;
  21. module.exports = exports.default;