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

Function peg$f197

packages/graph/src/grammar.js:1839–1845  ·  view source on GitHub ↗
(variable, selectors)

Source from the content-addressed store, hash-verified

1837 function peg$f195(condition) { return condition; }
1838 function peg$f196(expr) { return expr; }
1839 function peg$f197(variable, selectors) {
1840 return {
1841 type: 'MapProjection',
1842 variable: variable,
1843 selectors: selectors || []
1844 };
1845 }
1846 function peg$f198(head, tail) {
1847 return [head, ...tail.map(t => t[3])];
1848 }

Callers 1

peg$parseMapProjectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected