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

Function peg$parseNULLS

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

Source from the content-addressed store, hash-verified

14729 }
14730
14731 function peg$parseNULLS() {
14732 let s0, s1, s2, s3;
14733
14734 s0 = peg$currPos;
14735 s1 = input.substr(peg$currPos, 5);
14736 if (s1.toLowerCase() === peg$c59) {
14737 peg$currPos += (5);
14738 } else {
14739 s1 = peg$FAILED;
14740 if (peg$silentFails === 0) { peg$fail(peg$e64); }
14741 }
14742 if (s1 !== peg$FAILED) {
14743 s2 = peg$currPos;
14744 peg$silentFails++;
14745 s3 = peg$parseIdentifierPart();
14746 peg$silentFails--;
14747 if (s3 === peg$FAILED) {
14748 s2 = undefined;
14749 } else {
14750 peg$currPos = s2;
14751 s2 = peg$FAILED;
14752 }
14753 if (s2 !== peg$FAILED) {
14754 s1 = [s1, s2];
14755 s0 = s1;
14756 } else {
14757 peg$currPos = s0;
14758 s0 = peg$FAILED;
14759 }
14760 } else {
14761 peg$currPos = s0;
14762 s0 = peg$FAILED;
14763 }
14764
14765 return s0;
14766 }
14767
14768 function peg$parseFIRST() {
14769 let s0, s1, s2, s3;

Callers 2

peg$parseNullsOrderingFunction · 0.85
peg$parseKeywordFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseIdentifierPartFunction · 0.85

Tested by

no test coverage detected