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

Function peg$parseSKIP

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

Source from the content-addressed store, hash-verified

14840 }
14841
14842 function peg$parseSKIP() {
14843 let s0, s1, s2, s3;
14844
14845 s0 = peg$currPos;
14846 s1 = input.substr(peg$currPos, 4);
14847 if (s1.toLowerCase() === peg$c62) {
14848 peg$currPos += (4);
14849 } else {
14850 s1 = peg$FAILED;
14851 if (peg$silentFails === 0) { peg$fail(peg$e67); }
14852 }
14853 if (s1 !== peg$FAILED) {
14854 s2 = peg$currPos;
14855 peg$silentFails++;
14856 s3 = peg$parseIdentifierPart();
14857 peg$silentFails--;
14858 if (s3 === peg$FAILED) {
14859 s2 = undefined;
14860 } else {
14861 peg$currPos = s2;
14862 s2 = peg$FAILED;
14863 }
14864 if (s2 !== peg$FAILED) {
14865 s1 = [s1, s2];
14866 s0 = s1;
14867 } else {
14868 peg$currPos = s0;
14869 s0 = peg$FAILED;
14870 }
14871 } else {
14872 peg$currPos = s0;
14873 s0 = peg$FAILED;
14874 }
14875
14876 return s0;
14877 }
14878
14879 function peg$parseOFFSET() {
14880 let s0, s1, s2, s3;

Callers 2

peg$parseSkipClauseFunction · 0.85
peg$parseKeywordFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseIdentifierPartFunction · 0.85

Tested by

no test coverage detected