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

Function peg$f118

packages/graph/src/grammar.js:1238–1247  ·  view source on GitHub ↗
(labels)

Source from the content-addressed store, hash-verified

1236 };
1237 }
1238 function peg$f118(labels) {
1239 return {
1240 type: 'EdgePattern',
1241 variable: labels?.variable,
1242 labels: labels?.labels || [],
1243 direction: 'both',
1244 quantifier: labels?.quantifier,
1245 ...(labels?.properties && { properties: labels.properties })
1246 };
1247 }
1248 function peg$f119() {
1249 return {
1250 type: 'EdgePattern',

Callers 1

peg$parseEdgeDirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected