MCPcopy Index your code
hub / github.com/pegjs/pegjs / peg$parseContinueToken

Function peg$parseContinueToken

lib/parser.js:3684–3719  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3682 }
3683
3684 function peg$parseContinueToken() {
3685 var s0, s1, s2, s3;
3686
3687 s0 = peg$currPos;
3688 if (input.substr(peg$currPos, 8) === peg$c176) {
3689 s1 = peg$c176;
3690 peg$currPos += 8;
3691 } else {
3692 s1 = peg$FAILED;
3693 if (peg$silentFails === 0) { peg$fail(peg$c177); }
3694 }
3695 if (s1 !== peg$FAILED) {
3696 s2 = peg$currPos;
3697 peg$silentFails++;
3698 s3 = peg$parseIdentifierPart();
3699 peg$silentFails--;
3700 if (s3 === peg$FAILED) {
3701 s2 = void 0;
3702 } else {
3703 peg$currPos = s2;
3704 s2 = peg$FAILED;
3705 }
3706 if (s2 !== peg$FAILED) {
3707 s1 = [s1, s2];
3708 s0 = s1;
3709 } else {
3710 peg$currPos = s0;
3711 s0 = peg$FAILED;
3712 }
3713 } else {
3714 peg$currPos = s0;
3715 s0 = peg$FAILED;
3716 }
3717
3718 return s0;
3719 }
3720
3721 function peg$parseDebuggerToken() {
3722 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…