Lines Matching refs:hir
12 use hir::interval::{Interval, IntervalSet, IntervalSetIter};
15 pub use hir::visitor::{visit, Visitor};
350 info.set_always_utf8(rep.hir.is_always_utf8()); in repetition()
351 info.set_all_assertions(rep.hir.is_all_assertions()); in repetition()
355 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
358 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
361 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
364 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
366 info.set_any_anchored_start(rep.hir.is_any_anchored_start()); in repetition()
367 info.set_any_anchored_end(rep.hir.is_any_anchored_end()); in repetition()
368 info.set_match_empty(rep.is_match_empty() || rep.hir.is_match_empty()); in repetition()
377 info.set_always_utf8(group.hir.is_always_utf8()); in group()
378 info.set_all_assertions(group.hir.is_all_assertions()); in group()
379 info.set_anchored_start(group.hir.is_anchored_start()); in group()
380 info.set_anchored_end(group.hir.is_anchored_end()); in group()
381 info.set_line_anchored_start(group.hir.is_line_anchored_start()); in group()
382 info.set_line_anchored_end(group.hir.is_line_anchored_end()); in group()
383 info.set_any_anchored_start(group.hir.is_any_anchored_start()); in group()
384 info.set_any_anchored_end(group.hir.is_any_anchored_end()); in group()
385 info.set_match_empty(group.hir.is_match_empty()); in group()
731 use hir::print::Printer; in fmt()
1341 pub hir: Box<Hir>, field
1379 pub hir: Box<Hir>, field
1440 HirKind::Group(ref x) if !x.hir.kind.has_subexprs() => return, in drop()
1441 HirKind::Repetition(ref x) if !x.hir.kind.has_subexprs() => return, in drop()
1456 stack.push(mem::replace(&mut x.hir, Hir::empty())); in drop()
1459 stack.push(mem::replace(&mut x.hir, Hir::empty())); in drop()
2263 hir: Box::new(expr), in no_stack_overflow_on_drop()
2268 hir: Box::new(expr), in no_stack_overflow_on_drop()