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

Function peg$parseSemanticPredicateExpression

lib/parser.js:1325–1352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1323 }
1324
1325 function peg$parseSemanticPredicateExpression() {
1326 var s0, s1, s2, s3;
1327
1328 s0 = peg$currPos;
1329 s1 = peg$parseSemanticPredicateOperator();
1330 if (s1 !== peg$FAILED) {
1331 s2 = peg$parse__();
1332 if (s2 !== peg$FAILED) {
1333 s3 = peg$parseCodeBlock();
1334 if (s3 !== peg$FAILED) {
1335 peg$savedPos = s0;
1336 s1 = peg$c33(s1, s3);
1337 s0 = s1;
1338 } else {
1339 peg$currPos = s0;
1340 s0 = peg$FAILED;
1341 }
1342 } else {
1343 peg$currPos = s0;
1344 s0 = peg$FAILED;
1345 }
1346 } else {
1347 peg$currPos = s0;
1348 s0 = peg$FAILED;
1349 }
1350
1351 return s0;
1352 }
1353
1354 function peg$parseSemanticPredicateOperator() {
1355 var s0;

Callers 1

Calls 4

peg$parse__Function · 0.85
peg$parseCodeBlockFunction · 0.85
peg$c33Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…