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

Function peg$f117

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

Source from the content-addressed store, hash-verified

1226 };
1227 }
1228 function peg$f117(labels) {
1229 return {
1230 type: 'EdgePattern',
1231 variable: labels?.variable,
1232 labels: labels?.labels || [],
1233 direction: 'out',
1234 quantifier: labels?.quantifier,
1235 ...(labels?.properties && { properties: labels.properties })
1236 };
1237 }
1238 function peg$f118(labels) {
1239 return {
1240 type: 'EdgePattern',

Callers 1

peg$parseEdgeDirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected