MCPcopy Create free account
hub / github.com/codemix/graph / peg$parseListComprehensionWhere

Function peg$parseListComprehensionWhere

packages/graph/src/grammar.js:10869–10890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10867 }
10868
10869 function peg$parseListComprehensionWhere() {
10870 let s0, s1, s2, s3;
10871
10872 s0 = peg$currPos;
10873 s1 = peg$parseWHERE();
10874 if (s1 !== peg$FAILED) {
10875 s2 = peg$parse_();
10876 s3 = peg$parseOrCondition();
10877 if (s3 !== peg$FAILED) {
10878 peg$savedPos = s0;
10879 s0 = peg$f195(s3);
10880 } else {
10881 peg$currPos = s0;
10882 s0 = peg$FAILED;
10883 }
10884 } else {
10885 peg$currPos = s0;
10886 s0 = peg$FAILED;
10887 }
10888
10889 return s0;
10890 }
10891
10892 function peg$parseListComprehensionProjection() {
10893 let s0, s1, s2, s3;

Callers 2

Calls 4

peg$parseWHEREFunction · 0.85
peg$parse_Function · 0.85
peg$parseOrConditionFunction · 0.85
peg$f195Function · 0.85

Tested by

no test coverage detected