Home
last modified time | relevance | path

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

/external/rust/crates/regex-syntax/src/hir/
Dtranslate.rs1266 fn hir_alt(alts: Vec<Hir>) -> Hir { in hir_alt() function
1381 assert_eq!(t("|"), hir_alt(vec![Hir::empty(), Hir::empty()])); in empty()
1384 hir_alt(vec![ in empty()
1391 hir_group(1, hir_alt(vec![Hir::empty(), hir_lit("b"),])) in empty()
1395 hir_group(1, hir_alt(vec![hir_lit("a"), Hir::empty(),])) in empty()
1401 hir_alt(vec![hir_lit("a"), Hir::empty(), hir_lit("c"),]) in empty()
1408 hir_alt(vec![Hir::empty(), Hir::empty(), Hir::empty(),]) in empty()
1606 hir_alt(vec![ in group()
1800 hir_alt(vec![hir_lit("a"), hir_quest(true, hir_lit("b")),]) in repetition()
1810 assert_eq!(t("a|b"), hir_alt(vec![hir_lit("a"), hir_lit("b"),])); in cat_alt()
[all …]