.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / postcss-scss / lib / nested-declaration.js
1 'use strict';
2
3 exports.__esModule = true;
4
5 var _container = require('postcss/lib/container');
6
7 var _container2 = _interopRequireDefault(_container);
8
9 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
13 function _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; }
14
15 function _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; }
16
17 var NestedDeclaration = function (_Container) {
18     _inherits(NestedDeclaration, _Container);
19
20     function NestedDeclaration(defaults) {
21         _classCallCheck(this, NestedDeclaration);
22
23         var _this = _possibleConstructorReturn(this, _Container.call(this, defaults));
24
25         _this.type = 'decl';
26         _this.isNested = true;
27         if (!_this.nodes) _this.nodes = [];
28         return _this;
29     }
30
31     return NestedDeclaration;
32 }(_container2.default);
33
34 exports.default = NestedDeclaration;
35 module.exports = exports['default'];
36 //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5lc3RlZC1kZWNsYXJhdGlvbi5lczYiXSwibmFtZXMiOlsiTmVzdGVkRGVjbGFyYXRpb24iLCJkZWZhdWx0cyIsInR5cGUiLCJpc05lc3RlZCIsIm5vZGVzIiwiQ29udGFpbmVyIl0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7Ozs7Ozs7OztJQUVNQSxpQjs7O0FBRUYsK0JBQVlDLFFBQVosRUFBc0I7QUFBQTs7QUFBQSxxREFDbEIsc0JBQU1BLFFBQU4sQ0FEa0I7O0FBRWxCLGNBQUtDLElBQUwsR0FBZ0IsTUFBaEI7QUFDQSxjQUFLQyxRQUFMLEdBQWdCLElBQWhCO0FBQ0EsWUFBSyxDQUFDLE1BQUtDLEtBQVgsRUFBbUIsTUFBS0EsS0FBTCxHQUFhLEVBQWI7QUFKRDtBQUtyQjs7O0VBUDJCQyxtQjs7a0JBV2pCTCxpQiIsImZpbGUiOiJuZXN0ZWQtZGVjbGFyYXRpb24uanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgQ29udGFpbmVyIGZyb20gJ3Bvc3Rjc3MvbGliL2NvbnRhaW5lcic7XG5cbmNsYXNzIE5lc3RlZERlY2xhcmF0aW9uIGV4dGVuZHMgQ29udGFpbmVyIHtcblxuICAgIGNvbnN0cnVjdG9yKGRlZmF1bHRzKSB7XG4gICAgICAgIHN1cGVyKGRlZmF1bHRzKTtcbiAgICAgICAgdGhpcy50eXBlICAgICA9ICdkZWNsJztcbiAgICAgICAgdGhpcy5pc05lc3RlZCA9IHRydWU7XG4gICAgICAgIGlmICggIXRoaXMubm9kZXMgKSB0aGlzLm5vZGVzID0gW107XG4gICAgfVxuXG59XG5cbmV4cG9ydCBkZWZhdWx0IE5lc3RlZERlY2xhcmF0aW9uO1xuIl19