Lines Matching defs:ResultOrEmpty
19 type ResultOrEmpty = result::Result<Option<Patch>, Error>; typedef
257 fn c(&mut self, expr: &Hir) -> ResultOrEmpty { in c()
381 fn c_capture(&mut self, first_slot: usize, expr: &Hir) -> ResultOrEmpty { in c_capture()
416 fn c_char(&mut self, c: char) -> ResultOrEmpty { in c_char()
433 fn c_class(&mut self, ranges: &[hir::ClassUnicodeRange]) -> ResultOrEmpty { in c_class()
453 fn c_byte(&mut self, b: u8) -> ResultOrEmpty { in c_byte()
460 ) -> ResultOrEmpty { in c_class_bytes()
487 fn c_empty_look(&mut self, look: EmptyLook) -> ResultOrEmpty { in c_empty_look()
516 fn c_alternate(&mut self, exprs: &[Hir]) -> ResultOrEmpty { in c_alternate()
565 fn c_repeat(&mut self, rep: &hir::Repetition) -> ResultOrEmpty { in c_repeat()
587 ) -> ResultOrEmpty { in c_repeat_zero_or_one()
607 ) -> ResultOrEmpty { in c_repeat_zero_or_more()
628 ) -> ResultOrEmpty { in c_repeat_one_or_more()
649 ) -> ResultOrEmpty { in c_repeat_range_min_or_more()
671 ) -> ResultOrEmpty { in c_repeat_range()
805 fn pop_split_hole(&mut self) -> ResultOrEmpty { in pop_split_hole()