(start, end)
| 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 | } |
no outgoing calls
no test coverage detected