Lines Matching defs:script
173 /// general category values and script values are permitted here as if
270 /// The canonical script name.
294 Script(name) => script(name),
469 feature = "unicode-script",
481 feature = "unicode-script",
526 feature = "unicode-script",
538 feature = "unicode-script",
657 /// Returns the Unicode HIR class corresponding to the given script.
661 /// If the given script could not be found, or if the script data is not
663 fn script(canonical_name: &'static str) -> Result<hir::ClassUnicode> {
664 #[cfg(not(feature = "unicode-script"))]
669 #[cfg(feature = "unicode-script")]
671 use crate::unicode_tables::script::BY_NAME;
680 /// Returns the Unicode HIR class corresponding to the given script extension.
684 /// If the given script extension could not be found, or if the script data is
689 #[cfg(not(feature = "unicode-script"))]
694 #[cfg(feature = "unicode-script")]