diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-14 03:10:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-14 03:10:57 +0800 |
| commit | 132b065e53e53b588a496d8649bd60872ab88a5c (patch) | |
| tree | 11f2785649d73d85441501c0dd67476bd4d80c09 /examples/example-structural-renderer/Cargo.lock | |
| parent | 3f90ae7c987b16d485a2fb4e9f9bcb3774d37530 (diff) | |
feat(mingling_picker_macros): add $+ $- $^ special tokens to
internal_repeat
Extend the `internal_repeat` macro with new special tokens:
- `$+`/`ident$+` for current + 1
- `$-`/`ident$-` for current - 1 (clamped at 0)
- `$^`/`ident$^` for min (aka start) value
Move the repetition marker from outside the paren to the last token
inside, supporting `(group,+)` syntax where `+` is the final token.
A trailing `+` or `-` after `)` shifts the repetition count.
Add `PickerPattern::pick` method using new syntax to allow
incremental composition of typed picks.
Diffstat (limited to 'examples/example-structural-renderer/Cargo.lock')
0 files changed, 0 insertions, 0 deletions
