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

Function peg$parseEOF

lib/parser.js:7717–7738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7715 }
7716
7717 function peg$parseEOF() {
7718 var s0, s1;
7719
7720 s0 = peg$currPos;
7721 peg$silentFails++;
7722 if (input.length > peg$currPos) {
7723 s1 = input.charAt(peg$currPos);
7724 peg$currPos++;
7725 } else {
7726 s1 = peg$FAILED;
7727 if (peg$silentFails === 0) { peg$fail(peg$c14); }
7728 }
7729 peg$silentFails--;
7730 if (s1 === peg$FAILED) {
7731 s0 = peg$c5;
7732 } else {
7733 peg$currPos = s0;
7734 s0 = peg$c3;
7735 }
7736
7737 return s0;
7738 }
7739
7740
7741

Callers 1

peg$parseEOSFunction · 0.85

Calls 1

peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…