source: trip-planner-front/node_modules/postcss-selector-parser/dist/selectors/id.js@ 188ee53

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

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5
6var _node = _interopRequireDefault(require("./node"));
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 ID = /*#__PURE__*/function (_Node) {
17 _inheritsLoose(ID, _Node);
18
19 function ID(opts) {
20 var _this;
21
22 _this = _Node.call(this, opts) || this;
23 _this.type = _types.ID;
24 return _this;
25 }
26
27 var _proto = ID.prototype;
28
29 _proto.valueToString = function valueToString() {
30 return '#' + _Node.prototype.valueToString.call(this);
31 };
32
33 return ID;
34}(_node["default"]);
35
36exports["default"] = ID;
37module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.