Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Firefox
/
intl
/
icu_capi
/
bindings
/
js
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 1 kB
Quelle ICU4XComposingNormalizer.d.ts Sprache: unbekannt
import { FFIError } from "./diplomat-runtime"
import { ICU4XDataProvider } from "./ICU4XDataProvider";
import { ICU4XError } from "./ICU4XError";
/**
* See the {@link
https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalize
r.html
Rust documentation for `ComposingNormalizer`} for more information.
*/
export class ICU4XComposingNormalizer {
/**
* Construct a new ICU4XComposingNormalizer instance for NFC
* See the {@link
https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalize
r.html#method.new_nfc
Rust documentation for `new_nfc`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create_nfc(provider: ICU4XDataProvider): ICU4XComposingNormalizer | never;
/**
* Construct a new ICU4XComposingNormalizer instance for NFKC
* See the {@link
https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalize
r.html#method.new_nfkc
Rust documentation for `new_nfkc`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create_nfkc(provider: ICU4XDataProvider): ICU4XComposingNormalizer | never;
/**
* Normalize a string
* Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs accor
ding to the WHATWG Encoding Standard.
* See the {@link
https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalize
r.html#method.normalize_utf8
Rust documentation for `normalize_utf8`} for more informati
on.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
normalize(s: string): string | never;
/**
* Check if a string is normalized
* Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs accor
ding to the WHATWG Encoding Standard.
* See the {@link
https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalize
r.html#method.is_normalized_utf8
Rust documentation for `is_normalized_utf8`} for more i
nformation.
*/
is_normalized(s: string): boolean;
}
[ Dauer der Verarbeitung: 0.15 Sekunden (vorverarbeitet)
]
2026-04-04