Searched refs:hir_group_name (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/regex-syntax/src/hir/ |
D | translate.rs | 1201 fn hir_group_name(i: u32, name: &str, expr: Hir) -> Hir { in hir_group_name() function 1364 assert_eq!(t("(?P<wat>)"), hir_group_name(1, "wat", Hir::empty())); in empty() 1595 assert_eq!(t("(?P<foo>)"), hir_group_name(1, "foo", Hir::empty())); in group() 1596 assert_eq!(t("(?P<foo>a)"), hir_group_name(1, "foo", hir_lit("a"))); in group() 1600 hir_group_name(1, "foo", hir_lit("a")), in group() 1601 hir_group_name(2, "bar", hir_lit("b")), in group() 1625 hir_group_name(2, "foo", hir_lit("b")), in group()
|