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

Function peg$f159

packages/graph/src/grammar.js:1561–1570  ·  view source on GitHub ↗
(head, tail)

Source from the content-addressed store, hash-verified

1559 };
1560 }
1561 function peg$f159(head, tail) {
1562 return tail.reduce((left, [_1, _2, _3, right]) => {
1563 return {
1564 type: 'BooleanExpression',
1565 operator: 'OR',
1566 left: left,
1567 right: right
1568 };
1569 }, head);
1570 }
1571 function peg$f160(head, tail) {
1572 return tail.reduce((left, [_1, _2, _3, right]) => {
1573 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected