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

Function peg$parseDeleteToken

lib/parser.js:6566–6601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6564 }
6565
6566 function peg$parseDeleteToken() {
6567 var s0, s1, s2, s3;
6568
6569 s0 = peg$currPos;
6570 if (input.substr(peg$currPos, 6) === peg$c274) {
6571 s1 = peg$c274;
6572 peg$currPos += 6;
6573 } else {
6574 s1 = peg$FAILED;
6575 if (peg$silentFails === 0) { peg$fail(peg$c275); }
6576 }
6577 if (s1 !== peg$FAILED) {
6578 s2 = peg$currPos;
6579 peg$silentFails++;
6580 s3 = peg$parseIdentifierPart();
6581 peg$silentFails--;
6582 if (s3 === peg$FAILED) {
6583 s2 = peg$c5;
6584 } else {
6585 peg$currPos = s2;
6586 s2 = peg$c3;
6587 }
6588 if (s2 !== peg$FAILED) {
6589 s1 = [s1, s2];
6590 s0 = s1;
6591 } else {
6592 peg$currPos = s0;
6593 s0 = peg$c3;
6594 }
6595 } else {
6596 peg$currPos = s0;
6597 s0 = peg$c3;
6598 }
6599
6600 return s0;
6601 }
6602
6603 function peg$parseDoToken() {
6604 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…