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

Function peg$parse__

lib/parser.js:7602–7625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7600 }
7601
7602 function peg$parse__() {
7603 var s0, s1;
7604
7605 s0 = [];
7606 s1 = peg$parseWhiteSpace();
7607 if (s1 === peg$FAILED) {
7608 s1 = peg$parseLineTerminatorSequence();
7609 if (s1 === peg$FAILED) {
7610 s1 = peg$parseComment();
7611 }
7612 }
7613 while (s1 !== peg$FAILED) {
7614 s0.push(s1);
7615 s1 = peg$parseWhiteSpace();
7616 if (s1 === peg$FAILED) {
7617 s1 = peg$parseLineTerminatorSequence();
7618 if (s1 === peg$FAILED) {
7619 s1 = peg$parseComment();
7620 }
7621 }
7622 }
7623
7624 return s0;
7625 }
7626
7627 function peg$parse_() {
7628 var s0, s1;

Callers 1

peg$parseEOSFunction · 0.85

Calls 3

peg$parseWhiteSpaceFunction · 0.85
peg$parseCommentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…