Home
last modified time | relevance | path

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

/external/rust/crates/regex-syntax/src/hir/
Dtranslate.rs10 use unicode::{self, ClassQuery};
830 OneLetter(name) => ClassQuery::OneLetter(name), in hir_unicode_class()
831 Named(ref name) => ClassQuery::Binary(name), in hir_unicode_class()
832 NamedValue { ref name, ref value, .. } => ClassQuery::ByValue { in hir_unicode_class()
1111 use unicode::{self, ClassQuery};
1259 fn hir_uclass_query(query: ClassQuery) -> Hir { in hir_uclass_query()
1950 assert_eq!(t(r"\d"), hir_uclass_query(ClassQuery::Binary("digit"))); in class_perl()
1951 assert_eq!(t(r"\s"), hir_uclass_query(ClassQuery::Binary("space"))); in class_perl()
1956 hir_uclass_query(ClassQuery::Binary("digit")) in class_perl()
1961 hir_uclass_query(ClassQuery::Binary("space")) in class_perl()
[all …]
/external/rust/crates/regex-syntax/src/
Dunicode.rs166 pub enum ClassQuery<'a> { enum
187 impl<'a> ClassQuery<'a> { implementation
190 ClassQuery::OneLetter(c) => self.canonical_binary(&c.to_string()), in canonicalize()
191 ClassQuery::Binary(name) => self.canonical_binary(name), in canonicalize()
192 ClassQuery::ByValue { property_name, property_value } => { in canonicalize()
288 pub fn class(query: ClassQuery) -> Result<hir::ClassUnicode> { in class()
967 use super::{CanonicalClassQuery, ClassQuery}; in regression_466()
969 let q = ClassQuery::OneLetter('C'); in regression_466()