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

Function peg$parseNodePatternBody

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

Source from the content-addressed store, hash-verified

6216 }
6217
6218 function peg$parseNodePatternBody() {
6219 let s0, s1, s2, s3, s4;
6220
6221 s0 = peg$currPos;
6222 s1 = peg$parseIdentifier();
6223 if (s1 === peg$FAILED) {
6224 s1 = null;
6225 }
6226 s2 = peg$parseNodeLabels();
6227 if (s2 === peg$FAILED) {
6228 s2 = null;
6229 }
6230 s3 = peg$parse_();
6231 s4 = peg$parsePropertyMap();
6232 if (s4 === peg$FAILED) {
6233 s4 = null;
6234 }
6235 peg$savedPos = s0;
6236 s0 = peg$f90(s1, s2, s4);
6237
6238 return s0;
6239 }
6240
6241 function peg$parsePattern() {
6242 let s0, s1;

Callers 1

Calls 5

peg$parseIdentifierFunction · 0.85
peg$parseNodeLabelsFunction · 0.85
peg$parse_Function · 0.85
peg$parsePropertyMapFunction · 0.85
peg$f90Function · 0.85

Tested by

no test coverage detected