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

Function peg$f231

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

Source from the content-addressed store, hash-verified

2026 };
2027 }
2028 function peg$f231(distinct, variable, property, alias) {
2029 return {
2030 type: 'ReturnItem',
2031 variable: variable,
2032 property: property,
2033 aggregate: 'AVG',
2034 ...(distinct !== null && { distinct: true }),
2035 ...(alias && { alias: alias[3] })
2036 };
2037 }
2038 function peg$f232(distinct, variable, alias) {
2039 return {
2040 type: 'ReturnItem',

Callers 1

peg$parseReturnItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected