Lines Matching full:unicode
7 /// A type alias for errors specific to Unicode handling of classes.
14 /// An error that occurs when dealing with Unicode.
22 // Not used when unicode-perl is enabled.
27 /// A type alias for errors specific to Unicode case folding.
30 /// An error that occurs when Unicode-aware simple case folding fails.
32 /// This error can occur when the case mapping tables necessary for Unicode
34 /// `unicode-case` feature is disabled. (The feature is enabled by default.)
44 "Unicode-aware case folding is not available \ in fmt()
45 (probably because the unicode-case feature is not enabled)" in fmt()
50 /// An error that occurs when the Unicode-aware `\w` class is unavailable.
52 /// This error can occur when the data tables necessary for the Unicode aware
54 /// `unicode-perl` feature is disabled. (The feature is enabled by default.)
64 "Unicode-aware \\w class is not available \ in fmt()
65 (probably because the unicode-perl feature is not enabled)" in fmt()
80 /// This returns an error if the Unicode case folding tables are not available.
84 #[cfg(not(feature = "unicode-case"))] in simple_fold()
93 #[cfg(feature = "unicode-case")] in simple_fold()
116 /// one Unicode scalar value that has a non-empty non-trivial simple case
121 /// This returns an error if the Unicode case folding tables are not available.
126 #[cfg(not(feature = "unicode-case"))] in contains_simple_case_mapping()
131 #[cfg(feature = "unicode-case")] in contains_simple_case_mapping()
153 /// A query for finding a character class defined by Unicode. This supports
167 /// Return a class corresponding to a Unicode binary property, named by
170 /// Return a class corresponding to a Unicode binary property.
286 /// Looks up a Unicode class given a query. If one doesn't exist, then
322 /// Returns a Unicode aware class for \w.
326 #[cfg(not(feature = "unicode-perl"))] in perl_word()
331 #[cfg(feature = "unicode-perl")] in perl_word()
340 /// Returns a Unicode aware class for \s.
344 #[cfg(not(any(feature = "unicode-perl", feature = "unicode-bool")))] in perl_space()
349 #[cfg(all(feature = "unicode-perl", not(feature = "unicode-bool")))] in perl_space()
355 #[cfg(feature = "unicode-bool")] in perl_space()
364 /// Returns a Unicode aware class for \d.
368 #[cfg(not(any(feature = "unicode-perl", feature = "unicode-gencat")))] in perl_digit()
373 #[cfg(all(feature = "unicode-perl", not(feature = "unicode-gencat")))] in perl_digit()
379 #[cfg(feature = "unicode-gencat")] in perl_digit()
388 /// Build a Unicode HIR class from a sequence of Unicode scalar value ranges.
399 /// If the `unicode-perl` feature is not enabled, then this returns an error.
401 #[cfg(not(feature = "unicode-perl"))] in is_word_character()
406 #[cfg(feature = "unicode-perl")] in is_word_character()
465 feature = "unicode-age", in canonical_prop()
466 feature = "unicode-bool", in canonical_prop()
467 feature = "unicode-gencat", in canonical_prop()
468 feature = "unicode-perl", in canonical_prop()
469 feature = "unicode-script", in canonical_prop()
470 feature = "unicode-segment", in canonical_prop()
477 feature = "unicode-age", in canonical_prop()
478 feature = "unicode-bool", in canonical_prop()
479 feature = "unicode-gencat", in canonical_prop()
480 feature = "unicode-perl", in canonical_prop()
481 feature = "unicode-script", in canonical_prop()
482 feature = "unicode-segment", in canonical_prop()
522 feature = "unicode-age", in property_values()
523 feature = "unicode-bool", in property_values()
524 feature = "unicode-gencat", in property_values()
525 feature = "unicode-perl", in property_values()
526 feature = "unicode-script", in property_values()
527 feature = "unicode-segment", in property_values()
534 feature = "unicode-age", in property_values()
535 feature = "unicode-bool", in property_values()
536 feature = "unicode-gencat", in property_values()
537 feature = "unicode-perl", in property_values()
538 feature = "unicode-script", in property_values()
539 feature = "unicode-segment", in property_values()
566 /// Returns an iterator over Unicode Age sets. Each item corresponds to a set
567 /// of codepoints that were added in a particular revision of Unicode. The
573 #[cfg(not(feature = "unicode-age"))] in ages()
579 #[cfg(feature = "unicode-age")] in ages()
622 /// Returns the Unicode HIR class corresponding to the given general category.
629 #[cfg(not(feature = "unicode-gencat"))] in gencat()
634 #[cfg(feature = "unicode-gencat")] in gencat()
657 /// Returns the Unicode HIR class corresponding to the given script.
664 #[cfg(not(feature = "unicode-script"))] in script()
669 #[cfg(feature = "unicode-script")] in script()
680 /// Returns the Unicode HIR class corresponding to the given script extension.
689 #[cfg(not(feature = "unicode-script"))] in script_extension()
694 #[cfg(feature = "unicode-script")] in script_extension()
705 /// Returns the Unicode HIR class corresponding to the given Unicode boolean
713 #[cfg(not(feature = "unicode-bool"))] in bool_property()
718 #[cfg(feature = "unicode-bool")] in bool_property()
733 /// Returns the Unicode HIR class corresponding to the given grapheme cluster
741 #[cfg(not(feature = "unicode-segment"))] in gcb()
746 #[cfg(feature = "unicode-segment")] in gcb()
757 /// Returns the Unicode HIR class corresponding to the given word break
765 #[cfg(not(feature = "unicode-segment"))] in wb()
770 #[cfg(feature = "unicode-segment")] in wb()
781 /// Returns the Unicode HIR class corresponding to the given sentence
789 #[cfg(not(feature = "unicode-segment"))] in sb()
794 #[cfg(feature = "unicode-segment")] in sb()
828 /// See: https://unicode.org/reports/tr44/#UAX44-LM3
881 #[cfg(feature = "unicode-case")]
886 #[cfg(feature = "unicode-case")]
894 #[cfg(feature = "unicode-case")]
900 #[cfg(feature = "unicode-case")]
913 #[cfg(feature = "unicode-case")]
923 #[cfg(feature = "unicode-case")]
932 #[cfg(feature = "unicode-case")]
939 #[cfg(not(feature = "unicode-case"))]
945 #[cfg(feature = "unicode-case")]
961 #[cfg(not(feature = "unicode-case"))]
967 #[cfg(feature = "unicode-gencat")]