combinator.js 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = function (d, b) {
  4. extendStatics = Object.setPrototypeOf ||
  5. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  6. function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
  7. return extendStatics(d, b);
  8. };
  9. return function (d, b) {
  10. if (typeof b !== "function" && b !== null)
  11. throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
  12. extendStatics(d, b);
  13. function __() { this.constructor = d; }
  14. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  15. };
  16. })();
  17. var __importDefault = (this && this.__importDefault) || function (mod) {
  18. return (mod && mod.__esModule) ? mod : { "default": mod };
  19. };
  20. Object.defineProperty(exports, "__esModule", { value: true });
  21. var node_1 = __importDefault(require("./node"));
  22. var types_1 = require("./types");
  23. var Combinator = /** @class */ (function (_super) {
  24. __extends(Combinator, _super);
  25. function Combinator(opts) {
  26. var _this = _super.call(this, opts) || this;
  27. _this.type = types_1.COMBINATOR;
  28. return _this;
  29. }
  30. return Combinator;
  31. }(node_1.default));
  32. exports.default = Combinator;
  33. //# sourceMappingURL=combinator.js.map