Lines Matching refs:hir
12 use crate::hir::interval::{Interval, IntervalSet, IntervalSetIter};
15 pub use crate::hir::visitor::{visit, Visitor};
354 info.set_always_utf8(rep.hir.is_always_utf8()); in repetition()
355 info.set_all_assertions(rep.hir.is_all_assertions()); in repetition()
359 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
362 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
365 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
368 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
370 info.set_any_anchored_start(rep.hir.is_any_anchored_start()); in repetition()
371 info.set_any_anchored_end(rep.hir.is_any_anchored_end()); in repetition()
372 info.set_match_empty(rep.is_match_empty() || rep.hir.is_match_empty()); in repetition()
381 info.set_always_utf8(group.hir.is_always_utf8()); in group()
382 info.set_all_assertions(group.hir.is_all_assertions()); in group()
383 info.set_anchored_start(group.hir.is_anchored_start()); in group()
384 info.set_anchored_end(group.hir.is_anchored_end()); in group()
385 info.set_line_anchored_start(group.hir.is_line_anchored_start()); in group()
386 info.set_line_anchored_end(group.hir.is_line_anchored_end()); in group()
387 info.set_any_anchored_start(group.hir.is_any_anchored_start()); in group()
388 info.set_any_anchored_end(group.hir.is_any_anchored_end()); in group()
389 info.set_match_empty(group.hir.is_match_empty()); in group()
735 use crate::hir::print::Printer; in fmt()
1345 pub hir: Box<Hir>, field
1383 pub hir: Box<Hir>, field
1444 HirKind::Group(ref x) if !x.hir.kind.has_subexprs() => return, in drop()
1445 HirKind::Repetition(ref x) if !x.hir.kind.has_subexprs() => return, in drop()
1460 stack.push(mem::replace(&mut x.hir, Hir::empty())); in drop()
1463 stack.push(mem::replace(&mut x.hir, Hir::empty())); in drop()
2267 hir: Box::new(expr), in no_stack_overflow_on_drop()
2272 hir: Box::new(expr), in no_stack_overflow_on_drop()