Lines Matching defs:ResultOrEmpty
19 type ResultOrEmpty = result::Result<Option<Patch>, Error>; typedef
255 fn c(&mut self, expr: &Hir) -> ResultOrEmpty { in c()
370 fn c_capture(&mut self, first_slot: usize, expr: &Hir) -> ResultOrEmpty { in c_capture()
405 fn c_char(&mut self, c: char) -> ResultOrEmpty { in c_char()
422 fn c_class(&mut self, ranges: &[hir::ClassUnicodeRange]) -> ResultOrEmpty { in c_class()
438 fn c_byte(&mut self, b: u8) -> ResultOrEmpty { in c_byte()
445 ) -> ResultOrEmpty { in c_class_bytes()
472 fn c_empty_look(&mut self, look: EmptyLook) -> ResultOrEmpty { in c_empty_look()
501 fn c_alternate(&mut self, exprs: &[Hir]) -> ResultOrEmpty { in c_alternate()
550 fn c_repeat(&mut self, rep: &hir::Repetition) -> ResultOrEmpty { in c_repeat()
572 ) -> ResultOrEmpty { in c_repeat_zero_or_one()
592 ) -> ResultOrEmpty { in c_repeat_zero_or_more()
613 ) -> ResultOrEmpty { in c_repeat_one_or_more()
634 ) -> ResultOrEmpty { in c_repeat_range_min_or_more()
656 ) -> ResultOrEmpty { in c_repeat_range()
790 fn pop_split_hole(&mut self) -> ResultOrEmpty { in pop_split_hole()