Home
last modified time | relevance | path

Searched refs:is_match_empty (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/regex-syntax/src/hir/
Dtranslate.rs3088 assert!(t(r"").is_match_empty()); in analysis_is_match_empty()
3089 assert!(t(r"()").is_match_empty()); in analysis_is_match_empty()
3090 assert!(t(r"()*").is_match_empty()); in analysis_is_match_empty()
3091 assert!(t(r"()+").is_match_empty()); in analysis_is_match_empty()
3092 assert!(t(r"()?").is_match_empty()); in analysis_is_match_empty()
3093 assert!(t(r"a*").is_match_empty()); in analysis_is_match_empty()
3094 assert!(t(r"a?").is_match_empty()); in analysis_is_match_empty()
3095 assert!(t(r"a{0}").is_match_empty()); in analysis_is_match_empty()
3096 assert!(t(r"a{0,}").is_match_empty()); in analysis_is_match_empty()
3097 assert!(t(r"a{0,1}").is_match_empty()); in analysis_is_match_empty()
[all …]
Dmod.rs355 !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()
368 info.set_match_empty(rep.is_match_empty() || rep.hir.is_match_empty()); in repetition()
385 info.set_match_empty(group.hir.is_match_empty()); in group()
424 let x = info.is_match_empty() && e.is_match_empty(); in concat()
535 let x = info.is_match_empty() || e.is_match_empty(); in alternation()
666 pub fn is_match_empty(&self) -> bool { in is_match_empty() method
667 self.info.is_match_empty() in is_match_empty()
[all …]