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

Function peg$parseNullsOrdering

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

Source from the content-addressed store, hash-verified

13603 }
13604
13605 function peg$parseNullsOrdering() {
13606 let s0, s1, s2, s3;
13607
13608 s0 = peg$currPos;
13609 s1 = peg$parseNULLS();
13610 if (s1 !== peg$FAILED) {
13611 s2 = peg$parse_();
13612 s3 = peg$parseFIRST();
13613 if (s3 !== peg$FAILED) {
13614 peg$savedPos = s0;
13615 s0 = peg$f253();
13616 } else {
13617 peg$currPos = s0;
13618 s0 = peg$FAILED;
13619 }
13620 } else {
13621 peg$currPos = s0;
13622 s0 = peg$FAILED;
13623 }
13624 if (s0 === peg$FAILED) {
13625 s0 = peg$currPos;
13626 s1 = peg$parseNULLS();
13627 if (s1 !== peg$FAILED) {
13628 s2 = peg$parse_();
13629 s3 = peg$parseLAST();
13630 if (s3 !== peg$FAILED) {
13631 peg$savedPos = s0;
13632 s0 = peg$f254();
13633 } else {
13634 peg$currPos = s0;
13635 s0 = peg$FAILED;
13636 }
13637 } else {
13638 peg$currPos = s0;
13639 s0 = peg$FAILED;
13640 }
13641 }
13642
13643 return s0;
13644 }
13645
13646 function peg$parseGroupByClause() {
13647 let s0, s1, s2, s3, s4, s5, s6;

Callers 1

peg$parseOrderItemFunction · 0.85

Calls 6

peg$parseNULLSFunction · 0.85
peg$parse_Function · 0.85
peg$parseFIRSTFunction · 0.85
peg$f253Function · 0.85
peg$parseLASTFunction · 0.85
peg$f254Function · 0.85

Tested by

no test coverage detected