Lines Matching refs:Hir
17 There are two primary types exported by this crate: `Ast` and `Hir`. The former
22 automata. An `Hir` achieves this by drastically simplifying the syntactic
23 structure of the regular expression. While an `Hir` can be converted back to
25 concrete syntax that produced the `Hir`.
34 use regex_syntax::hir::{self, Hir};
37 assert_eq!(hir, Hir::alternation(vec![
38 Hir::literal(hir::Literal::Unicode('a')),
39 Hir::literal(hir::Literal::Unicode('b')),
67 to the `Hir`.
92 compile a `regex::Regex` from a `regex_syntax::hir::Hir`. Instead, one must
93 first convert the `Hir` to a string (via its `std::fmt::Display`) and then