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

Function peg$parseIterateExpression

lib/parser.js:4731–4820  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4729 }
4730
4731 function peg$parseIterateExpression() {
4732 var s0, s1, s2, s3, s4, s5, s6, s7;
4733
4734 s0 = peg$currPos;
4735 s1 = peg$parseIdentifier();
4736 if (s1 !== peg$FAILED) {
4737 s2 = peg$parse_();
4738 if (s2 !== peg$FAILED) {
4739 s3 = peg$currPos;
4740 if (input.charCodeAt(peg$currPos) === 44) {
4741 s4 = peg$c171;
4742 peg$currPos++;
4743 } else {
4744 s4 = peg$FAILED;
4745 if (peg$silentFails === 0) { peg$fail(peg$c172); }
4746 }
4747 if (s4 !== peg$FAILED) {
4748 s5 = peg$parse_();
4749 if (s5 !== peg$FAILED) {
4750 s6 = peg$parseIdentifier();
4751 if (s6 !== peg$FAILED) {
4752 s7 = peg$parse_();
4753 if (s7 !== peg$FAILED) {
4754 s4 = [s4, s5, s6, s7];
4755 s3 = s4;
4756 } else {
4757 peg$currPos = s3;
4758 s3 = peg$c3;
4759 }
4760 } else {
4761 peg$currPos = s3;
4762 s3 = peg$c3;
4763 }
4764 } else {
4765 peg$currPos = s3;
4766 s3 = peg$c3;
4767 }
4768 } else {
4769 peg$currPos = s3;
4770 s3 = peg$c3;
4771 }
4772 if (s3 === peg$FAILED) {
4773 s3 = peg$c0;
4774 }
4775 if (s3 !== peg$FAILED) {
4776 if (input.substr(peg$currPos, 2) === peg$c173) {
4777 s4 = peg$c173;
4778 peg$currPos += 2;
4779 } else {
4780 s4 = peg$FAILED;
4781 if (peg$silentFails === 0) { peg$fail(peg$c174); }
4782 }
4783 if (s4 !== peg$FAILED) {
4784 s5 = peg$parse_();
4785 if (s5 !== peg$FAILED) {
4786 s6 = peg$parseAliasExpression();
4787 if (s6 !== peg$FAILED) {
4788 peg$reportedPos = s0;

Callers 11

peg$parseCodeFunction · 0.85
peg$parseCallParametersFunction · 0.85
peg$parseUnaryExpressionFunction · 0.85
peg$parseAccessorFunction · 0.85
peg$parseArrayExpressionFunction · 0.85
peg$parsePropertyFunction · 0.85

Calls 5

peg$parseIdentifierFunction · 0.85
peg$parse_Function · 0.85
peg$failFunction · 0.85
peg$parseAliasExpressionFunction · 0.85
peg$c175Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…