Commit 2f0d183
feat(cypher): support *0.. open-range variable-length relationships (#983)
Add rel_range_open_max grammar rule and transformer for open-range
syntax like *0.., *1.., *2.. where the max bound is unbounded.
Handles min_hops=0 specifically (zero-hop means include the seed
node itself) while keeping the existing rejection of *0 exact syntax.
Adds 4 parametrized parser test cases: *0.., *1.., [:R*0..], [:R*2..].
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2d612f3 commit 2f0d183
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
725 | 726 | | |
726 | 727 | | |
727 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
728 | 746 | | |
729 | 747 | | |
730 | 748 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
442 | 446 | | |
443 | 447 | | |
444 | 448 | | |
| |||
0 commit comments