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

Function peg$parseInitializer

lib/parser.js:717–738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

715 }
716
717 function peg$parseInitializer() {
718 var s0, s1, s2;
719
720 s0 = peg$currPos;
721 s1 = peg$parseCodeBlock();
722 if (s1 !== peg$FAILED) {
723 s2 = peg$parseEOS();
724 if (s2 !== peg$FAILED) {
725 peg$savedPos = s0;
726 s1 = peg$c1(s1);
727 s0 = s1;
728 } else {
729 peg$currPos = s0;
730 s0 = peg$FAILED;
731 }
732 } else {
733 peg$currPos = s0;
734 s0 = peg$FAILED;
735 }
736
737 return s0;
738 }
739
740 function peg$parseRule() {
741 var s0, s1, s2, s3, s4, s5, s6, s7;

Callers 1

peg$parseGrammarFunction · 0.85

Calls 3

peg$parseCodeBlockFunction · 0.85
peg$parseEOSFunction · 0.85
peg$c1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…