source: trip-planner-front/node_modules/postcss-selector-parser/dist/selectors/pseudo.js

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

initial commit

  • Property mode set to 100644
File size: 1.2 KB
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5
6var _container = _interopRequireDefault(require("./container"));
7
8var _types = require("./types");
9
10function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
12function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
13
14function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
15
16var Pseudo = /*#__PURE__*/function (_Container) {
17 _inheritsLoose(Pseudo, _Container);
18
19 function Pseudo(opts) {
20 var _this;
21
22 _this = _Container.call(this, opts) || this;
23 _this.type = _types.PSEUDO;
24 return _this;
25 }
26
27 var _proto = Pseudo.prototype;
28
29 _proto.toString = function toString() {
30 var params = this.length ? '(' + this.map(String).join(',') + ')' : '';
31 return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join('');
32 };
33
34 return Pseudo;
35}(_container["default"]);
36
37exports["default"] = Pseudo;
38module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.