Last change
on this file since 1ad8e64 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";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.isTraversal = exports.procedure = void 0;
|
---|
4 | exports.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 | };
|
---|
17 | function isTraversal(t) {
|
---|
18 | return exports.procedure[t.type] < 0;
|
---|
19 | }
|
---|
20 | exports.isTraversal = isTraversal;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.