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

Function peg$parseCode

lib/parser.js:4693–4729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4691 }
4692
4693 function peg$parseCode() {
4694 var s0, s1, s2, s3;
4695
4696 s0 = peg$currPos;
4697 s1 = peg$parse_();
4698 if (s1 !== peg$FAILED) {
4699 s2 = [];
4700 s3 = peg$parseIterateExpression();
4701 if (s3 !== peg$FAILED) {
4702 while (s3 !== peg$FAILED) {
4703 s2.push(s3);
4704 s3 = peg$parseIterateExpression();
4705 }
4706 } else {
4707 s2 = peg$c3;
4708 }
4709 if (s2 !== peg$FAILED) {
4710 s3 = peg$parse_();
4711 if (s3 !== peg$FAILED) {
4712 peg$reportedPos = s0;
4713 s1 = peg$c170(s2);
4714 s0 = s1;
4715 } else {
4716 peg$currPos = s0;
4717 s0 = peg$c3;
4718 }
4719 } else {
4720 peg$currPos = s0;
4721 s0 = peg$c3;
4722 }
4723 } else {
4724 peg$currPos = s0;
4725 s0 = peg$c3;
4726 }
4727
4728 return s0;
4729 }
4730
4731 function peg$parseIterateExpression() {
4732 var s0, s1, s2, s3, s4, s5, s6, s7;

Callers

nothing calls this directly

Calls 3

peg$parse_Function · 0.85
peg$c170Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…