comment.js 971 B

123456789101112131415161718192021
  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 Comment = /*#__PURE__*/function (_Node) {
  10. _inheritsLoose(Comment, _Node);
  11. function Comment(opts) {
  12. var _this;
  13. _this = _Node.call(this, opts) || this;
  14. _this.type = _types.COMMENT;
  15. return _this;
  16. }
  17. return Comment;
  18. }(_node["default"]);
  19. exports["default"] = Comment;
  20. module.exports = exports.default;