Lines Matching refs:hir
5 use hir;
288 pub fn class(query: ClassQuery) -> Result<hir::ClassUnicode> { in class()
296 let mut class = hir::ClassUnicode::empty(); in class()
325 pub fn perl_word() -> Result<hir::ClassUnicode> { in perl_word()
327 fn imp() -> Result<hir::ClassUnicode> { in perl_word()
332 fn imp() -> Result<hir::ClassUnicode> { in perl_word()
343 pub fn perl_space() -> Result<hir::ClassUnicode> { in perl_space()
345 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
350 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
356 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
367 pub fn perl_digit() -> Result<hir::ClassUnicode> { in perl_digit()
369 fn imp() -> Result<hir::ClassUnicode> { in perl_digit()
374 fn imp() -> Result<hir::ClassUnicode> { in perl_digit()
380 fn imp() -> Result<hir::ClassUnicode> { in perl_digit()
389 pub fn hir_class(ranges: &[(char, char)]) -> hir::ClassUnicode { in hir_class()
390 let hir_ranges: Vec<hir::ClassUnicodeRange> = ranges in hir_class()
392 .map(|&(s, e)| hir::ClassUnicodeRange::new(s, e)) in hir_class()
394 hir::ClassUnicode::new(hir_ranges) in hir_class()
626 fn gencat(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in gencat()
628 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in gencat()
633 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in gencat()
661 fn script(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in script()
663 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in script()
668 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in script()
686 ) -> Result<hir::ClassUnicode> { in script_extension()
688 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in script_extension()
693 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in script_extension()
710 fn bool_property(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in bool_property()
712 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in bool_property()
717 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in bool_property()
738 fn gcb(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in gcb()
740 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in gcb()
745 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in gcb()
762 fn wb(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in wb()
764 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in wb()
769 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in wb()
786 fn sb(canonical_name: &'static str) -> Result<hir::ClassUnicode> { in sb()
788 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { in sb()
793 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { in sb()