• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { DataError } from "./DataError"
3import type { DataProvider } from "./DataProvider"
4import type { GeneralCategoryGroup } from "./GeneralCategoryGroup"
5import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
6
7
8/** A type capable of looking up General Category Group values from a string name.
9*
10*See the [Rust documentation for `PropertyParser`](https://docs.rs/icu/latest/icu/properties/struct.PropertyParser.html) for more information.
11*
12*See the [Rust documentation for `GeneralCategory`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategory.html) for more information.
13*/
14
15
16export class GeneralCategoryNameToGroupMapper {
17
18    get ffiValue(): pointer;
19
20    getStrict(name: string): GeneralCategoryGroup;
21
22    getLoose(name: string): GeneralCategoryGroup;
23
24    static createWithProvider(provider: DataProvider): GeneralCategoryNameToGroupMapper;
25
26    constructor();
27}