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

Function peg$parseGeneralIsNullCondition

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

Source from the content-addressed store, hash-verified

8825 }
8826
8827 function peg$parseGeneralIsNullCondition() {
8828 let s0, s1, s2, s3, s4, s5, s6, s7;
8829
8830 s0 = peg$currPos;
8831 s1 = peg$parsePostfixExpression();
8832 if (s1 !== peg$FAILED) {
8833 s2 = peg$parse_();
8834 s3 = peg$parseIS();
8835 if (s3 !== peg$FAILED) {
8836 s4 = peg$parse_();
8837 s5 = peg$parseNOT();
8838 if (s5 !== peg$FAILED) {
8839 s6 = peg$parse_();
8840 s7 = peg$parseNULL();
8841 if (s7 !== peg$FAILED) {
8842 peg$savedPos = s0;
8843 s0 = peg$f152(s1);
8844 } else {
8845 peg$currPos = s0;
8846 s0 = peg$FAILED;
8847 }
8848 } else {
8849 peg$currPos = s0;
8850 s0 = peg$FAILED;
8851 }
8852 } else {
8853 peg$currPos = s0;
8854 s0 = peg$FAILED;
8855 }
8856 } else {
8857 peg$currPos = s0;
8858 s0 = peg$FAILED;
8859 }
8860 if (s0 === peg$FAILED) {
8861 s0 = peg$currPos;
8862 s1 = peg$parsePostfixExpression();
8863 if (s1 !== peg$FAILED) {
8864 s2 = peg$parse_();
8865 s3 = peg$parseIS();
8866 if (s3 !== peg$FAILED) {
8867 s4 = peg$parse_();
8868 s5 = peg$parseNULL();
8869 if (s5 !== peg$FAILED) {
8870 peg$savedPos = s0;
8871 s0 = peg$f153(s1);
8872 } else {
8873 peg$currPos = s0;
8874 s0 = peg$FAILED;
8875 }
8876 } else {
8877 peg$currPos = s0;
8878 s0 = peg$FAILED;
8879 }
8880 } else {
8881 peg$currPos = s0;
8882 s0 = peg$FAILED;
8883 }
8884 }

Callers 1

Calls 7

peg$parse_Function · 0.85
peg$parseISFunction · 0.85
peg$parseNOTFunction · 0.85
peg$parseNULLFunction · 0.85
peg$f152Function · 0.85
peg$f153Function · 0.85

Tested by

no test coverage detected