(
&mut self,
expr: &Hir,
greedy: bool,
min: u32,
)
| 574 | } |
| 575 | |
| 576 | fn c_repeat_range_min_or_more( |
| 577 | &mut self, |
| 578 | expr: &Hir, |
| 579 | greedy: bool, |
| 580 | min: u32, |
| 581 | ) -> Result { |
| 582 | let min = u32_to_usize(min); |
| 583 | let patch_concat = self.c_concat(iter::repeat(expr).take(min))?; |
| 584 | let patch_rep = self.c_repeat_zero_or_more(expr, greedy)?; |
| 585 | self.fill(patch_concat.hole, patch_rep.entry); |
| 586 | Ok(Patch { hole: patch_rep.hole, entry: patch_concat.entry }) |
| 587 | } |
| 588 | |
| 589 | fn c_repeat_range( |
| 590 | &mut self, |
no test coverage detected