chore: Remove Dockerfile and docker-compose.yml, update README and migration guide for backend log checks
Some checks failed
Documentation / build-docs (push) Has been cancelled
Tests / test (macos-latest, 3.11) (push) Has been cancelled
Tests / test (macos-latest, 3.12) (push) Has been cancelled
Tests / test (macos-latest, 3.13) (push) Has been cancelled
Tests / test (macos-latest, 3.14) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.14) (push) Has been cancelled
Some checks failed
Documentation / build-docs (push) Has been cancelled
Tests / test (macos-latest, 3.11) (push) Has been cancelled
Tests / test (macos-latest, 3.12) (push) Has been cancelled
Tests / test (macos-latest, 3.13) (push) Has been cancelled
Tests / test (macos-latest, 3.14) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.14) (push) Has been cancelled
This commit is contained in:
2
frontend/node_modules/esquery/README.md
generated
vendored
2
frontend/node_modules/esquery/README.md
generated
vendored
@@ -20,7 +20,7 @@ The following selectors are supported:
|
||||
* [adjacent sibling](http://dev.w3.org/csswg/selectors4/#adjacent-sibling-combinators): `node + adjacent`
|
||||
* [negation](http://dev.w3.org/csswg/selectors4/#negation-pseudo): `:not(ForStatement)`
|
||||
* [has](https://drafts.csswg.org/selectors-4/#has-pseudo): `:has(ForStatement)`, `:has(> ForStatement)`
|
||||
* [matches-any](http://dev.w3.org/csswg/selectors4/#matches): `:matches([attr] > :first-child, :last-child)`
|
||||
* [matches-any](http://dev.w3.org/csswg/selectors4/#matches): `:is([attr] > :first-child, :last-child)`
|
||||
* [subject indicator](http://dev.w3.org/csswg/selectors4/#subject): `!IfStatement > [name="foo"]`
|
||||
* class of AST node: `:statement`, `:expression`, `:declaration`, `:function`, or `:pattern`
|
||||
|
||||
|
||||
2
frontend/node_modules/esquery/package.json
generated
vendored
2
frontend/node_modules/esquery/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "esquery",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"author": "Joel Feenstra <jrfeenst+esquery@gmail.com>",
|
||||
"contributors": [],
|
||||
"description": "A query library for ECMAScript AST using a CSS selector like query language.",
|
||||
|
||||
471
frontend/node_modules/esquery/parser.js
generated
vendored
471
frontend/node_modules/esquery/parser.js
generated
vendored
@@ -248,38 +248,47 @@
|
||||
peg$c73 = peg$classExpectation(["i", "m", "s", "u"], false, false),
|
||||
peg$c74 = "/",
|
||||
peg$c75 = peg$literalExpectation("/", false),
|
||||
peg$c76 = /^[^\/]/,
|
||||
peg$c77 = peg$classExpectation(["/"], true, false),
|
||||
peg$c78 = function(d, flgs) { return {
|
||||
type: 'regexp', value: new RegExp(d.join(''), flgs ? flgs.join('') : '') };
|
||||
peg$c76 = function(pattern, flgs) {
|
||||
return {
|
||||
type: 'regexp', value: new RegExp(pattern.join(''), flgs ? flgs.join('') : '')
|
||||
};
|
||||
},
|
||||
peg$c79 = function(i, is) {
|
||||
peg$c77 = /^[^\]\\]/,
|
||||
peg$c78 = peg$classExpectation(["]", "\\"], true, false),
|
||||
peg$c79 = function(cs) { return '[' + cs.join('') + ']'; },
|
||||
peg$c80 = function(a) { return '\\' + a; },
|
||||
peg$c81 = /^[^\/\\[]/,
|
||||
peg$c82 = peg$classExpectation(["/", "\\", "["], true, false),
|
||||
peg$c83 = function(cs) { return cs.join(''); },
|
||||
peg$c84 = function(i, is) {
|
||||
return { type: 'field', name: is.reduce(function(memo, p){ return memo + p[0] + p[1]; }, i)};
|
||||
},
|
||||
peg$c80 = ":not(",
|
||||
peg$c81 = peg$literalExpectation(":not(", false),
|
||||
peg$c82 = function(ss) { return { type: 'not', selectors: ss }; },
|
||||
peg$c83 = ":matches(",
|
||||
peg$c84 = peg$literalExpectation(":matches(", false),
|
||||
peg$c85 = function(ss) { return { type: 'matches', selectors: ss }; },
|
||||
peg$c86 = ":has(",
|
||||
peg$c87 = peg$literalExpectation(":has(", false),
|
||||
peg$c88 = function(ss) { return { type: 'has', selectors: ss }; },
|
||||
peg$c89 = ":first-child",
|
||||
peg$c90 = peg$literalExpectation(":first-child", false),
|
||||
peg$c91 = function() { return nth(1); },
|
||||
peg$c92 = ":last-child",
|
||||
peg$c93 = peg$literalExpectation(":last-child", false),
|
||||
peg$c94 = function() { return nthLast(1); },
|
||||
peg$c95 = ":nth-child(",
|
||||
peg$c96 = peg$literalExpectation(":nth-child(", false),
|
||||
peg$c97 = function(n) { return nth(parseInt(n.join(''), 10)); },
|
||||
peg$c98 = ":nth-last-child(",
|
||||
peg$c99 = peg$literalExpectation(":nth-last-child(", false),
|
||||
peg$c100 = function(n) { return nthLast(parseInt(n.join(''), 10)); },
|
||||
peg$c101 = ":",
|
||||
peg$c102 = peg$literalExpectation(":", false),
|
||||
peg$c103 = function(c) {
|
||||
peg$c85 = ":not(",
|
||||
peg$c86 = peg$literalExpectation(":not(", false),
|
||||
peg$c87 = function(ss) { return { type: 'not', selectors: ss }; },
|
||||
peg$c88 = ":matches(",
|
||||
peg$c89 = peg$literalExpectation(":matches(", false),
|
||||
peg$c90 = function(ss) { return { type: 'matches', selectors: ss }; },
|
||||
peg$c91 = ":is(",
|
||||
peg$c92 = peg$literalExpectation(":is(", false),
|
||||
peg$c93 = ":has(",
|
||||
peg$c94 = peg$literalExpectation(":has(", false),
|
||||
peg$c95 = function(ss) { return { type: 'has', selectors: ss }; },
|
||||
peg$c96 = ":first-child",
|
||||
peg$c97 = peg$literalExpectation(":first-child", false),
|
||||
peg$c98 = function() { return nth(1); },
|
||||
peg$c99 = ":last-child",
|
||||
peg$c100 = peg$literalExpectation(":last-child", false),
|
||||
peg$c101 = function() { return nthLast(1); },
|
||||
peg$c102 = ":nth-child(",
|
||||
peg$c103 = peg$literalExpectation(":nth-child(", false),
|
||||
peg$c104 = function(n) { return nth(parseInt(n.join(''), 10)); },
|
||||
peg$c105 = ":nth-last-child(",
|
||||
peg$c106 = peg$literalExpectation(":nth-last-child(", false),
|
||||
peg$c107 = function(n) { return nthLast(parseInt(n.join(''), 10)); },
|
||||
peg$c108 = ":",
|
||||
peg$c109 = peg$literalExpectation(":", false),
|
||||
peg$c110 = function(c) {
|
||||
return { type: 'class', name: c };
|
||||
},
|
||||
|
||||
@@ -424,7 +433,7 @@
|
||||
function peg$parsestart() {
|
||||
var s0, s1, s2, s3;
|
||||
|
||||
var key = peg$currPos * 32 + 0,
|
||||
var key = peg$currPos * 36 + 0,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -473,7 +482,7 @@
|
||||
function peg$parse_() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 1,
|
||||
var key = peg$currPos * 36 + 1,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -509,7 +518,7 @@
|
||||
function peg$parseidentifierName() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 2,
|
||||
var key = peg$currPos * 36 + 2,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -555,7 +564,7 @@
|
||||
function peg$parsebinaryOp() {
|
||||
var s0, s1, s2, s3;
|
||||
|
||||
var key = peg$currPos * 32 + 3,
|
||||
var key = peg$currPos * 36 + 3,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -685,7 +694,7 @@
|
||||
function peg$parsehasSelectors() {
|
||||
var s0, s1, s2, s3, s4, s5, s6, s7;
|
||||
|
||||
var key = peg$currPos * 32 + 4,
|
||||
var key = peg$currPos * 36 + 4,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -788,7 +797,7 @@
|
||||
function peg$parseselectors() {
|
||||
var s0, s1, s2, s3, s4, s5, s6, s7;
|
||||
|
||||
var key = peg$currPos * 32 + 5,
|
||||
var key = peg$currPos * 36 + 5,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -891,7 +900,7 @@
|
||||
function peg$parsehasSelector() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 6,
|
||||
var key = peg$currPos * 36 + 6,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -928,7 +937,7 @@
|
||||
function peg$parseselector() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 7,
|
||||
var key = peg$currPos * 36 + 7,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -995,7 +1004,7 @@
|
||||
function peg$parsesequence() {
|
||||
var s0, s1, s2, s3;
|
||||
|
||||
var key = peg$currPos * 32 + 8,
|
||||
var key = peg$currPos * 36 + 8,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1047,7 +1056,7 @@
|
||||
function peg$parseatom() {
|
||||
var s0;
|
||||
|
||||
var key = peg$currPos * 32 + 9,
|
||||
var key = peg$currPos * 36 + 9,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1068,17 +1077,20 @@
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parsematches();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parsehas();
|
||||
s0 = peg$parseis();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parsefirstChild();
|
||||
s0 = peg$parsehas();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parselastChild();
|
||||
s0 = peg$parsefirstChild();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parsenthChild();
|
||||
s0 = peg$parselastChild();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parsenthLastChild();
|
||||
s0 = peg$parsenthChild();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parseclass();
|
||||
s0 = peg$parsenthLastChild();
|
||||
if (s0 === peg$FAILED) {
|
||||
s0 = peg$parseclass();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1099,7 +1111,7 @@
|
||||
function peg$parsewildcard() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 10,
|
||||
var key = peg$currPos * 36 + 10,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1130,7 +1142,7 @@
|
||||
function peg$parseidentifier() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 11,
|
||||
var key = peg$currPos * 36 + 11,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1173,7 +1185,7 @@
|
||||
function peg$parseattr() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 12,
|
||||
var key = peg$currPos * 36 + 12,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1237,7 +1249,7 @@
|
||||
function peg$parseattrOps() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 13,
|
||||
var key = peg$currPos * 36 + 13,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1295,7 +1307,7 @@
|
||||
function peg$parseattrEqOps() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 14,
|
||||
var key = peg$currPos * 36 + 14,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1344,7 +1356,7 @@
|
||||
function peg$parseattrName() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 15,
|
||||
var key = peg$currPos * 36 + 15,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1423,7 +1435,7 @@
|
||||
function peg$parseattrValue() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 16,
|
||||
var key = peg$currPos * 36 + 16,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1529,7 +1541,7 @@
|
||||
function peg$parsestring() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 17,
|
||||
var key = peg$currPos * 36 + 17,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1771,7 +1783,7 @@
|
||||
function peg$parsenumber() {
|
||||
var s0, s1, s2, s3;
|
||||
|
||||
var key = peg$currPos * 32 + 18,
|
||||
var key = peg$currPos * 36 + 18,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1866,7 +1878,7 @@
|
||||
function peg$parsepath() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 19,
|
||||
var key = peg$currPos * 36 + 19,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1891,7 +1903,7 @@
|
||||
function peg$parsetype() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 20,
|
||||
var key = peg$currPos * 36 + 20,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -1976,7 +1988,7 @@
|
||||
function peg$parseflags() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 21,
|
||||
var key = peg$currPos * 36 + 21,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2016,7 +2028,7 @@
|
||||
function peg$parseregex() {
|
||||
var s0, s1, s2, s3, s4;
|
||||
|
||||
var key = peg$currPos * 32 + 22,
|
||||
var key = peg$currPos * 36 + 22,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2035,22 +2047,22 @@
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = [];
|
||||
if (peg$c76.test(input.charAt(peg$currPos))) {
|
||||
s3 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s3 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c77); }
|
||||
s3 = peg$parsere_character_class();
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_escape();
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_chars();
|
||||
}
|
||||
}
|
||||
if (s3 !== peg$FAILED) {
|
||||
while (s3 !== peg$FAILED) {
|
||||
s2.push(s3);
|
||||
if (peg$c76.test(input.charAt(peg$currPos))) {
|
||||
s3 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s3 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c77); }
|
||||
s3 = peg$parsere_character_class();
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_escape();
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_chars();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -2071,7 +2083,7 @@
|
||||
}
|
||||
if (s4 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c78(s2, s4);
|
||||
s1 = peg$c76(s2, s4);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2095,10 +2107,181 @@
|
||||
return s0;
|
||||
}
|
||||
|
||||
function peg$parsere_character_class() {
|
||||
var s0, s1, s2, s3;
|
||||
|
||||
var key = peg$currPos * 36 + 23,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
peg$currPos = cached.nextPos;
|
||||
|
||||
return cached.result;
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.charCodeAt(peg$currPos) === 91) {
|
||||
s1 = peg$c31;
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c32); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = [];
|
||||
if (peg$c77.test(input.charAt(peg$currPos))) {
|
||||
s3 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s3 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c78); }
|
||||
}
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_escape();
|
||||
}
|
||||
if (s3 !== peg$FAILED) {
|
||||
while (s3 !== peg$FAILED) {
|
||||
s2.push(s3);
|
||||
if (peg$c77.test(input.charAt(peg$currPos))) {
|
||||
s3 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s3 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c78); }
|
||||
}
|
||||
if (s3 === peg$FAILED) {
|
||||
s3 = peg$parsere_escape();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
s2 = peg$FAILED;
|
||||
}
|
||||
if (s2 !== peg$FAILED) {
|
||||
if (input.charCodeAt(peg$currPos) === 93) {
|
||||
s3 = peg$c33;
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s3 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c34); }
|
||||
}
|
||||
if (s3 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c79(s2);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
|
||||
peg$resultsCache[key] = { nextPos: peg$currPos, result: s0 };
|
||||
|
||||
return s0;
|
||||
}
|
||||
|
||||
function peg$parsere_escape() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 36 + 24,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
peg$currPos = cached.nextPos;
|
||||
|
||||
return cached.result;
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.charCodeAt(peg$currPos) === 92) {
|
||||
s1 = peg$c52;
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c53); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
if (input.length > peg$currPos) {
|
||||
s2 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s2 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c54); }
|
||||
}
|
||||
if (s2 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c80(s2);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
|
||||
peg$resultsCache[key] = { nextPos: peg$currPos, result: s0 };
|
||||
|
||||
return s0;
|
||||
}
|
||||
|
||||
function peg$parsere_chars() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 36 + 25,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
peg$currPos = cached.nextPos;
|
||||
|
||||
return cached.result;
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
s1 = [];
|
||||
if (peg$c81.test(input.charAt(peg$currPos))) {
|
||||
s2 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s2 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c82); }
|
||||
}
|
||||
if (s2 !== peg$FAILED) {
|
||||
while (s2 !== peg$FAILED) {
|
||||
s1.push(s2);
|
||||
if (peg$c81.test(input.charAt(peg$currPos))) {
|
||||
s2 = input.charAt(peg$currPos);
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s2 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c82); }
|
||||
}
|
||||
}
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c83(s1);
|
||||
}
|
||||
s0 = s1;
|
||||
|
||||
peg$resultsCache[key] = { nextPos: peg$currPos, result: s0 };
|
||||
|
||||
return s0;
|
||||
}
|
||||
|
||||
function peg$parsefield() {
|
||||
var s0, s1, s2, s3, s4, s5, s6;
|
||||
|
||||
var key = peg$currPos * 32 + 23,
|
||||
var key = peg$currPos * 36 + 26,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2166,7 +2349,7 @@
|
||||
}
|
||||
if (s3 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c79(s2, s3);
|
||||
s1 = peg$c84(s2, s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2189,7 +2372,7 @@
|
||||
function peg$parsenegation() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 24,
|
||||
var key = peg$currPos * 36 + 27,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2199,12 +2382,12 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 5) === peg$c80) {
|
||||
s1 = peg$c80;
|
||||
if (input.substr(peg$currPos, 5) === peg$c85) {
|
||||
s1 = peg$c85;
|
||||
peg$currPos += 5;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c81); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c86); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
@@ -2222,7 +2405,7 @@
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c82(s3);
|
||||
s1 = peg$c87(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2253,7 +2436,7 @@
|
||||
function peg$parsematches() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 25,
|
||||
var key = peg$currPos * 36 + 28,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2263,12 +2446,12 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 9) === peg$c83) {
|
||||
s1 = peg$c83;
|
||||
if (input.substr(peg$currPos, 9) === peg$c88) {
|
||||
s1 = peg$c88;
|
||||
peg$currPos += 9;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c84); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
@@ -2286,7 +2469,71 @@
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c85(s3);
|
||||
s1 = peg$c90(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
s0 = peg$FAILED;
|
||||
}
|
||||
|
||||
peg$resultsCache[key] = { nextPos: peg$currPos, result: s0 };
|
||||
|
||||
return s0;
|
||||
}
|
||||
|
||||
function peg$parseis() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 36 + 29,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
peg$currPos = cached.nextPos;
|
||||
|
||||
return cached.result;
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 4) === peg$c91) {
|
||||
s1 = peg$c91;
|
||||
peg$currPos += 4;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c92); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
if (s2 !== peg$FAILED) {
|
||||
s3 = peg$parseselectors();
|
||||
if (s3 !== peg$FAILED) {
|
||||
s4 = peg$parse_();
|
||||
if (s4 !== peg$FAILED) {
|
||||
if (input.charCodeAt(peg$currPos) === 41) {
|
||||
s5 = peg$c69;
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s5 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c70); }
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c90(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2317,7 +2564,7 @@
|
||||
function peg$parsehas() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 26,
|
||||
var key = peg$currPos * 36 + 30,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2327,12 +2574,12 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 5) === peg$c86) {
|
||||
s1 = peg$c86;
|
||||
if (input.substr(peg$currPos, 5) === peg$c93) {
|
||||
s1 = peg$c93;
|
||||
peg$currPos += 5;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c87); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c94); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
@@ -2350,7 +2597,7 @@
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c88(s3);
|
||||
s1 = peg$c95(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2381,7 +2628,7 @@
|
||||
function peg$parsefirstChild() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 27,
|
||||
var key = peg$currPos * 36 + 31,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2391,16 +2638,16 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 12) === peg$c89) {
|
||||
s1 = peg$c89;
|
||||
if (input.substr(peg$currPos, 12) === peg$c96) {
|
||||
s1 = peg$c96;
|
||||
peg$currPos += 12;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c97); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c91();
|
||||
s1 = peg$c98();
|
||||
}
|
||||
s0 = s1;
|
||||
|
||||
@@ -2412,7 +2659,7 @@
|
||||
function peg$parselastChild() {
|
||||
var s0, s1;
|
||||
|
||||
var key = peg$currPos * 32 + 28,
|
||||
var key = peg$currPos * 36 + 32,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2422,16 +2669,16 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 11) === peg$c92) {
|
||||
s1 = peg$c92;
|
||||
if (input.substr(peg$currPos, 11) === peg$c99) {
|
||||
s1 = peg$c99;
|
||||
peg$currPos += 11;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c93); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c100); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c94();
|
||||
s1 = peg$c101();
|
||||
}
|
||||
s0 = s1;
|
||||
|
||||
@@ -2443,7 +2690,7 @@
|
||||
function peg$parsenthChild() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 29,
|
||||
var key = peg$currPos * 36 + 33,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2453,12 +2700,12 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 11) === peg$c95) {
|
||||
s1 = peg$c95;
|
||||
if (input.substr(peg$currPos, 11) === peg$c102) {
|
||||
s1 = peg$c102;
|
||||
peg$currPos += 11;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c103); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
@@ -2497,7 +2744,7 @@
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c97(s3);
|
||||
s1 = peg$c104(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2528,7 +2775,7 @@
|
||||
function peg$parsenthLastChild() {
|
||||
var s0, s1, s2, s3, s4, s5;
|
||||
|
||||
var key = peg$currPos * 32 + 30,
|
||||
var key = peg$currPos * 36 + 34,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2538,12 +2785,12 @@
|
||||
}
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.substr(peg$currPos, 16) === peg$c98) {
|
||||
s1 = peg$c98;
|
||||
if (input.substr(peg$currPos, 16) === peg$c105) {
|
||||
s1 = peg$c105;
|
||||
peg$currPos += 16;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c99); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c106); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parse_();
|
||||
@@ -2582,7 +2829,7 @@
|
||||
}
|
||||
if (s5 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c100(s3);
|
||||
s1 = peg$c107(s3);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
@@ -2613,7 +2860,7 @@
|
||||
function peg$parseclass() {
|
||||
var s0, s1, s2;
|
||||
|
||||
var key = peg$currPos * 32 + 31,
|
||||
var key = peg$currPos * 36 + 35,
|
||||
cached = peg$resultsCache[key];
|
||||
|
||||
if (cached) {
|
||||
@@ -2624,17 +2871,17 @@
|
||||
|
||||
s0 = peg$currPos;
|
||||
if (input.charCodeAt(peg$currPos) === 58) {
|
||||
s1 = peg$c101;
|
||||
s1 = peg$c108;
|
||||
peg$currPos++;
|
||||
} else {
|
||||
s1 = peg$FAILED;
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c102); }
|
||||
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
||||
}
|
||||
if (s1 !== peg$FAILED) {
|
||||
s2 = peg$parseidentifierName();
|
||||
if (s2 !== peg$FAILED) {
|
||||
peg$savedPos = s0;
|
||||
s1 = peg$c103(s2);
|
||||
s1 = peg$c110(s2);
|
||||
s0 = s1;
|
||||
} else {
|
||||
peg$currPos = s0;
|
||||
|
||||
Reference in New Issue
Block a user