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

Function peg$parseOnMatchClause

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

Source from the content-addressed store, hash-verified

3725 }
3726
3727 function peg$parseOnMatchClause() {
3728 let s0, s1, s2, s3, s4, s5, s6, s7;
3729
3730 s0 = peg$currPos;
3731 s1 = peg$parseON();
3732 if (s1 !== peg$FAILED) {
3733 s2 = peg$parse_();
3734 s3 = peg$parseMATCH();
3735 if (s3 !== peg$FAILED) {
3736 s4 = peg$parse_();
3737 s5 = peg$parseSET();
3738 if (s5 !== peg$FAILED) {
3739 s6 = peg$parse_();
3740 s7 = peg$parseSetAssignmentList();
3741 if (s7 !== peg$FAILED) {
3742 peg$savedPos = s0;
3743 s0 = peg$f30(s7);
3744 } else {
3745 peg$currPos = s0;
3746 s0 = peg$FAILED;
3747 }
3748 } else {
3749 peg$currPos = s0;
3750 s0 = peg$FAILED;
3751 }
3752 } else {
3753 peg$currPos = s0;
3754 s0 = peg$FAILED;
3755 }
3756 } else {
3757 peg$currPos = s0;
3758 s0 = peg$FAILED;
3759 }
3760
3761 return s0;
3762 }
3763
3764 function peg$parseCreateClause() {
3765 let s0, s1, s2, s3, s4;

Callers 1

peg$parseMergeClauseFunction · 0.85

Calls 6

peg$parseONFunction · 0.85
peg$parse_Function · 0.85
peg$parseMATCHFunction · 0.85
peg$parseSETFunction · 0.85
peg$f30Function · 0.85

Tested by

no test coverage detected