MCPcopy Create free account
hub / github.com/codemix/htmling / peg$parseDebuggerToken

Function peg$parseDebuggerToken

lib/parser.js:6492–6527  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6490 }
6491
6492 function peg$parseDebuggerToken() {
6493 var s0, s1, s2, s3;
6494
6495 s0 = peg$currPos;
6496 if (input.substr(peg$currPos, 8) === peg$c270) {
6497 s1 = peg$c270;
6498 peg$currPos += 8;
6499 } else {
6500 s1 = peg$FAILED;
6501 if (peg$silentFails === 0) { peg$fail(peg$c271); }
6502 }
6503 if (s1 !== peg$FAILED) {
6504 s2 = peg$currPos;
6505 peg$silentFails++;
6506 s3 = peg$parseIdentifierPart();
6507 peg$silentFails--;
6508 if (s3 === peg$FAILED) {
6509 s2 = peg$c5;
6510 } else {
6511 peg$currPos = s2;
6512 s2 = peg$c3;
6513 }
6514 if (s2 !== peg$FAILED) {
6515 s1 = [s1, s2];
6516 s0 = s1;
6517 } else {
6518 peg$currPos = s0;
6519 s0 = peg$c3;
6520 }
6521 } else {
6522 peg$currPos = s0;
6523 s0 = peg$c3;
6524 }
6525
6526 return s0;
6527 }
6528
6529 function peg$parseDefaultToken() {
6530 var s0, s1, s2, s3;

Callers 1

peg$parseKeywordFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseIdentifierPartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…