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

Function peg$f116

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

Source from the content-addressed store, hash-verified

1216 return direction;
1217 }
1218 function peg$f116(labels) {
1219 return {
1220 type: 'EdgePattern',
1221 variable: labels?.variable,
1222 labels: labels?.labels || [],
1223 direction: 'in',
1224 quantifier: labels?.quantifier,
1225 ...(labels?.properties && { properties: labels.properties })
1226 };
1227 }
1228 function peg$f117(labels) {
1229 return {
1230 type: 'EdgePattern',

Callers 1

peg$parseEdgeDirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected