Lines Matching defs:ResultOrEmpty
19 type ResultOrEmpty = result::Result<Option<Patch>, Error>; typedef
268 fn c(&mut self, expr: &Hir) -> ResultOrEmpty { in c()
392 fn c_empty(&mut self) -> ResultOrEmpty { in c_empty()
405 fn c_capture(&mut self, first_slot: usize, expr: &Hir) -> ResultOrEmpty { in c_capture()
440 fn c_char(&mut self, c: char) -> ResultOrEmpty { in c_char()
457 fn c_class(&mut self, ranges: &[hir::ClassUnicodeRange]) -> ResultOrEmpty { in c_class()
477 fn c_byte(&mut self, b: u8) -> ResultOrEmpty { in c_byte()
484 ) -> ResultOrEmpty { in c_class_bytes()
511 fn c_empty_look(&mut self, look: EmptyLook) -> ResultOrEmpty { in c_empty_look()
540 fn c_alternate(&mut self, exprs: &[Hir]) -> ResultOrEmpty { in c_alternate()
589 fn c_repeat(&mut self, rep: &hir::Repetition) -> ResultOrEmpty { in c_repeat()
611 ) -> ResultOrEmpty { in c_repeat_zero_or_one()
631 ) -> ResultOrEmpty { in c_repeat_zero_or_more()
652 ) -> ResultOrEmpty { in c_repeat_one_or_more()
673 ) -> ResultOrEmpty { in c_repeat_range_min_or_more()
695 ) -> ResultOrEmpty { in c_repeat_range()
829 fn pop_split_hole(&mut self) -> ResultOrEmpty { in pop_split_hole()