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

Function peg$f89

packages/graph/src/grammar.js:1067–1081  ·  view source on GitHub ↗
(source, edge, target)

Source from the content-addressed store, hash-verified

1065 };
1066 }
1067 function peg$f89(source, edge, target) {
1068 return {
1069 type: 'ShortestPathPattern',
1070 source: {
1071 type: 'NodePattern',
1072 ...source
1073 },
1074 target: {
1075 type: 'NodePattern',
1076 ...target
1077 },
1078 edge: edge,
1079 all: true
1080 };
1081 }
1082 function peg$f90(variable, labels, props) {
1083 const result = {
1084 variable: variable || undefined,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected