source: trip-planner-front/node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser/dist/selectors/comment.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1'use strict';
2
3exports.__esModule = true;
4
5var _node = require('./node');
6
7var _node2 = _interopRequireDefault(_node);
8
9var _types = require('./types');
10
11function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
13function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14
15function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
16
17function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
18
19var Comment = function (_Node) {
20 _inherits(Comment, _Node);
21
22 function Comment(opts) {
23 _classCallCheck(this, Comment);
24
25 var _this = _possibleConstructorReturn(this, _Node.call(this, opts));
26
27 _this.type = _types.COMMENT;
28 return _this;
29 }
30
31 return Comment;
32}(_node2.default);
33
34exports.default = Comment;
35module.exports = exports['default'];
Note: See TracBrowser for help on using the repository browser.