e7e200b064cae324e5680268a869d87b915b56d7953fab975300544450cc668a9fd4ecf55ed4874e59e3e3d9d72a7d67f21ae3054d82079be13d107e65d266 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.AttributeAction = exports.IgnoreCaseMode = exports.SelectorType = void 0;
  4. var SelectorType;
  5. (function (SelectorType) {
  6. SelectorType["Attribute"] = "attribute";
  7. SelectorType["Pseudo"] = "pseudo";
  8. SelectorType["PseudoElement"] = "pseudo-element";
  9. SelectorType["Tag"] = "tag";
  10. SelectorType["Universal"] = "universal";
  11. // Traversals
  12. SelectorType["Adjacent"] = "adjacent";
  13. SelectorType["Child"] = "child";
  14. SelectorType["Descendant"] = "descendant";
  15. SelectorType["Parent"] = "parent";
  16. SelectorType["Sibling"] = "sibling";
  17. SelectorType["ColumnCombinator"] = "column-combinator";
  18. })(SelectorType = exports.SelectorType || (exports.SelectorType = {}));
  19. /**
  20. * Modes for ignore case.
  21. *
  22. * This could be updated to an enum, and the object is
  23. * the current stand-in that will allow code to be updated
  24. * without big changes.
  25. */
  26. exports.IgnoreCaseMode = {
  27. Unknown: null,
  28. QuirksMode: "quirks",
  29. IgnoreCase: true,
  30. CaseSensitive: false,
  31. };
  32. var AttributeAction;
  33. (function (AttributeAction) {
  34. AttributeAction["Any"] = "any";
  35. AttributeAction["Element"] = "element";
  36. AttributeAction["End"] = "end";
  37. AttributeAction["Equals"] = "equals";
  38. AttributeAction["Exists"] = "exists";
  39. AttributeAction["Hyphen"] = "hyphen";
  40. AttributeAction["Not"] = "not";
  41. AttributeAction["Start"] = "start";
  42. })(AttributeAction = exports.AttributeAction || (exports.AttributeAction = {}));