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

Function peg$f237

packages/graph/src/grammar.js:2085–2094  ·  view source on GitHub ↗
(distinct, variable, property, alias)

Source from the content-addressed store, hash-verified

2083 };
2084 }
2085 function peg$f237(distinct, variable, property, alias) {
2086 return {
2087 type: 'ReturnItem',
2088 variable: variable,
2089 property: property,
2090 aggregate: 'COLLECT',
2091 ...(distinct !== null && { distinct: true }),
2092 ...(alias && { alias: alias[3] })
2093 };
2094 }
2095 function peg$f238(distinct, variable, alias) {
2096 return {
2097 type: 'ReturnItem',

Callers 1

peg$parseReturnItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected