Lines Matching defs:class

50 /// An error that occurs when the Unicode-aware `\w` class is unavailable.
53 /// Perl character class `\w` are unavailable. This only occurs when the
64 "Unicode-aware \\w class is not available \
70 /// Return an iterator over the equivalence class of simple case mappings
71 /// for the given codepoint. The equivalence class does not include the
74 /// If the equivalence class is empty, then this returns the next scalar
75 /// value that has a non-empty equivalence class, if it exists. If no such
78 /// to, since there is some cost to fetching the equivalence class.
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.
176 /// Return a class corresponding to all codepoints whose property
286 /// Looks up a Unicode class given a query. If one doesn't exist, then
288 pub fn class(query: ClassQuery<'_>) -> Result<hir::ClassUnicode> {
296 let mut class = hir::ClassUnicode::empty();
298 class.union(&hir_class(set));
300 Ok(class)
322 /// Returns a Unicode aware class for \w.
340 /// Returns a Unicode aware class for \s.
364 /// Returns a Unicode aware class for \d.
388 /// Build a Unicode HIR class from a sequence of Unicode scalar value ranges.
397 /// Returns true only if the given codepoint is in the `\w` character class.
622 /// Returns the Unicode HIR class corresponding to the given general category.
657 /// Returns the Unicode HIR class corresponding to the given script.
680 /// Returns the Unicode HIR class corresponding to the given script extension.
705 /// Returns the Unicode HIR class corresponding to the given Unicode boolean
733 /// Returns the Unicode HIR class corresponding to the given grapheme cluster
757 /// Returns the Unicode HIR class corresponding to the given word break
781 /// Returns the Unicode HIR class corresponding to the given sentence