source: trip-planner-front/node_modules/css-select/lib/procedure.js@ 59329aa

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

initial commit

  • Property mode set to 100644
File size: 462 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.isTraversal = exports.procedure = void 0;
4exports.procedure = {
5 universal: 50,
6 tag: 30,
7 attribute: 1,
8 pseudo: 0,
9 "pseudo-element": 0,
10 descendant: -1,
11 child: -1,
12 parent: -1,
13 sibling: -1,
14 adjacent: -1,
15 _flexibleDescendant: -1,
16};
17function isTraversal(t) {
18 return exports.procedure[t.type] < 0;
19}
20exports.isTraversal = isTraversal;
Note: See TracBrowser for help on using the repository browser.