MCPcopy Create free account
hub / github.com/codemix/graph / peg$parsePERCENTILECONT

Function peg$parsePERCENTILECONT

packages/graph/src/grammar.js:14361–14396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14359 }
14360
14361 function peg$parsePERCENTILECONT() {
14362 let s0, s1, s2, s3;
14363
14364 s0 = peg$currPos;
14365 s1 = input.substr(peg$currPos, 14);
14366 if (s1.toLowerCase() === peg$c49) {
14367 peg$currPos += (14);
14368 } else {
14369 s1 = peg$FAILED;
14370 if (peg$silentFails === 0) { peg$fail(peg$e54); }
14371 }
14372 if (s1 !== peg$FAILED) {
14373 s2 = peg$currPos;
14374 peg$silentFails++;
14375 s3 = peg$parseIdentifierPart();
14376 peg$silentFails--;
14377 if (s3 === peg$FAILED) {
14378 s2 = undefined;
14379 } else {
14380 peg$currPos = s2;
14381 s2 = peg$FAILED;
14382 }
14383 if (s2 !== peg$FAILED) {
14384 s1 = [s1, s2];
14385 s0 = s1;
14386 } else {
14387 peg$currPos = s0;
14388 s0 = peg$FAILED;
14389 }
14390 } else {
14391 peg$currPos = s0;
14392 s0 = peg$FAILED;
14393 }
14394
14395 return s0;
14396 }
14397
14398 function peg$parseLABELS() {
14399 let s0, s1, s2, s3;

Callers 2

peg$parseReturnItemFunction · 0.85
peg$parseKeywordFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseIdentifierPartFunction · 0.85

Tested by

no test coverage detected