Lines Matching defs:map
313 self.captures_read_at(&mut locs, text, 0).map(move |_| Captures {
656 .map(|(s, e)| Match::new(text, s, e))
692 .map(|(s, e)| Match::new(text, s, e))
760 .map(|slot| slot.as_ref().map(|name| name.as_ref()))
949 self.locs.pos(i).map(|(s, e)| Match::new(self.text, s, e))
1015 self.0.named_groups.iter().map(|(a, b)| (b, a)).collect();
1016 let mut map = f.debug_map();
1018 let m = m.map(|(s, e)| &self.0.text[s..e]);
1020 map.entry(&name, &m);
1022 map.entry(&slot, &m);
1025 map.finish()
1045 .map(|m| m.as_str())
1067 .map(|m| m.as_str())
1093 .map(|cap| cap.map(|(s, e)| Match::new(self.caps.text, s, e)))
1125 self.0.next().map(|locs| Captures {
1150 self.0.next().map(|(s, e)| Match::new(text, s, e))