Home
last modified time | relevance | path

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

/external/rust/crates/regex-syntax/src/
Dunicode.rs288 pub fn class(query: ClassQuery) -> Result<hir::ClassUnicode> { in class() argument
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()
[all …]
/external/rust/crates/regex-syntax/src/hir/
Dmod.rs561 let mut cls = ClassUnicode::empty(); in dot()
582 let mut cls = ClassUnicode::empty(); in any()
781 Unicode(ClassUnicode),
833 pub struct ClassUnicode { struct
837 impl ClassUnicode { implementation
842 pub fn new<I>(ranges: I) -> ClassUnicode in new()
846 ClassUnicode { set: IntervalSet::new(ranges) } in new()
850 pub fn empty() -> ClassUnicode { in empty()
851 ClassUnicode::new(vec![]) in empty()
915 pub fn union(&mut self, other: &ClassUnicode) { in union() argument
[all …]
Dtranslate.rs149 ClassUnicode(hir::ClassUnicode), enumerator
197 fn unwrap_class_unicode(self) -> hir::ClassUnicode { in unwrap_class_unicode() argument
199 HirFrame::ClassUnicode(cls) => cls, in unwrap_class_unicode()
248 let cls = hir::ClassUnicode::empty(); in visit_pre()
249 self.push(HirFrame::ClassUnicode(cls)); in visit_pre()
390 let cls = hir::ClassUnicode::empty(); in visit_class_set_item_pre()
391 self.push(HirFrame::ClassUnicode(cls)); in visit_class_set_item_pre()
414 self.push(HirFrame::ClassUnicode(cls)); in visit_class_set_item_post()
426 self.push(HirFrame::ClassUnicode(cls)); in visit_class_set_item_post()
444 self.push(HirFrame::ClassUnicode(cls)); in visit_class_set_item_post()
[all …]
/external/rust/crates/regex-syntax/src/ast/
Dmod.rs708 Unicode(ClassUnicode),
828 pub struct ClassUnicode { struct
845 impl ClassUnicode { implementation
969 Unicode(ClassUnicode),
Dparse.rs29 Unicode(ast::ClassUnicode),
2041 fn parse_unicode_class(&self) -> Result<ast::ClassUnicode> { in parse_unicode_class() argument
2109 Ok(ast::ClassUnicode { in parse_unicode_class()
4720 fn item_unicode(cls: ast::ClassUnicode) -> ast::ClassSetItem { in parse_set_class()
4926 kind: itemset(item_unicode(ast::ClassUnicode { in parse_set_class()
5584 Ok(Primitive::Unicode(ast::ClassUnicode { in parse_unicode_class()
5592 Ok(Primitive::Unicode(ast::ClassUnicode { in parse_unicode_class()
5600 Ok(Primitive::Unicode(ast::ClassUnicode { in parse_unicode_class()
5608 Ok(Primitive::Unicode(ast::ClassUnicode { in parse_unicode_class()
5616 Ok(Primitive::Unicode(ast::ClassUnicode { in parse_unicode_class()
[all …]
Dprint.rs372 fn fmt_class_unicode(&mut self, ast: &ast::ClassUnicode) -> fmt::Result { in fmt_class_unicode()
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs453 pub fn add_char_class(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class()
461 fn add_char_class_reverse(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class_reverse()
467 cls: &hir::ClassUnicode, in _add_char_class() argument
965 fn cls_char_count(cls: &hir::ClassUnicode) -> usize { in cls_char_count()
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs628 fn c_unicode_class(&self, cls: &hir::ClassUnicode) -> Result<ThompsonRef> { in c_unicode_class()
722 cls: &hir::ClassUnicode, in c_unicode_class_reverse_with_suffix() argument