MCPcopy
hub / github.com/pegjs/pegjs / peg$parseDebuggerToken

Function peg$parseDebuggerToken

lib/parser.js:3721–3756  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3719 }
3720
3721 function peg$parseDebuggerToken() {
3722 var s0, s1, s2, s3;
3723
3724 s0 = peg$currPos;
3725 if (input.substr(peg$currPos, 8) === peg$c178) {
3726 s1 = peg$c178;
3727 peg$currPos += 8;
3728 } else {
3729 s1 = peg$FAILED;
3730 if (peg$silentFails === 0) { peg$fail(peg$c179); }
3731 }
3732 if (s1 !== peg$FAILED) {
3733 s2 = peg$currPos;
3734 peg$silentFails++;
3735 s3 = peg$parseIdentifierPart();
3736 peg$silentFails--;
3737 if (s3 === peg$FAILED) {
3738 s2 = void 0;
3739 } else {
3740 peg$currPos = s2;
3741 s2 = peg$FAILED;
3742 }
3743 if (s2 !== peg$FAILED) {
3744 s1 = [s1, s2];
3745 s0 = s1;
3746 } else {
3747 peg$currPos = s0;
3748 s0 = peg$FAILED;
3749 }
3750 } else {
3751 peg$currPos = s0;
3752 s0 = peg$FAILED;
3753 }
3754
3755 return s0;
3756 }
3757
3758 function peg$parseDefaultToken() {
3759 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…