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

Function peg$parseDeleteToken

lib/parser.js:3795–3830  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3793 }
3794
3795 function peg$parseDeleteToken() {
3796 var s0, s1, s2, s3;
3797
3798 s0 = peg$currPos;
3799 if (input.substr(peg$currPos, 6) === peg$c182) {
3800 s1 = peg$c182;
3801 peg$currPos += 6;
3802 } else {
3803 s1 = peg$FAILED;
3804 if (peg$silentFails === 0) { peg$fail(peg$c183); }
3805 }
3806 if (s1 !== peg$FAILED) {
3807 s2 = peg$currPos;
3808 peg$silentFails++;
3809 s3 = peg$parseIdentifierPart();
3810 peg$silentFails--;
3811 if (s3 === peg$FAILED) {
3812 s2 = void 0;
3813 } else {
3814 peg$currPos = s2;
3815 s2 = peg$FAILED;
3816 }
3817 if (s2 !== peg$FAILED) {
3818 s1 = [s1, s2];
3819 s0 = s1;
3820 } else {
3821 peg$currPos = s0;
3822 s0 = peg$FAILED;
3823 }
3824 } else {
3825 peg$currPos = s0;
3826 s0 = peg$FAILED;
3827 }
3828
3829 return s0;
3830 }
3831
3832 function peg$parseDoToken() {
3833 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…