MCPcopy
hub / github.com/pegjs/pegjs / peg$parse__

Function peg$parse__

lib/parser.js:4831–4854  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4829 }
4830
4831 function peg$parse__() {
4832 var s0, s1;
4833
4834 s0 = [];
4835 s1 = peg$parseWhiteSpace();
4836 if (s1 === peg$FAILED) {
4837 s1 = peg$parseLineTerminatorSequence();
4838 if (s1 === peg$FAILED) {
4839 s1 = peg$parseComment();
4840 }
4841 }
4842 while (s1 !== peg$FAILED) {
4843 s0.push(s1);
4844 s1 = peg$parseWhiteSpace();
4845 if (s1 === peg$FAILED) {
4846 s1 = peg$parseLineTerminatorSequence();
4847 if (s1 === peg$FAILED) {
4848 s1 = peg$parseComment();
4849 }
4850 }
4851 }
4852
4853 return s0;
4854 }
4855
4856 function peg$parse_() {
4857 var s0, s1;

Callers 12

peg$parseGrammarFunction · 0.85
peg$parseRuleFunction · 0.85
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…