constructors.js 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
  4. var _attribute = _interopRequireDefault(require("./attribute"));
  5. var _className = _interopRequireDefault(require("./className"));
  6. var _combinator = _interopRequireDefault(require("./combinator"));
  7. var _comment = _interopRequireDefault(require("./comment"));
  8. var _id = _interopRequireDefault(require("./id"));
  9. var _nesting = _interopRequireDefault(require("./nesting"));
  10. var _pseudo = _interopRequireDefault(require("./pseudo"));
  11. var _root = _interopRequireDefault(require("./root"));
  12. var _selector = _interopRequireDefault(require("./selector"));
  13. var _string = _interopRequireDefault(require("./string"));
  14. var _tag = _interopRequireDefault(require("./tag"));
  15. var _universal = _interopRequireDefault(require("./universal"));
  16. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  17. var attribute = function attribute(opts) {
  18. return new _attribute["default"](opts);
  19. };
  20. exports.attribute = attribute;
  21. var className = function className(opts) {
  22. return new _className["default"](opts);
  23. };
  24. exports.className = className;
  25. var combinator = function combinator(opts) {
  26. return new _combinator["default"](opts);
  27. };
  28. exports.combinator = combinator;
  29. var comment = function comment(opts) {
  30. return new _comment["default"](opts);
  31. };
  32. exports.comment = comment;
  33. var id = function id(opts) {
  34. return new _id["default"](opts);
  35. };
  36. exports.id = id;
  37. var nesting = function nesting(opts) {
  38. return new _nesting["default"](opts);
  39. };
  40. exports.nesting = nesting;
  41. var pseudo = function pseudo(opts) {
  42. return new _pseudo["default"](opts);
  43. };
  44. exports.pseudo = pseudo;
  45. var root = function root(opts) {
  46. return new _root["default"](opts);
  47. };
  48. exports.root = root;
  49. var selector = function selector(opts) {
  50. return new _selector["default"](opts);
  51. };
  52. exports.selector = selector;
  53. var string = function string(opts) {
  54. return new _string["default"](opts);
  55. };
  56. exports.string = string;
  57. var tag = function tag(opts) {
  58. return new _tag["default"](opts);
  59. };
  60. exports.tag = tag;
  61. var universal = function universal(opts) {
  62. return new _universal["default"](opts);
  63. };
  64. exports.universal = universal;