Searched refs:is_alternation_literal (Results 1 – 3 of 3) sorted by relevance
3147 assert!(t(r"a").is_alternation_literal()); in analysis_is_alternation_literal()3148 assert!(t(r"ab").is_alternation_literal()); in analysis_is_alternation_literal()3149 assert!(t(r"abc").is_alternation_literal()); in analysis_is_alternation_literal()3150 assert!(t(r"(?m)abc").is_alternation_literal()); in analysis_is_alternation_literal()3151 assert!(t(r"a|b").is_alternation_literal()); in analysis_is_alternation_literal()3152 assert!(t(r"a|b|c").is_alternation_literal()); in analysis_is_alternation_literal()3153 assert!(t(r"foo|bar").is_alternation_literal()); in analysis_is_alternation_literal()3154 assert!(t(r"foo|bar|baz").is_alternation_literal()); in analysis_is_alternation_literal()3157 assert!(!t(r"").is_alternation_literal()); in analysis_is_alternation_literal()3158 assert!(!t(r"^").is_alternation_literal()); in analysis_is_alternation_literal()[all …]
430 let x = info.is_alternation_literal() in concat()431 && e.is_alternation_literal(); in concat()538 let x = info.is_alternation_literal() && e.is_literal(); in alternation()688 pub fn is_alternation_literal(&self) -> bool { in is_alternation_literal() method689 self.info.is_alternation_literal() in is_alternation_literal()1517 define_bool!(10, is_alternation_literal, set_alternation_literal);
1563 if !expr.is_alternation_literal() { in alternation_literals()