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

Function peg$f175

packages/graph/src/grammar.js:1708–1717  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

1706 return { isPresent: true, value: expr };
1707 }
1708 function peg$f175(start, end) {
1709 // Only set start/end if they were actually provided in the syntax
1710 // SliceIndex returns { isPresent: true, value: ... } when matched
1711 // SliceIndex? returns null when not matched
1712 return {
1713 type: 'slice',
1714 ...(start !== null && { start: start.value }),
1715 ...(end !== null && { end: end.value })
1716 };
1717 }
1718 function peg$f176(prop) {
1719 return { type: 'dynamicProperty', property: prop };
1720 }

Callers 1

peg$parsePostfixOperatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected