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

Function peg$f230

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

Source from the content-addressed store, hash-verified

2017 };
2018 }
2019 function peg$f230(distinct, variable, alias) {
2020 return {
2021 type: 'ReturnItem',
2022 variable: variable,
2023 aggregate: 'SUM',
2024 ...(distinct !== null && { distinct: true }),
2025 ...(alias && { alias: alias[3] })
2026 };
2027 }
2028 function peg$f231(distinct, variable, property, alias) {
2029 return {
2030 type: 'ReturnItem',

Callers 1

peg$parseReturnItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected