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());
355 info.set_all_assertions(rep.hir.is_all_assertions());
359 !rep.is_match_empty() && rep.hir.is_anchored_start(),
362 !rep.is_match_empty() && rep.hir.is_anchored_end(),
365 !rep.is_match_empty() && rep.hir.is_anchored_start(),
368 !rep.is_match_empty() && rep.hir.is_anchored_end(),
370 info.set_any_anchored_start(rep.hir.is_any_anchored_start());
371 info.set_any_anchored_end(rep.hir.is_any_anchored_end());
372 info.set_match_empty(rep.is_match_empty() || rep.hir.is_match_empty());
381 info.set_always_utf8(group.hir.is_always_utf8());
382 info.set_all_assertions(group.hir.is_all_assertions());
383 info.set_anchored_start(group.hir.is_anchored_start());
384 info.set_anchored_end(group.hir.is_anchored_end());
385 info.set_line_anchored_start(group.hir.is_line_anchored_start());
386 info.set_line_anchored_end(group.hir.is_line_anchored_end());
387 info.set_any_anchored_start(group.hir.is_any_anchored_start());
388 info.set_any_anchored_end(group.hir.is_any_anchored_end());
389 info.set_match_empty(group.hir.is_match_empty());
735 use crate::hir::print::Printer;
1345 pub hir: Box<Hir>,
1383 pub hir: Box<Hir>,
1444 HirKind::Group(ref x) if !x.hir.kind.has_subexprs() => return,
1445 HirKind::Repetition(ref x) if !x.hir.kind.has_subexprs() => return,
1460 stack.push(mem::replace(&mut x.hir, Hir::empty()));
1463 stack.push(mem::replace(&mut x.hir, Hir::empty()));
2267 hir: Box::new(expr),
2272 hir: Box::new(expr),