tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CodePointSetData.mjs (143258B)


      1 // generated by diplomat-tool
      2 import { CodePointRangeIterator } from "./CodePointRangeIterator.mjs"
      3 import { DataError } from "./DataError.mjs"
      4 import { DataProvider } from "./DataProvider.mjs"
      5 import { GeneralCategoryGroup } from "./GeneralCategoryGroup.mjs"
      6 import wasm from "./diplomat-wasm.mjs";
      7 import * as diplomatRuntime from "./diplomat-runtime.mjs";
      8 
      9 
     10 /**
     11 * An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.
     12 *
     13 * See the [Rust documentation for `properties`](https://docs.rs/icu/latest/icu/properties/index.html) for more information.
     14 *
     15 * See the [Rust documentation for `CodePointSetData`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetData.html) for more information.
     16 *
     17 * See the [Rust documentation for `CodePointSetDataBorrowed`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetDataBorrowed.html) for more information.
     18 */
     19 const CodePointSetData_box_destroy_registry = new FinalizationRegistry((ptr) => {
     20    wasm.icu4x_CodePointSetData_destroy_mv1(ptr);
     21 });
     22 
     23 export class CodePointSetData {
     24    // Internal ptr reference:
     25    #ptr = null;
     26 
     27    // Lifetimes are only to keep dependencies alive.
     28    // Since JS won't garbage collect until there are no incoming edges.
     29    #selfEdge = [];
     30 
     31    #internalConstructor(symbol, ptr, selfEdge) {
     32        if (symbol !== diplomatRuntime.internalConstructor) {
     33            console.error("CodePointSetData is an Opaque type. You cannot call its constructor.");
     34            return;
     35        }
     36        this.#ptr = ptr;
     37        this.#selfEdge = selfEdge;
     38 
     39        // Are we being borrowed? If not, we can register.
     40        if (this.#selfEdge.length === 0) {
     41            CodePointSetData_box_destroy_registry.register(this, this.#ptr);
     42        }
     43 
     44        return this;
     45    }
     46    get ffiValue() {
     47        return this.#ptr;
     48    }
     49 
     50 
     51    /**
     52     * Checks whether the code point is in the set.
     53     *
     54     * See the [Rust documentation for `contains`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetDataBorrowed.html#method.contains) for more information.
     55     */
     56    contains(cp) {
     57 
     58        const result = wasm.icu4x_CodePointSetData_contains_mv1(this.ffiValue, cp);
     59 
     60        try {
     61            return result;
     62        }
     63 
     64        finally {
     65        }
     66    }
     67 
     68    /**
     69     * Produces an iterator over ranges of code points contained in this set
     70     *
     71     * See the [Rust documentation for `iter_ranges`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetDataBorrowed.html#method.iter_ranges) for more information.
     72     */
     73    iterRanges() {
     74        // This lifetime edge depends on lifetimes 'a
     75        let aEdges = [this];
     76 
     77 
     78        const result = wasm.icu4x_CodePointSetData_iter_ranges_mv1(this.ffiValue);
     79 
     80        try {
     81            return new CodePointRangeIterator(diplomatRuntime.internalConstructor, result, [], aEdges);
     82        }
     83 
     84        finally {
     85        }
     86    }
     87 
     88    /**
     89     * Produces an iterator over ranges of code points not contained in this set
     90     *
     91     * See the [Rust documentation for `iter_ranges_complemented`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetDataBorrowed.html#method.iter_ranges_complemented) for more information.
     92     */
     93    iterRangesComplemented() {
     94        // This lifetime edge depends on lifetimes 'a
     95        let aEdges = [this];
     96 
     97 
     98        const result = wasm.icu4x_CodePointSetData_iter_ranges_complemented_mv1(this.ffiValue);
     99 
    100        try {
    101            return new CodePointRangeIterator(diplomatRuntime.internalConstructor, result, [], aEdges);
    102        }
    103 
    104        finally {
    105        }
    106    }
    107 
    108    /**
    109     * Produces a set for obtaining General Category Group values
    110     * which is a mask with the same format as the `U_GC_XX_MASK` mask in ICU4C, using compiled data.
    111     *
    112     * See the [Rust documentation for `GeneralCategoryGroup`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html) for more information.
    113     *
    114     * See the [Rust documentation for `get_set_for_value_group`](https://docs.rs/icu/latest/icu/properties/struct.CodePointMapDataBorrowed.html#method.get_set_for_value_group) for more information.
    115     */
    116    static createGeneralCategoryGroup(group) {
    117        let functionCleanupArena = new diplomatRuntime.CleanupArena();
    118 
    119 
    120        const result = wasm.icu4x_CodePointSetData_create_general_category_group_mv1(...GeneralCategoryGroup._fromSuppliedValue(diplomatRuntime.internalConstructor, group)._intoFFI(functionCleanupArena, {}));
    121 
    122        try {
    123            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    124        }
    125 
    126        finally {
    127            functionCleanupArena.free();
    128 
    129        }
    130    }
    131 
    132    /**
    133     * Produces a set for obtaining General Category Group values
    134     * which is a mask with the same format as the `U_GC_XX_MASK` mask in ICU4C, using a provided data source.
    135     *
    136     * See the [Rust documentation for `GeneralCategoryGroup`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html) for more information.
    137     *
    138     * See the [Rust documentation for `get_set_for_value_group`](https://docs.rs/icu/latest/icu/properties/struct.CodePointMapDataBorrowed.html#method.get_set_for_value_group) for more information.
    139     */
    140    static createGeneralCategoryGroupWithProvider(provider, group) {
    141        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    142 
    143 
    144        const result = wasm.icu4x_CodePointSetData_create_general_category_group_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue, group);
    145 
    146        try {
    147            if (!diplomatReceive.resultFlag) {
    148                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    149                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    150            }
    151            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    152        }
    153 
    154        finally {
    155            diplomatReceive.free();
    156        }
    157    }
    158 
    159    /**
    160     * Get the `Ascii_Hex_Digit` value for a given character, using compiled data
    161     *
    162     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    163     */
    164    static asciiHexDigitForChar(ch) {
    165 
    166        const result = wasm.icu4x_CodePointSetData_ascii_hex_digit_for_char_mv1(ch);
    167 
    168        try {
    169            return result;
    170        }
    171 
    172        finally {
    173        }
    174    }
    175 
    176    /**
    177     * Create a set for the `Ascii_Hex_Digit` property, using compiled data.
    178     *
    179     * See the [Rust documentation for `AsciiHexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.AsciiHexDigit.html) for more information.
    180     */
    181    static createAsciiHexDigit() {
    182 
    183        const result = wasm.icu4x_CodePointSetData_create_ascii_hex_digit_mv1();
    184 
    185        try {
    186            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    187        }
    188 
    189        finally {
    190        }
    191    }
    192 
    193    /**
    194     * Create a set for the `Ascii_Hex_Digit` property, using a particular data source.
    195     *
    196     * See the [Rust documentation for `AsciiHexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.AsciiHexDigit.html) for more information.
    197     */
    198    static createAsciiHexDigitWithProvider(provider) {
    199        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    200 
    201 
    202        const result = wasm.icu4x_CodePointSetData_create_ascii_hex_digit_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    203 
    204        try {
    205            if (!diplomatReceive.resultFlag) {
    206                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    207                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    208            }
    209            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    210        }
    211 
    212        finally {
    213            diplomatReceive.free();
    214        }
    215    }
    216 
    217    /**
    218     * Get the `Alnum` value for a given character, using compiled data
    219     *
    220     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    221     */
    222    static alnumForChar(ch) {
    223 
    224        const result = wasm.icu4x_CodePointSetData_alnum_for_char_mv1(ch);
    225 
    226        try {
    227            return result;
    228        }
    229 
    230        finally {
    231        }
    232    }
    233 
    234    /**
    235     * Create a set for the `Alnum` property, using compiled data.
    236     *
    237     * See the [Rust documentation for `Alnum`](https://docs.rs/icu/latest/icu/properties/props/struct.Alnum.html) for more information.
    238     */
    239    static createAlnum() {
    240 
    241        const result = wasm.icu4x_CodePointSetData_create_alnum_mv1();
    242 
    243        try {
    244            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    245        }
    246 
    247        finally {
    248        }
    249    }
    250 
    251    /**
    252     * Create a set for the `Alnum` property, using a particular data source.
    253     *
    254     * See the [Rust documentation for `Alnum`](https://docs.rs/icu/latest/icu/properties/props/struct.Alnum.html) for more information.
    255     */
    256    static createAlnumWithProvider(provider) {
    257        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    258 
    259 
    260        const result = wasm.icu4x_CodePointSetData_create_alnum_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    261 
    262        try {
    263            if (!diplomatReceive.resultFlag) {
    264                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    265                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    266            }
    267            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    268        }
    269 
    270        finally {
    271            diplomatReceive.free();
    272        }
    273    }
    274 
    275    /**
    276     * Get the `Alphabetic` value for a given character, using compiled data
    277     *
    278     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    279     */
    280    static alphabeticForChar(ch) {
    281 
    282        const result = wasm.icu4x_CodePointSetData_alphabetic_for_char_mv1(ch);
    283 
    284        try {
    285            return result;
    286        }
    287 
    288        finally {
    289        }
    290    }
    291 
    292    /**
    293     * Create a set for the `Alphabetic` property, using compiled data.
    294     *
    295     * See the [Rust documentation for `Alphabetic`](https://docs.rs/icu/latest/icu/properties/props/struct.Alphabetic.html) for more information.
    296     */
    297    static createAlphabetic() {
    298 
    299        const result = wasm.icu4x_CodePointSetData_create_alphabetic_mv1();
    300 
    301        try {
    302            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    303        }
    304 
    305        finally {
    306        }
    307    }
    308 
    309    /**
    310     * Create a set for the `Alphabetic` property, using a particular data source.
    311     *
    312     * See the [Rust documentation for `Alphabetic`](https://docs.rs/icu/latest/icu/properties/props/struct.Alphabetic.html) for more information.
    313     */
    314    static createAlphabeticWithProvider(provider) {
    315        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    316 
    317 
    318        const result = wasm.icu4x_CodePointSetData_create_alphabetic_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    319 
    320        try {
    321            if (!diplomatReceive.resultFlag) {
    322                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    323                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    324            }
    325            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    326        }
    327 
    328        finally {
    329            diplomatReceive.free();
    330        }
    331    }
    332 
    333    /**
    334     * Get the `Bidi_Control` value for a given character, using compiled data
    335     *
    336     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    337     */
    338    static bidiControlForChar(ch) {
    339 
    340        const result = wasm.icu4x_CodePointSetData_bidi_control_for_char_mv1(ch);
    341 
    342        try {
    343            return result;
    344        }
    345 
    346        finally {
    347        }
    348    }
    349 
    350    /**
    351     * Create a set for the `Bidi_Control` property, using compiled data.
    352     *
    353     * See the [Rust documentation for `BidiControl`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiControl.html) for more information.
    354     */
    355    static createBidiControl() {
    356 
    357        const result = wasm.icu4x_CodePointSetData_create_bidi_control_mv1();
    358 
    359        try {
    360            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    361        }
    362 
    363        finally {
    364        }
    365    }
    366 
    367    /**
    368     * Create a set for the `Bidi_Control` property, using a particular data source.
    369     *
    370     * See the [Rust documentation for `BidiControl`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiControl.html) for more information.
    371     */
    372    static createBidiControlWithProvider(provider) {
    373        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    374 
    375 
    376        const result = wasm.icu4x_CodePointSetData_create_bidi_control_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    377 
    378        try {
    379            if (!diplomatReceive.resultFlag) {
    380                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    381                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    382            }
    383            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    384        }
    385 
    386        finally {
    387            diplomatReceive.free();
    388        }
    389    }
    390 
    391    /**
    392     * Get the `Bidi_Mirrored` value for a given character, using compiled data
    393     *
    394     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    395     */
    396    static bidiMirroredForChar(ch) {
    397 
    398        const result = wasm.icu4x_CodePointSetData_bidi_mirrored_for_char_mv1(ch);
    399 
    400        try {
    401            return result;
    402        }
    403 
    404        finally {
    405        }
    406    }
    407 
    408    /**
    409     * Create a set for the `Bidi_Mirrored` property, using compiled data.
    410     *
    411     * See the [Rust documentation for `BidiMirrored`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiMirrored.html) for more information.
    412     */
    413    static createBidiMirrored() {
    414 
    415        const result = wasm.icu4x_CodePointSetData_create_bidi_mirrored_mv1();
    416 
    417        try {
    418            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    419        }
    420 
    421        finally {
    422        }
    423    }
    424 
    425    /**
    426     * Create a set for the `Bidi_Mirrored` property, using a particular data source.
    427     *
    428     * See the [Rust documentation for `BidiMirrored`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiMirrored.html) for more information.
    429     */
    430    static createBidiMirroredWithProvider(provider) {
    431        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    432 
    433 
    434        const result = wasm.icu4x_CodePointSetData_create_bidi_mirrored_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    435 
    436        try {
    437            if (!diplomatReceive.resultFlag) {
    438                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    439                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    440            }
    441            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    442        }
    443 
    444        finally {
    445            diplomatReceive.free();
    446        }
    447    }
    448 
    449    /**
    450     * Get the `Blank` value for a given character, using compiled data
    451     *
    452     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    453     */
    454    static blankForChar(ch) {
    455 
    456        const result = wasm.icu4x_CodePointSetData_blank_for_char_mv1(ch);
    457 
    458        try {
    459            return result;
    460        }
    461 
    462        finally {
    463        }
    464    }
    465 
    466    /**
    467     * Create a set for the `Blank` property, using compiled data.
    468     *
    469     * See the [Rust documentation for `Blank`](https://docs.rs/icu/latest/icu/properties/props/struct.Blank.html) for more information.
    470     */
    471    static createBlank() {
    472 
    473        const result = wasm.icu4x_CodePointSetData_create_blank_mv1();
    474 
    475        try {
    476            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    477        }
    478 
    479        finally {
    480        }
    481    }
    482 
    483    /**
    484     * Create a set for the `Blank` property, using a particular data source.
    485     *
    486     * See the [Rust documentation for `Blank`](https://docs.rs/icu/latest/icu/properties/props/struct.Blank.html) for more information.
    487     */
    488    static createBlankWithProvider(provider) {
    489        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    490 
    491 
    492        const result = wasm.icu4x_CodePointSetData_create_blank_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    493 
    494        try {
    495            if (!diplomatReceive.resultFlag) {
    496                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    497                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    498            }
    499            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    500        }
    501 
    502        finally {
    503            diplomatReceive.free();
    504        }
    505    }
    506 
    507    /**
    508     * Get the `Cased` value for a given character, using compiled data
    509     *
    510     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    511     */
    512    static casedForChar(ch) {
    513 
    514        const result = wasm.icu4x_CodePointSetData_cased_for_char_mv1(ch);
    515 
    516        try {
    517            return result;
    518        }
    519 
    520        finally {
    521        }
    522    }
    523 
    524    /**
    525     * Create a set for the `Cased` property, using compiled data.
    526     *
    527     * See the [Rust documentation for `Cased`](https://docs.rs/icu/latest/icu/properties/props/struct.Cased.html) for more information.
    528     */
    529    static createCased() {
    530 
    531        const result = wasm.icu4x_CodePointSetData_create_cased_mv1();
    532 
    533        try {
    534            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    535        }
    536 
    537        finally {
    538        }
    539    }
    540 
    541    /**
    542     * Create a set for the `Cased` property, using a particular data source.
    543     *
    544     * See the [Rust documentation for `Cased`](https://docs.rs/icu/latest/icu/properties/props/struct.Cased.html) for more information.
    545     */
    546    static createCasedWithProvider(provider) {
    547        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    548 
    549 
    550        const result = wasm.icu4x_CodePointSetData_create_cased_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    551 
    552        try {
    553            if (!diplomatReceive.resultFlag) {
    554                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    555                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    556            }
    557            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    558        }
    559 
    560        finally {
    561            diplomatReceive.free();
    562        }
    563    }
    564 
    565    /**
    566     * Get the `Case_Ignorable` value for a given character, using compiled data
    567     *
    568     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    569     */
    570    static caseIgnorableForChar(ch) {
    571 
    572        const result = wasm.icu4x_CodePointSetData_case_ignorable_for_char_mv1(ch);
    573 
    574        try {
    575            return result;
    576        }
    577 
    578        finally {
    579        }
    580    }
    581 
    582    /**
    583     * Create a set for the `Case_Ignorable` property, using compiled data.
    584     *
    585     * See the [Rust documentation for `CaseIgnorable`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseIgnorable.html) for more information.
    586     */
    587    static createCaseIgnorable() {
    588 
    589        const result = wasm.icu4x_CodePointSetData_create_case_ignorable_mv1();
    590 
    591        try {
    592            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    593        }
    594 
    595        finally {
    596        }
    597    }
    598 
    599    /**
    600     * Create a set for the `Case_Ignorable` property, using a particular data source.
    601     *
    602     * See the [Rust documentation for `CaseIgnorable`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseIgnorable.html) for more information.
    603     */
    604    static createCaseIgnorableWithProvider(provider) {
    605        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    606 
    607 
    608        const result = wasm.icu4x_CodePointSetData_create_case_ignorable_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    609 
    610        try {
    611            if (!diplomatReceive.resultFlag) {
    612                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    613                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    614            }
    615            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    616        }
    617 
    618        finally {
    619            diplomatReceive.free();
    620        }
    621    }
    622 
    623    /**
    624     * Get the `Full_Composition_Exclusion` value for a given character, using compiled data
    625     *
    626     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    627     */
    628    static fullCompositionExclusionForChar(ch) {
    629 
    630        const result = wasm.icu4x_CodePointSetData_full_composition_exclusion_for_char_mv1(ch);
    631 
    632        try {
    633            return result;
    634        }
    635 
    636        finally {
    637        }
    638    }
    639 
    640    /**
    641     * Create a set for the `Full_Composition_Exclusion` property, using compiled data.
    642     *
    643     * See the [Rust documentation for `FullCompositionExclusion`](https://docs.rs/icu/latest/icu/properties/props/struct.FullCompositionExclusion.html) for more information.
    644     */
    645    static createFullCompositionExclusion() {
    646 
    647        const result = wasm.icu4x_CodePointSetData_create_full_composition_exclusion_mv1();
    648 
    649        try {
    650            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    651        }
    652 
    653        finally {
    654        }
    655    }
    656 
    657    /**
    658     * Create a set for the `Full_Composition_Exclusion` property, using a particular data source.
    659     *
    660     * See the [Rust documentation for `FullCompositionExclusion`](https://docs.rs/icu/latest/icu/properties/props/struct.FullCompositionExclusion.html) for more information.
    661     */
    662    static createFullCompositionExclusionWithProvider(provider) {
    663        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    664 
    665 
    666        const result = wasm.icu4x_CodePointSetData_create_full_composition_exclusion_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    667 
    668        try {
    669            if (!diplomatReceive.resultFlag) {
    670                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    671                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    672            }
    673            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    674        }
    675 
    676        finally {
    677            diplomatReceive.free();
    678        }
    679    }
    680 
    681    /**
    682     * Get the `Changes_When_Casefolded` value for a given character, using compiled data
    683     *
    684     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    685     */
    686    static changesWhenCasefoldedForChar(ch) {
    687 
    688        const result = wasm.icu4x_CodePointSetData_changes_when_casefolded_for_char_mv1(ch);
    689 
    690        try {
    691            return result;
    692        }
    693 
    694        finally {
    695        }
    696    }
    697 
    698    /**
    699     * Create a set for the `Changes_When_Casefolded` property, using compiled data.
    700     *
    701     * See the [Rust documentation for `ChangesWhenCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasefolded.html) for more information.
    702     */
    703    static createChangesWhenCasefolded() {
    704 
    705        const result = wasm.icu4x_CodePointSetData_create_changes_when_casefolded_mv1();
    706 
    707        try {
    708            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    709        }
    710 
    711        finally {
    712        }
    713    }
    714 
    715    /**
    716     * Create a set for the `Changes_When_Casefolded` property, using a particular data source.
    717     *
    718     * See the [Rust documentation for `ChangesWhenCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasefolded.html) for more information.
    719     */
    720    static createChangesWhenCasefoldedWithProvider(provider) {
    721        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    722 
    723 
    724        const result = wasm.icu4x_CodePointSetData_create_changes_when_casefolded_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    725 
    726        try {
    727            if (!diplomatReceive.resultFlag) {
    728                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    729                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    730            }
    731            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    732        }
    733 
    734        finally {
    735            diplomatReceive.free();
    736        }
    737    }
    738 
    739    /**
    740     * Get the `Changes_When_Casemapped` value for a given character, using compiled data
    741     *
    742     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    743     */
    744    static changesWhenCasemappedForChar(ch) {
    745 
    746        const result = wasm.icu4x_CodePointSetData_changes_when_casemapped_for_char_mv1(ch);
    747 
    748        try {
    749            return result;
    750        }
    751 
    752        finally {
    753        }
    754    }
    755 
    756    /**
    757     * Create a set for the `Changes_When_Casemapped` property, using compiled data.
    758     *
    759     * See the [Rust documentation for `ChangesWhenCasemapped`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasemapped.html) for more information.
    760     */
    761    static createChangesWhenCasemapped() {
    762 
    763        const result = wasm.icu4x_CodePointSetData_create_changes_when_casemapped_mv1();
    764 
    765        try {
    766            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    767        }
    768 
    769        finally {
    770        }
    771    }
    772 
    773    /**
    774     * Create a set for the `Changes_When_Casemapped` property, using a particular data source.
    775     *
    776     * See the [Rust documentation for `ChangesWhenCasemapped`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasemapped.html) for more information.
    777     */
    778    static createChangesWhenCasemappedWithProvider(provider) {
    779        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    780 
    781 
    782        const result = wasm.icu4x_CodePointSetData_create_changes_when_casemapped_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    783 
    784        try {
    785            if (!diplomatReceive.resultFlag) {
    786                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    787                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    788            }
    789            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    790        }
    791 
    792        finally {
    793            diplomatReceive.free();
    794        }
    795    }
    796 
    797    /**
    798     * Get the `Changes_When_Nfkc_Casefolded` value for a given character, using compiled data
    799     *
    800     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    801     */
    802    static changesWhenNfkcCasefoldedForChar(ch) {
    803 
    804        const result = wasm.icu4x_CodePointSetData_changes_when_nfkc_casefolded_for_char_mv1(ch);
    805 
    806        try {
    807            return result;
    808        }
    809 
    810        finally {
    811        }
    812    }
    813 
    814    /**
    815     * Create a set for the `Changes_When_Nfkc_Casefolded` property, using compiled data.
    816     *
    817     * See the [Rust documentation for `ChangesWhenNfkcCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenNfkcCasefolded.html) for more information.
    818     */
    819    static createChangesWhenNfkcCasefolded() {
    820 
    821        const result = wasm.icu4x_CodePointSetData_create_changes_when_nfkc_casefolded_mv1();
    822 
    823        try {
    824            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    825        }
    826 
    827        finally {
    828        }
    829    }
    830 
    831    /**
    832     * Create a set for the `Changes_When_Nfkc_Casefolded` property, using a particular data source.
    833     *
    834     * See the [Rust documentation for `ChangesWhenNfkcCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenNfkcCasefolded.html) for more information.
    835     */
    836    static createChangesWhenNfkcCasefoldedWithProvider(provider) {
    837        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    838 
    839 
    840        const result = wasm.icu4x_CodePointSetData_create_changes_when_nfkc_casefolded_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    841 
    842        try {
    843            if (!diplomatReceive.resultFlag) {
    844                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    845                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    846            }
    847            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    848        }
    849 
    850        finally {
    851            diplomatReceive.free();
    852        }
    853    }
    854 
    855    /**
    856     * Get the `Changes_When_Lowercased` value for a given character, using compiled data
    857     *
    858     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    859     */
    860    static changesWhenLowercasedForChar(ch) {
    861 
    862        const result = wasm.icu4x_CodePointSetData_changes_when_lowercased_for_char_mv1(ch);
    863 
    864        try {
    865            return result;
    866        }
    867 
    868        finally {
    869        }
    870    }
    871 
    872    /**
    873     * Create a set for the `Changes_When_Lowercased` property, using compiled data.
    874     *
    875     * See the [Rust documentation for `ChangesWhenLowercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenLowercased.html) for more information.
    876     */
    877    static createChangesWhenLowercased() {
    878 
    879        const result = wasm.icu4x_CodePointSetData_create_changes_when_lowercased_mv1();
    880 
    881        try {
    882            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    883        }
    884 
    885        finally {
    886        }
    887    }
    888 
    889    /**
    890     * Create a set for the `Changes_When_Lowercased` property, using a particular data source.
    891     *
    892     * See the [Rust documentation for `ChangesWhenLowercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenLowercased.html) for more information.
    893     */
    894    static createChangesWhenLowercasedWithProvider(provider) {
    895        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    896 
    897 
    898        const result = wasm.icu4x_CodePointSetData_create_changes_when_lowercased_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    899 
    900        try {
    901            if (!diplomatReceive.resultFlag) {
    902                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    903                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    904            }
    905            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    906        }
    907 
    908        finally {
    909            diplomatReceive.free();
    910        }
    911    }
    912 
    913    /**
    914     * Get the `Changes_When_Titlecased` value for a given character, using compiled data
    915     *
    916     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    917     */
    918    static changesWhenTitlecasedForChar(ch) {
    919 
    920        const result = wasm.icu4x_CodePointSetData_changes_when_titlecased_for_char_mv1(ch);
    921 
    922        try {
    923            return result;
    924        }
    925 
    926        finally {
    927        }
    928    }
    929 
    930    /**
    931     * Create a set for the `Changes_When_Titlecased` property, using compiled data.
    932     *
    933     * See the [Rust documentation for `ChangesWhenTitlecased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenTitlecased.html) for more information.
    934     */
    935    static createChangesWhenTitlecased() {
    936 
    937        const result = wasm.icu4x_CodePointSetData_create_changes_when_titlecased_mv1();
    938 
    939        try {
    940            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    941        }
    942 
    943        finally {
    944        }
    945    }
    946 
    947    /**
    948     * Create a set for the `Changes_When_Titlecased` property, using a particular data source.
    949     *
    950     * See the [Rust documentation for `ChangesWhenTitlecased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenTitlecased.html) for more information.
    951     */
    952    static createChangesWhenTitlecasedWithProvider(provider) {
    953        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
    954 
    955 
    956        const result = wasm.icu4x_CodePointSetData_create_changes_when_titlecased_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
    957 
    958        try {
    959            if (!diplomatReceive.resultFlag) {
    960                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
    961                throw new globalThis.Error('DataError: ' + cause.value, { cause });
    962            }
    963            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
    964        }
    965 
    966        finally {
    967            diplomatReceive.free();
    968        }
    969    }
    970 
    971    /**
    972     * Get the `Changes_When_Uppercased` value for a given character, using compiled data
    973     *
    974     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
    975     */
    976    static changesWhenUppercasedForChar(ch) {
    977 
    978        const result = wasm.icu4x_CodePointSetData_changes_when_uppercased_for_char_mv1(ch);
    979 
    980        try {
    981            return result;
    982        }
    983 
    984        finally {
    985        }
    986    }
    987 
    988    /**
    989     * Create a set for the `Changes_When_Uppercased` property, using compiled data.
    990     *
    991     * See the [Rust documentation for `ChangesWhenUppercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenUppercased.html) for more information.
    992     */
    993    static createChangesWhenUppercased() {
    994 
    995        const result = wasm.icu4x_CodePointSetData_create_changes_when_uppercased_mv1();
    996 
    997        try {
    998            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
    999        }
   1000 
   1001        finally {
   1002        }
   1003    }
   1004 
   1005    /**
   1006     * Create a set for the `Changes_When_Uppercased` property, using a particular data source.
   1007     *
   1008     * See the [Rust documentation for `ChangesWhenUppercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenUppercased.html) for more information.
   1009     */
   1010    static createChangesWhenUppercasedWithProvider(provider) {
   1011        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1012 
   1013 
   1014        const result = wasm.icu4x_CodePointSetData_create_changes_when_uppercased_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1015 
   1016        try {
   1017            if (!diplomatReceive.resultFlag) {
   1018                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1019                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1020            }
   1021            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1022        }
   1023 
   1024        finally {
   1025            diplomatReceive.free();
   1026        }
   1027    }
   1028 
   1029    /**
   1030     * Get the `Dash` value for a given character, using compiled data
   1031     *
   1032     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1033     */
   1034    static dashForChar(ch) {
   1035 
   1036        const result = wasm.icu4x_CodePointSetData_dash_for_char_mv1(ch);
   1037 
   1038        try {
   1039            return result;
   1040        }
   1041 
   1042        finally {
   1043        }
   1044    }
   1045 
   1046    /**
   1047     * Create a set for the `Dash` property, using compiled data.
   1048     *
   1049     * See the [Rust documentation for `Dash`](https://docs.rs/icu/latest/icu/properties/props/struct.Dash.html) for more information.
   1050     */
   1051    static createDash() {
   1052 
   1053        const result = wasm.icu4x_CodePointSetData_create_dash_mv1();
   1054 
   1055        try {
   1056            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1057        }
   1058 
   1059        finally {
   1060        }
   1061    }
   1062 
   1063    /**
   1064     * Create a set for the `Dash` property, using a particular data source.
   1065     *
   1066     * See the [Rust documentation for `Dash`](https://docs.rs/icu/latest/icu/properties/props/struct.Dash.html) for more information.
   1067     */
   1068    static createDashWithProvider(provider) {
   1069        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1070 
   1071 
   1072        const result = wasm.icu4x_CodePointSetData_create_dash_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1073 
   1074        try {
   1075            if (!diplomatReceive.resultFlag) {
   1076                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1077                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1078            }
   1079            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1080        }
   1081 
   1082        finally {
   1083            diplomatReceive.free();
   1084        }
   1085    }
   1086 
   1087    /**
   1088     * Get the `Deprecated` value for a given character, using compiled data
   1089     *
   1090     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1091     */
   1092    static deprecatedForChar(ch) {
   1093 
   1094        const result = wasm.icu4x_CodePointSetData_deprecated_for_char_mv1(ch);
   1095 
   1096        try {
   1097            return result;
   1098        }
   1099 
   1100        finally {
   1101        }
   1102    }
   1103 
   1104    /**
   1105     * Create a set for the `Deprecated` property, using compiled data.
   1106     *
   1107     * See the [Rust documentation for `Deprecated`](https://docs.rs/icu/latest/icu/properties/props/struct.Deprecated.html) for more information.
   1108     */
   1109    static createDeprecated() {
   1110 
   1111        const result = wasm.icu4x_CodePointSetData_create_deprecated_mv1();
   1112 
   1113        try {
   1114            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1115        }
   1116 
   1117        finally {
   1118        }
   1119    }
   1120 
   1121    /**
   1122     * Create a set for the `Deprecated` property, using a particular data source.
   1123     *
   1124     * See the [Rust documentation for `Deprecated`](https://docs.rs/icu/latest/icu/properties/props/struct.Deprecated.html) for more information.
   1125     */
   1126    static createDeprecatedWithProvider(provider) {
   1127        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1128 
   1129 
   1130        const result = wasm.icu4x_CodePointSetData_create_deprecated_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1131 
   1132        try {
   1133            if (!diplomatReceive.resultFlag) {
   1134                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1135                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1136            }
   1137            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1138        }
   1139 
   1140        finally {
   1141            diplomatReceive.free();
   1142        }
   1143    }
   1144 
   1145    /**
   1146     * Get the `Default_Ignorable_Code_Point` value for a given character, using compiled data
   1147     *
   1148     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1149     */
   1150    static defaultIgnorableCodePointForChar(ch) {
   1151 
   1152        const result = wasm.icu4x_CodePointSetData_default_ignorable_code_point_for_char_mv1(ch);
   1153 
   1154        try {
   1155            return result;
   1156        }
   1157 
   1158        finally {
   1159        }
   1160    }
   1161 
   1162    /**
   1163     * Create a set for the `Default_Ignorable_Code_Point` property, using compiled data.
   1164     *
   1165     * See the [Rust documentation for `DefaultIgnorableCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.DefaultIgnorableCodePoint.html) for more information.
   1166     */
   1167    static createDefaultIgnorableCodePoint() {
   1168 
   1169        const result = wasm.icu4x_CodePointSetData_create_default_ignorable_code_point_mv1();
   1170 
   1171        try {
   1172            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1173        }
   1174 
   1175        finally {
   1176        }
   1177    }
   1178 
   1179    /**
   1180     * Create a set for the `Default_Ignorable_Code_Point` property, using a particular data source.
   1181     *
   1182     * See the [Rust documentation for `DefaultIgnorableCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.DefaultIgnorableCodePoint.html) for more information.
   1183     */
   1184    static createDefaultIgnorableCodePointWithProvider(provider) {
   1185        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1186 
   1187 
   1188        const result = wasm.icu4x_CodePointSetData_create_default_ignorable_code_point_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1189 
   1190        try {
   1191            if (!diplomatReceive.resultFlag) {
   1192                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1193                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1194            }
   1195            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1196        }
   1197 
   1198        finally {
   1199            diplomatReceive.free();
   1200        }
   1201    }
   1202 
   1203    /**
   1204     * Get the `Diacritic` value for a given character, using compiled data
   1205     *
   1206     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1207     */
   1208    static diacriticForChar(ch) {
   1209 
   1210        const result = wasm.icu4x_CodePointSetData_diacritic_for_char_mv1(ch);
   1211 
   1212        try {
   1213            return result;
   1214        }
   1215 
   1216        finally {
   1217        }
   1218    }
   1219 
   1220    /**
   1221     * Create a set for the `Diacritic` property, using compiled data.
   1222     *
   1223     * See the [Rust documentation for `Diacritic`](https://docs.rs/icu/latest/icu/properties/props/struct.Diacritic.html) for more information.
   1224     */
   1225    static createDiacritic() {
   1226 
   1227        const result = wasm.icu4x_CodePointSetData_create_diacritic_mv1();
   1228 
   1229        try {
   1230            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1231        }
   1232 
   1233        finally {
   1234        }
   1235    }
   1236 
   1237    /**
   1238     * Create a set for the `Diacritic` property, using a particular data source.
   1239     *
   1240     * See the [Rust documentation for `Diacritic`](https://docs.rs/icu/latest/icu/properties/props/struct.Diacritic.html) for more information.
   1241     */
   1242    static createDiacriticWithProvider(provider) {
   1243        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1244 
   1245 
   1246        const result = wasm.icu4x_CodePointSetData_create_diacritic_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1247 
   1248        try {
   1249            if (!diplomatReceive.resultFlag) {
   1250                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1251                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1252            }
   1253            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1254        }
   1255 
   1256        finally {
   1257            diplomatReceive.free();
   1258        }
   1259    }
   1260 
   1261    /**
   1262     * Get the `Emoji_Modifier_Base` value for a given character, using compiled data
   1263     *
   1264     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1265     */
   1266    static emojiModifierBaseForChar(ch) {
   1267 
   1268        const result = wasm.icu4x_CodePointSetData_emoji_modifier_base_for_char_mv1(ch);
   1269 
   1270        try {
   1271            return result;
   1272        }
   1273 
   1274        finally {
   1275        }
   1276    }
   1277 
   1278    /**
   1279     * Create a set for the `Emoji_Modifier_Base` property, using compiled data.
   1280     *
   1281     * See the [Rust documentation for `EmojiModifierBase`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifierBase.html) for more information.
   1282     */
   1283    static createEmojiModifierBase() {
   1284 
   1285        const result = wasm.icu4x_CodePointSetData_create_emoji_modifier_base_mv1();
   1286 
   1287        try {
   1288            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1289        }
   1290 
   1291        finally {
   1292        }
   1293    }
   1294 
   1295    /**
   1296     * Create a set for the `Emoji_Modifier_Base` property, using a particular data source.
   1297     *
   1298     * See the [Rust documentation for `EmojiModifierBase`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifierBase.html) for more information.
   1299     */
   1300    static createEmojiModifierBaseWithProvider(provider) {
   1301        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1302 
   1303 
   1304        const result = wasm.icu4x_CodePointSetData_create_emoji_modifier_base_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1305 
   1306        try {
   1307            if (!diplomatReceive.resultFlag) {
   1308                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1309                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1310            }
   1311            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1312        }
   1313 
   1314        finally {
   1315            diplomatReceive.free();
   1316        }
   1317    }
   1318 
   1319    /**
   1320     * Get the `Emoji_Component` value for a given character, using compiled data
   1321     *
   1322     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1323     */
   1324    static emojiComponentForChar(ch) {
   1325 
   1326        const result = wasm.icu4x_CodePointSetData_emoji_component_for_char_mv1(ch);
   1327 
   1328        try {
   1329            return result;
   1330        }
   1331 
   1332        finally {
   1333        }
   1334    }
   1335 
   1336    /**
   1337     * Create a set for the `Emoji_Component` property, using compiled data.
   1338     *
   1339     * See the [Rust documentation for `EmojiComponent`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiComponent.html) for more information.
   1340     */
   1341    static createEmojiComponent() {
   1342 
   1343        const result = wasm.icu4x_CodePointSetData_create_emoji_component_mv1();
   1344 
   1345        try {
   1346            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1347        }
   1348 
   1349        finally {
   1350        }
   1351    }
   1352 
   1353    /**
   1354     * Create a set for the `Emoji_Component` property, using a particular data source.
   1355     *
   1356     * See the [Rust documentation for `EmojiComponent`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiComponent.html) for more information.
   1357     */
   1358    static createEmojiComponentWithProvider(provider) {
   1359        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1360 
   1361 
   1362        const result = wasm.icu4x_CodePointSetData_create_emoji_component_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1363 
   1364        try {
   1365            if (!diplomatReceive.resultFlag) {
   1366                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1367                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1368            }
   1369            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1370        }
   1371 
   1372        finally {
   1373            diplomatReceive.free();
   1374        }
   1375    }
   1376 
   1377    /**
   1378     * Get the `Emoji_Modifier` value for a given character, using compiled data
   1379     *
   1380     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1381     */
   1382    static emojiModifierForChar(ch) {
   1383 
   1384        const result = wasm.icu4x_CodePointSetData_emoji_modifier_for_char_mv1(ch);
   1385 
   1386        try {
   1387            return result;
   1388        }
   1389 
   1390        finally {
   1391        }
   1392    }
   1393 
   1394    /**
   1395     * Create a set for the `Emoji_Modifier` property, using compiled data.
   1396     *
   1397     * See the [Rust documentation for `EmojiModifier`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifier.html) for more information.
   1398     */
   1399    static createEmojiModifier() {
   1400 
   1401        const result = wasm.icu4x_CodePointSetData_create_emoji_modifier_mv1();
   1402 
   1403        try {
   1404            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1405        }
   1406 
   1407        finally {
   1408        }
   1409    }
   1410 
   1411    /**
   1412     * Create a set for the `Emoji_Modifier` property, using a particular data source.
   1413     *
   1414     * See the [Rust documentation for `EmojiModifier`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifier.html) for more information.
   1415     */
   1416    static createEmojiModifierWithProvider(provider) {
   1417        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1418 
   1419 
   1420        const result = wasm.icu4x_CodePointSetData_create_emoji_modifier_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1421 
   1422        try {
   1423            if (!diplomatReceive.resultFlag) {
   1424                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1425                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1426            }
   1427            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1428        }
   1429 
   1430        finally {
   1431            diplomatReceive.free();
   1432        }
   1433    }
   1434 
   1435    /**
   1436     * Get the `Emoji` value for a given character, using compiled data
   1437     *
   1438     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1439     */
   1440    static emojiForChar(ch) {
   1441 
   1442        const result = wasm.icu4x_CodePointSetData_emoji_for_char_mv1(ch);
   1443 
   1444        try {
   1445            return result;
   1446        }
   1447 
   1448        finally {
   1449        }
   1450    }
   1451 
   1452    /**
   1453     * Create a set for the `Emoji` property, using compiled data.
   1454     *
   1455     * See the [Rust documentation for `Emoji`](https://docs.rs/icu/latest/icu/properties/props/struct.Emoji.html) for more information.
   1456     */
   1457    static createEmoji() {
   1458 
   1459        const result = wasm.icu4x_CodePointSetData_create_emoji_mv1();
   1460 
   1461        try {
   1462            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1463        }
   1464 
   1465        finally {
   1466        }
   1467    }
   1468 
   1469    /**
   1470     * Create a set for the `Emoji` property, using a particular data source.
   1471     *
   1472     * See the [Rust documentation for `Emoji`](https://docs.rs/icu/latest/icu/properties/props/struct.Emoji.html) for more information.
   1473     */
   1474    static createEmojiWithProvider(provider) {
   1475        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1476 
   1477 
   1478        const result = wasm.icu4x_CodePointSetData_create_emoji_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1479 
   1480        try {
   1481            if (!diplomatReceive.resultFlag) {
   1482                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1483                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1484            }
   1485            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1486        }
   1487 
   1488        finally {
   1489            diplomatReceive.free();
   1490        }
   1491    }
   1492 
   1493    /**
   1494     * Get the `Emoji_Presentation` value for a given character, using compiled data
   1495     *
   1496     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1497     */
   1498    static emojiPresentationForChar(ch) {
   1499 
   1500        const result = wasm.icu4x_CodePointSetData_emoji_presentation_for_char_mv1(ch);
   1501 
   1502        try {
   1503            return result;
   1504        }
   1505 
   1506        finally {
   1507        }
   1508    }
   1509 
   1510    /**
   1511     * Create a set for the `Emoji_Presentation` property, using compiled data.
   1512     *
   1513     * See the [Rust documentation for `EmojiPresentation`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiPresentation.html) for more information.
   1514     */
   1515    static createEmojiPresentation() {
   1516 
   1517        const result = wasm.icu4x_CodePointSetData_create_emoji_presentation_mv1();
   1518 
   1519        try {
   1520            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1521        }
   1522 
   1523        finally {
   1524        }
   1525    }
   1526 
   1527    /**
   1528     * Create a set for the `Emoji_Presentation` property, using a particular data source.
   1529     *
   1530     * See the [Rust documentation for `EmojiPresentation`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiPresentation.html) for more information.
   1531     */
   1532    static createEmojiPresentationWithProvider(provider) {
   1533        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1534 
   1535 
   1536        const result = wasm.icu4x_CodePointSetData_create_emoji_presentation_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1537 
   1538        try {
   1539            if (!diplomatReceive.resultFlag) {
   1540                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1541                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1542            }
   1543            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1544        }
   1545 
   1546        finally {
   1547            diplomatReceive.free();
   1548        }
   1549    }
   1550 
   1551    /**
   1552     * Get the `Extender` value for a given character, using compiled data
   1553     *
   1554     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1555     */
   1556    static extenderForChar(ch) {
   1557 
   1558        const result = wasm.icu4x_CodePointSetData_extender_for_char_mv1(ch);
   1559 
   1560        try {
   1561            return result;
   1562        }
   1563 
   1564        finally {
   1565        }
   1566    }
   1567 
   1568    /**
   1569     * Create a set for the `Extender` property, using compiled data.
   1570     *
   1571     * See the [Rust documentation for `Extender`](https://docs.rs/icu/latest/icu/properties/props/struct.Extender.html) for more information.
   1572     */
   1573    static createExtender() {
   1574 
   1575        const result = wasm.icu4x_CodePointSetData_create_extender_mv1();
   1576 
   1577        try {
   1578            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1579        }
   1580 
   1581        finally {
   1582        }
   1583    }
   1584 
   1585    /**
   1586     * Create a set for the `Extender` property, using a particular data source.
   1587     *
   1588     * See the [Rust documentation for `Extender`](https://docs.rs/icu/latest/icu/properties/props/struct.Extender.html) for more information.
   1589     */
   1590    static createExtenderWithProvider(provider) {
   1591        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1592 
   1593 
   1594        const result = wasm.icu4x_CodePointSetData_create_extender_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1595 
   1596        try {
   1597            if (!diplomatReceive.resultFlag) {
   1598                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1599                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1600            }
   1601            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1602        }
   1603 
   1604        finally {
   1605            diplomatReceive.free();
   1606        }
   1607    }
   1608 
   1609    /**
   1610     * Get the `Extended_Pictographic` value for a given character, using compiled data
   1611     *
   1612     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1613     */
   1614    static extendedPictographicForChar(ch) {
   1615 
   1616        const result = wasm.icu4x_CodePointSetData_extended_pictographic_for_char_mv1(ch);
   1617 
   1618        try {
   1619            return result;
   1620        }
   1621 
   1622        finally {
   1623        }
   1624    }
   1625 
   1626    /**
   1627     * Create a set for the `Extended_Pictographic` property, using compiled data.
   1628     *
   1629     * See the [Rust documentation for `ExtendedPictographic`](https://docs.rs/icu/latest/icu/properties/props/struct.ExtendedPictographic.html) for more information.
   1630     */
   1631    static createExtendedPictographic() {
   1632 
   1633        const result = wasm.icu4x_CodePointSetData_create_extended_pictographic_mv1();
   1634 
   1635        try {
   1636            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1637        }
   1638 
   1639        finally {
   1640        }
   1641    }
   1642 
   1643    /**
   1644     * Create a set for the `Extended_Pictographic` property, using a particular data source.
   1645     *
   1646     * See the [Rust documentation for `ExtendedPictographic`](https://docs.rs/icu/latest/icu/properties/props/struct.ExtendedPictographic.html) for more information.
   1647     */
   1648    static createExtendedPictographicWithProvider(provider) {
   1649        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1650 
   1651 
   1652        const result = wasm.icu4x_CodePointSetData_create_extended_pictographic_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1653 
   1654        try {
   1655            if (!diplomatReceive.resultFlag) {
   1656                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1657                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1658            }
   1659            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1660        }
   1661 
   1662        finally {
   1663            diplomatReceive.free();
   1664        }
   1665    }
   1666 
   1667    /**
   1668     * Get the `Graph` value for a given character, using compiled data
   1669     *
   1670     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1671     */
   1672    static graphForChar(ch) {
   1673 
   1674        const result = wasm.icu4x_CodePointSetData_graph_for_char_mv1(ch);
   1675 
   1676        try {
   1677            return result;
   1678        }
   1679 
   1680        finally {
   1681        }
   1682    }
   1683 
   1684    /**
   1685     * Create a set for the `Graph` property, using compiled data.
   1686     *
   1687     * See the [Rust documentation for `Graph`](https://docs.rs/icu/latest/icu/properties/props/struct.Graph.html) for more information.
   1688     */
   1689    static createGraph() {
   1690 
   1691        const result = wasm.icu4x_CodePointSetData_create_graph_mv1();
   1692 
   1693        try {
   1694            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1695        }
   1696 
   1697        finally {
   1698        }
   1699    }
   1700 
   1701    /**
   1702     * Create a set for the `Graph` property, using a particular data source.
   1703     *
   1704     * See the [Rust documentation for `Graph`](https://docs.rs/icu/latest/icu/properties/props/struct.Graph.html) for more information.
   1705     */
   1706    static createGraphWithProvider(provider) {
   1707        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1708 
   1709 
   1710        const result = wasm.icu4x_CodePointSetData_create_graph_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1711 
   1712        try {
   1713            if (!diplomatReceive.resultFlag) {
   1714                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1715                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1716            }
   1717            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1718        }
   1719 
   1720        finally {
   1721            diplomatReceive.free();
   1722        }
   1723    }
   1724 
   1725    /**
   1726     * Get the `Grapheme_Base` value for a given character, using compiled data
   1727     *
   1728     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1729     */
   1730    static graphemeBaseForChar(ch) {
   1731 
   1732        const result = wasm.icu4x_CodePointSetData_grapheme_base_for_char_mv1(ch);
   1733 
   1734        try {
   1735            return result;
   1736        }
   1737 
   1738        finally {
   1739        }
   1740    }
   1741 
   1742    /**
   1743     * Create a set for the `Grapheme_Base` property, using compiled data.
   1744     *
   1745     * See the [Rust documentation for `GraphemeBase`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeBase.html) for more information.
   1746     */
   1747    static createGraphemeBase() {
   1748 
   1749        const result = wasm.icu4x_CodePointSetData_create_grapheme_base_mv1();
   1750 
   1751        try {
   1752            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1753        }
   1754 
   1755        finally {
   1756        }
   1757    }
   1758 
   1759    /**
   1760     * Create a set for the `Grapheme_Base` property, using a particular data source.
   1761     *
   1762     * See the [Rust documentation for `GraphemeBase`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeBase.html) for more information.
   1763     */
   1764    static createGraphemeBaseWithProvider(provider) {
   1765        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1766 
   1767 
   1768        const result = wasm.icu4x_CodePointSetData_create_grapheme_base_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1769 
   1770        try {
   1771            if (!diplomatReceive.resultFlag) {
   1772                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1773                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1774            }
   1775            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1776        }
   1777 
   1778        finally {
   1779            diplomatReceive.free();
   1780        }
   1781    }
   1782 
   1783    /**
   1784     * Get the `Grapheme_Extend` value for a given character, using compiled data
   1785     *
   1786     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1787     */
   1788    static graphemeExtendForChar(ch) {
   1789 
   1790        const result = wasm.icu4x_CodePointSetData_grapheme_extend_for_char_mv1(ch);
   1791 
   1792        try {
   1793            return result;
   1794        }
   1795 
   1796        finally {
   1797        }
   1798    }
   1799 
   1800    /**
   1801     * Create a set for the `Grapheme_Extend` property, using compiled data.
   1802     *
   1803     * See the [Rust documentation for `GraphemeExtend`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeExtend.html) for more information.
   1804     */
   1805    static createGraphemeExtend() {
   1806 
   1807        const result = wasm.icu4x_CodePointSetData_create_grapheme_extend_mv1();
   1808 
   1809        try {
   1810            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1811        }
   1812 
   1813        finally {
   1814        }
   1815    }
   1816 
   1817    /**
   1818     * Create a set for the `Grapheme_Extend` property, using a particular data source.
   1819     *
   1820     * See the [Rust documentation for `GraphemeExtend`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeExtend.html) for more information.
   1821     */
   1822    static createGraphemeExtendWithProvider(provider) {
   1823        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1824 
   1825 
   1826        const result = wasm.icu4x_CodePointSetData_create_grapheme_extend_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1827 
   1828        try {
   1829            if (!diplomatReceive.resultFlag) {
   1830                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1831                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1832            }
   1833            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1834        }
   1835 
   1836        finally {
   1837            diplomatReceive.free();
   1838        }
   1839    }
   1840 
   1841    /**
   1842     * Get the `Grapheme_Link` value for a given character, using compiled data
   1843     *
   1844     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1845     */
   1846    static graphemeLinkForChar(ch) {
   1847 
   1848        const result = wasm.icu4x_CodePointSetData_grapheme_link_for_char_mv1(ch);
   1849 
   1850        try {
   1851            return result;
   1852        }
   1853 
   1854        finally {
   1855        }
   1856    }
   1857 
   1858    /**
   1859     * Create a set for the `Grapheme_Link` property, using compiled data.
   1860     *
   1861     * See the [Rust documentation for `GraphemeLink`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeLink.html) for more information.
   1862     */
   1863    static createGraphemeLink() {
   1864 
   1865        const result = wasm.icu4x_CodePointSetData_create_grapheme_link_mv1();
   1866 
   1867        try {
   1868            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1869        }
   1870 
   1871        finally {
   1872        }
   1873    }
   1874 
   1875    /**
   1876     * Create a set for the `Grapheme_Link` property, using a particular data source.
   1877     *
   1878     * See the [Rust documentation for `GraphemeLink`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeLink.html) for more information.
   1879     */
   1880    static createGraphemeLinkWithProvider(provider) {
   1881        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1882 
   1883 
   1884        const result = wasm.icu4x_CodePointSetData_create_grapheme_link_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1885 
   1886        try {
   1887            if (!diplomatReceive.resultFlag) {
   1888                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1889                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1890            }
   1891            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1892        }
   1893 
   1894        finally {
   1895            diplomatReceive.free();
   1896        }
   1897    }
   1898 
   1899    /**
   1900     * Get the `Hex_Digit` value for a given character, using compiled data
   1901     *
   1902     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1903     */
   1904    static hexDigitForChar(ch) {
   1905 
   1906        const result = wasm.icu4x_CodePointSetData_hex_digit_for_char_mv1(ch);
   1907 
   1908        try {
   1909            return result;
   1910        }
   1911 
   1912        finally {
   1913        }
   1914    }
   1915 
   1916    /**
   1917     * Create a set for the `Hex_Digit` property, using compiled data.
   1918     *
   1919     * See the [Rust documentation for `HexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.HexDigit.html) for more information.
   1920     */
   1921    static createHexDigit() {
   1922 
   1923        const result = wasm.icu4x_CodePointSetData_create_hex_digit_mv1();
   1924 
   1925        try {
   1926            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1927        }
   1928 
   1929        finally {
   1930        }
   1931    }
   1932 
   1933    /**
   1934     * Create a set for the `Hex_Digit` property, using a particular data source.
   1935     *
   1936     * See the [Rust documentation for `HexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.HexDigit.html) for more information.
   1937     */
   1938    static createHexDigitWithProvider(provider) {
   1939        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1940 
   1941 
   1942        const result = wasm.icu4x_CodePointSetData_create_hex_digit_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   1943 
   1944        try {
   1945            if (!diplomatReceive.resultFlag) {
   1946                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   1947                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   1948            }
   1949            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   1950        }
   1951 
   1952        finally {
   1953            diplomatReceive.free();
   1954        }
   1955    }
   1956 
   1957    /**
   1958     * Get the `Hyphen` value for a given character, using compiled data
   1959     *
   1960     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   1961     */
   1962    static hyphenForChar(ch) {
   1963 
   1964        const result = wasm.icu4x_CodePointSetData_hyphen_for_char_mv1(ch);
   1965 
   1966        try {
   1967            return result;
   1968        }
   1969 
   1970        finally {
   1971        }
   1972    }
   1973 
   1974    /**
   1975     * Create a set for the `Hyphen` property, using compiled data.
   1976     *
   1977     * See the [Rust documentation for `Hyphen`](https://docs.rs/icu/latest/icu/properties/props/struct.Hyphen.html) for more information.
   1978     */
   1979    static createHyphen() {
   1980 
   1981        const result = wasm.icu4x_CodePointSetData_create_hyphen_mv1();
   1982 
   1983        try {
   1984            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   1985        }
   1986 
   1987        finally {
   1988        }
   1989    }
   1990 
   1991    /**
   1992     * Create a set for the `Hyphen` property, using a particular data source.
   1993     *
   1994     * See the [Rust documentation for `Hyphen`](https://docs.rs/icu/latest/icu/properties/props/struct.Hyphen.html) for more information.
   1995     */
   1996    static createHyphenWithProvider(provider) {
   1997        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   1998 
   1999 
   2000        const result = wasm.icu4x_CodePointSetData_create_hyphen_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2001 
   2002        try {
   2003            if (!diplomatReceive.resultFlag) {
   2004                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2005                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2006            }
   2007            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2008        }
   2009 
   2010        finally {
   2011            diplomatReceive.free();
   2012        }
   2013    }
   2014 
   2015    /**
   2016     * Get the `Id_Continue` value for a given character, using compiled data
   2017     *
   2018     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2019     */
   2020    static idContinueForChar(ch) {
   2021 
   2022        const result = wasm.icu4x_CodePointSetData_id_continue_for_char_mv1(ch);
   2023 
   2024        try {
   2025            return result;
   2026        }
   2027 
   2028        finally {
   2029        }
   2030    }
   2031 
   2032    /**
   2033     * Create a set for the `Id_Continue` property, using compiled data.
   2034     *
   2035     * See the [Rust documentation for `IdContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.IdContinue.html) for more information.
   2036     */
   2037    static createIdContinue() {
   2038 
   2039        const result = wasm.icu4x_CodePointSetData_create_id_continue_mv1();
   2040 
   2041        try {
   2042            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2043        }
   2044 
   2045        finally {
   2046        }
   2047    }
   2048 
   2049    /**
   2050     * Create a set for the `Id_Continue` property, using a particular data source.
   2051     *
   2052     * See the [Rust documentation for `IdContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.IdContinue.html) for more information.
   2053     */
   2054    static createIdContinueWithProvider(provider) {
   2055        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2056 
   2057 
   2058        const result = wasm.icu4x_CodePointSetData_create_id_continue_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2059 
   2060        try {
   2061            if (!diplomatReceive.resultFlag) {
   2062                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2063                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2064            }
   2065            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2066        }
   2067 
   2068        finally {
   2069            diplomatReceive.free();
   2070        }
   2071    }
   2072 
   2073    /**
   2074     * Get the `Ideographic` value for a given character, using compiled data
   2075     *
   2076     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2077     */
   2078    static ideographicForChar(ch) {
   2079 
   2080        const result = wasm.icu4x_CodePointSetData_ideographic_for_char_mv1(ch);
   2081 
   2082        try {
   2083            return result;
   2084        }
   2085 
   2086        finally {
   2087        }
   2088    }
   2089 
   2090    /**
   2091     * Create a set for the `Ideographic` property, using compiled data.
   2092     *
   2093     * See the [Rust documentation for `Ideographic`](https://docs.rs/icu/latest/icu/properties/props/struct.Ideographic.html) for more information.
   2094     */
   2095    static createIdeographic() {
   2096 
   2097        const result = wasm.icu4x_CodePointSetData_create_ideographic_mv1();
   2098 
   2099        try {
   2100            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2101        }
   2102 
   2103        finally {
   2104        }
   2105    }
   2106 
   2107    /**
   2108     * Create a set for the `Ideographic` property, using a particular data source.
   2109     *
   2110     * See the [Rust documentation for `Ideographic`](https://docs.rs/icu/latest/icu/properties/props/struct.Ideographic.html) for more information.
   2111     */
   2112    static createIdeographicWithProvider(provider) {
   2113        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2114 
   2115 
   2116        const result = wasm.icu4x_CodePointSetData_create_ideographic_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2117 
   2118        try {
   2119            if (!diplomatReceive.resultFlag) {
   2120                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2121                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2122            }
   2123            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2124        }
   2125 
   2126        finally {
   2127            diplomatReceive.free();
   2128        }
   2129    }
   2130 
   2131    /**
   2132     * Get the `Id_Start` value for a given character, using compiled data
   2133     *
   2134     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2135     */
   2136    static idStartForChar(ch) {
   2137 
   2138        const result = wasm.icu4x_CodePointSetData_id_start_for_char_mv1(ch);
   2139 
   2140        try {
   2141            return result;
   2142        }
   2143 
   2144        finally {
   2145        }
   2146    }
   2147 
   2148    /**
   2149     * Create a set for the `Id_Start` property, using compiled data.
   2150     *
   2151     * See the [Rust documentation for `IdStart`](https://docs.rs/icu/latest/icu/properties/props/struct.IdStart.html) for more information.
   2152     */
   2153    static createIdStart() {
   2154 
   2155        const result = wasm.icu4x_CodePointSetData_create_id_start_mv1();
   2156 
   2157        try {
   2158            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2159        }
   2160 
   2161        finally {
   2162        }
   2163    }
   2164 
   2165    /**
   2166     * Create a set for the `Id_Start` property, using a particular data source.
   2167     *
   2168     * See the [Rust documentation for `IdStart`](https://docs.rs/icu/latest/icu/properties/props/struct.IdStart.html) for more information.
   2169     */
   2170    static createIdStartWithProvider(provider) {
   2171        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2172 
   2173 
   2174        const result = wasm.icu4x_CodePointSetData_create_id_start_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2175 
   2176        try {
   2177            if (!diplomatReceive.resultFlag) {
   2178                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2179                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2180            }
   2181            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2182        }
   2183 
   2184        finally {
   2185            diplomatReceive.free();
   2186        }
   2187    }
   2188 
   2189    /**
   2190     * Get the `Ids_Binary_Operator` value for a given character, using compiled data
   2191     *
   2192     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2193     */
   2194    static idsBinaryOperatorForChar(ch) {
   2195 
   2196        const result = wasm.icu4x_CodePointSetData_ids_binary_operator_for_char_mv1(ch);
   2197 
   2198        try {
   2199            return result;
   2200        }
   2201 
   2202        finally {
   2203        }
   2204    }
   2205 
   2206    /**
   2207     * Create a set for the `Ids_Binary_Operator` property, using compiled data.
   2208     *
   2209     * See the [Rust documentation for `IdsBinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsBinaryOperator.html) for more information.
   2210     */
   2211    static createIdsBinaryOperator() {
   2212 
   2213        const result = wasm.icu4x_CodePointSetData_create_ids_binary_operator_mv1();
   2214 
   2215        try {
   2216            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2217        }
   2218 
   2219        finally {
   2220        }
   2221    }
   2222 
   2223    /**
   2224     * Create a set for the `Ids_Binary_Operator` property, using a particular data source.
   2225     *
   2226     * See the [Rust documentation for `IdsBinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsBinaryOperator.html) for more information.
   2227     */
   2228    static createIdsBinaryOperatorWithProvider(provider) {
   2229        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2230 
   2231 
   2232        const result = wasm.icu4x_CodePointSetData_create_ids_binary_operator_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2233 
   2234        try {
   2235            if (!diplomatReceive.resultFlag) {
   2236                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2237                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2238            }
   2239            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2240        }
   2241 
   2242        finally {
   2243            diplomatReceive.free();
   2244        }
   2245    }
   2246 
   2247    /**
   2248     * Get the `Ids_Trinary_Operator` value for a given character, using compiled data
   2249     *
   2250     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2251     */
   2252    static idsTrinaryOperatorForChar(ch) {
   2253 
   2254        const result = wasm.icu4x_CodePointSetData_ids_trinary_operator_for_char_mv1(ch);
   2255 
   2256        try {
   2257            return result;
   2258        }
   2259 
   2260        finally {
   2261        }
   2262    }
   2263 
   2264    /**
   2265     * Create a set for the `Ids_Trinary_Operator` property, using compiled data.
   2266     *
   2267     * See the [Rust documentation for `IdsTrinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsTrinaryOperator.html) for more information.
   2268     */
   2269    static createIdsTrinaryOperator() {
   2270 
   2271        const result = wasm.icu4x_CodePointSetData_create_ids_trinary_operator_mv1();
   2272 
   2273        try {
   2274            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2275        }
   2276 
   2277        finally {
   2278        }
   2279    }
   2280 
   2281    /**
   2282     * Create a set for the `Ids_Trinary_Operator` property, using a particular data source.
   2283     *
   2284     * See the [Rust documentation for `IdsTrinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsTrinaryOperator.html) for more information.
   2285     */
   2286    static createIdsTrinaryOperatorWithProvider(provider) {
   2287        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2288 
   2289 
   2290        const result = wasm.icu4x_CodePointSetData_create_ids_trinary_operator_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2291 
   2292        try {
   2293            if (!diplomatReceive.resultFlag) {
   2294                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2295                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2296            }
   2297            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2298        }
   2299 
   2300        finally {
   2301            diplomatReceive.free();
   2302        }
   2303    }
   2304 
   2305    /**
   2306     * Get the `Join_Control` value for a given character, using compiled data
   2307     *
   2308     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2309     */
   2310    static joinControlForChar(ch) {
   2311 
   2312        const result = wasm.icu4x_CodePointSetData_join_control_for_char_mv1(ch);
   2313 
   2314        try {
   2315            return result;
   2316        }
   2317 
   2318        finally {
   2319        }
   2320    }
   2321 
   2322    /**
   2323     * Create a set for the `Join_Control` property, using compiled data.
   2324     *
   2325     * See the [Rust documentation for `JoinControl`](https://docs.rs/icu/latest/icu/properties/props/struct.JoinControl.html) for more information.
   2326     */
   2327    static createJoinControl() {
   2328 
   2329        const result = wasm.icu4x_CodePointSetData_create_join_control_mv1();
   2330 
   2331        try {
   2332            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2333        }
   2334 
   2335        finally {
   2336        }
   2337    }
   2338 
   2339    /**
   2340     * Create a set for the `Join_Control` property, using a particular data source.
   2341     *
   2342     * See the [Rust documentation for `JoinControl`](https://docs.rs/icu/latest/icu/properties/props/struct.JoinControl.html) for more information.
   2343     */
   2344    static createJoinControlWithProvider(provider) {
   2345        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2346 
   2347 
   2348        const result = wasm.icu4x_CodePointSetData_create_join_control_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2349 
   2350        try {
   2351            if (!diplomatReceive.resultFlag) {
   2352                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2353                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2354            }
   2355            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2356        }
   2357 
   2358        finally {
   2359            diplomatReceive.free();
   2360        }
   2361    }
   2362 
   2363    /**
   2364     * Get the `Logical_Order_Exception` value for a given character, using compiled data
   2365     *
   2366     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2367     */
   2368    static logicalOrderExceptionForChar(ch) {
   2369 
   2370        const result = wasm.icu4x_CodePointSetData_logical_order_exception_for_char_mv1(ch);
   2371 
   2372        try {
   2373            return result;
   2374        }
   2375 
   2376        finally {
   2377        }
   2378    }
   2379 
   2380    /**
   2381     * Create a set for the `Logical_Order_Exception` property, using compiled data.
   2382     *
   2383     * See the [Rust documentation for `LogicalOrderException`](https://docs.rs/icu/latest/icu/properties/props/struct.LogicalOrderException.html) for more information.
   2384     */
   2385    static createLogicalOrderException() {
   2386 
   2387        const result = wasm.icu4x_CodePointSetData_create_logical_order_exception_mv1();
   2388 
   2389        try {
   2390            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2391        }
   2392 
   2393        finally {
   2394        }
   2395    }
   2396 
   2397    /**
   2398     * Create a set for the `Logical_Order_Exception` property, using a particular data source.
   2399     *
   2400     * See the [Rust documentation for `LogicalOrderException`](https://docs.rs/icu/latest/icu/properties/props/struct.LogicalOrderException.html) for more information.
   2401     */
   2402    static createLogicalOrderExceptionWithProvider(provider) {
   2403        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2404 
   2405 
   2406        const result = wasm.icu4x_CodePointSetData_create_logical_order_exception_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2407 
   2408        try {
   2409            if (!diplomatReceive.resultFlag) {
   2410                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2411                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2412            }
   2413            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2414        }
   2415 
   2416        finally {
   2417            diplomatReceive.free();
   2418        }
   2419    }
   2420 
   2421    /**
   2422     * Get the `Lowercase` value for a given character, using compiled data
   2423     *
   2424     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2425     */
   2426    static lowercaseForChar(ch) {
   2427 
   2428        const result = wasm.icu4x_CodePointSetData_lowercase_for_char_mv1(ch);
   2429 
   2430        try {
   2431            return result;
   2432        }
   2433 
   2434        finally {
   2435        }
   2436    }
   2437 
   2438    /**
   2439     * Create a set for the `Lowercase` property, using compiled data.
   2440     *
   2441     * See the [Rust documentation for `Lowercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Lowercase.html) for more information.
   2442     */
   2443    static createLowercase() {
   2444 
   2445        const result = wasm.icu4x_CodePointSetData_create_lowercase_mv1();
   2446 
   2447        try {
   2448            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2449        }
   2450 
   2451        finally {
   2452        }
   2453    }
   2454 
   2455    /**
   2456     * Create a set for the `Lowercase` property, using a particular data source.
   2457     *
   2458     * See the [Rust documentation for `Lowercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Lowercase.html) for more information.
   2459     */
   2460    static createLowercaseWithProvider(provider) {
   2461        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2462 
   2463 
   2464        const result = wasm.icu4x_CodePointSetData_create_lowercase_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2465 
   2466        try {
   2467            if (!diplomatReceive.resultFlag) {
   2468                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2469                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2470            }
   2471            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2472        }
   2473 
   2474        finally {
   2475            diplomatReceive.free();
   2476        }
   2477    }
   2478 
   2479    /**
   2480     * Get the `Math` value for a given character, using compiled data
   2481     *
   2482     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2483     */
   2484    static mathForChar(ch) {
   2485 
   2486        const result = wasm.icu4x_CodePointSetData_math_for_char_mv1(ch);
   2487 
   2488        try {
   2489            return result;
   2490        }
   2491 
   2492        finally {
   2493        }
   2494    }
   2495 
   2496    /**
   2497     * Create a set for the `Math` property, using compiled data.
   2498     *
   2499     * See the [Rust documentation for `Math`](https://docs.rs/icu/latest/icu/properties/props/struct.Math.html) for more information.
   2500     */
   2501    static createMath() {
   2502 
   2503        const result = wasm.icu4x_CodePointSetData_create_math_mv1();
   2504 
   2505        try {
   2506            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2507        }
   2508 
   2509        finally {
   2510        }
   2511    }
   2512 
   2513    /**
   2514     * Create a set for the `Math` property, using a particular data source.
   2515     *
   2516     * See the [Rust documentation for `Math`](https://docs.rs/icu/latest/icu/properties/props/struct.Math.html) for more information.
   2517     */
   2518    static createMathWithProvider(provider) {
   2519        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2520 
   2521 
   2522        const result = wasm.icu4x_CodePointSetData_create_math_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2523 
   2524        try {
   2525            if (!diplomatReceive.resultFlag) {
   2526                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2527                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2528            }
   2529            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2530        }
   2531 
   2532        finally {
   2533            diplomatReceive.free();
   2534        }
   2535    }
   2536 
   2537    /**
   2538     * Get the `Noncharacter_Code_Point` value for a given character, using compiled data
   2539     *
   2540     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2541     */
   2542    static noncharacterCodePointForChar(ch) {
   2543 
   2544        const result = wasm.icu4x_CodePointSetData_noncharacter_code_point_for_char_mv1(ch);
   2545 
   2546        try {
   2547            return result;
   2548        }
   2549 
   2550        finally {
   2551        }
   2552    }
   2553 
   2554    /**
   2555     * Create a set for the `Noncharacter_Code_Point` property, using compiled data.
   2556     *
   2557     * See the [Rust documentation for `NoncharacterCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.NoncharacterCodePoint.html) for more information.
   2558     */
   2559    static createNoncharacterCodePoint() {
   2560 
   2561        const result = wasm.icu4x_CodePointSetData_create_noncharacter_code_point_mv1();
   2562 
   2563        try {
   2564            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2565        }
   2566 
   2567        finally {
   2568        }
   2569    }
   2570 
   2571    /**
   2572     * Create a set for the `Noncharacter_Code_Point` property, using a particular data source.
   2573     *
   2574     * See the [Rust documentation for `NoncharacterCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.NoncharacterCodePoint.html) for more information.
   2575     */
   2576    static createNoncharacterCodePointWithProvider(provider) {
   2577        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2578 
   2579 
   2580        const result = wasm.icu4x_CodePointSetData_create_noncharacter_code_point_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2581 
   2582        try {
   2583            if (!diplomatReceive.resultFlag) {
   2584                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2585                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2586            }
   2587            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2588        }
   2589 
   2590        finally {
   2591            diplomatReceive.free();
   2592        }
   2593    }
   2594 
   2595    /**
   2596     * Get the `Nfc_Inert` value for a given character, using compiled data
   2597     *
   2598     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2599     */
   2600    static nfcInertForChar(ch) {
   2601 
   2602        const result = wasm.icu4x_CodePointSetData_nfc_inert_for_char_mv1(ch);
   2603 
   2604        try {
   2605            return result;
   2606        }
   2607 
   2608        finally {
   2609        }
   2610    }
   2611 
   2612    /**
   2613     * Create a set for the `Nfc_Inert` property, using compiled data.
   2614     *
   2615     * See the [Rust documentation for `NfcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfcInert.html) for more information.
   2616     */
   2617    static createNfcInert() {
   2618 
   2619        const result = wasm.icu4x_CodePointSetData_create_nfc_inert_mv1();
   2620 
   2621        try {
   2622            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2623        }
   2624 
   2625        finally {
   2626        }
   2627    }
   2628 
   2629    /**
   2630     * Create a set for the `Nfc_Inert` property, using a particular data source.
   2631     *
   2632     * See the [Rust documentation for `NfcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfcInert.html) for more information.
   2633     */
   2634    static createNfcInertWithProvider(provider) {
   2635        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2636 
   2637 
   2638        const result = wasm.icu4x_CodePointSetData_create_nfc_inert_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2639 
   2640        try {
   2641            if (!diplomatReceive.resultFlag) {
   2642                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2643                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2644            }
   2645            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2646        }
   2647 
   2648        finally {
   2649            diplomatReceive.free();
   2650        }
   2651    }
   2652 
   2653    /**
   2654     * Get the `Nfd_Inert` value for a given character, using compiled data
   2655     *
   2656     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2657     */
   2658    static nfdInertForChar(ch) {
   2659 
   2660        const result = wasm.icu4x_CodePointSetData_nfd_inert_for_char_mv1(ch);
   2661 
   2662        try {
   2663            return result;
   2664        }
   2665 
   2666        finally {
   2667        }
   2668    }
   2669 
   2670    /**
   2671     * Create a set for the `Nfd_Inert` property, using compiled data.
   2672     *
   2673     * See the [Rust documentation for `NfdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfdInert.html) for more information.
   2674     */
   2675    static createNfdInert() {
   2676 
   2677        const result = wasm.icu4x_CodePointSetData_create_nfd_inert_mv1();
   2678 
   2679        try {
   2680            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2681        }
   2682 
   2683        finally {
   2684        }
   2685    }
   2686 
   2687    /**
   2688     * Create a set for the `Nfd_Inert` property, using a particular data source.
   2689     *
   2690     * See the [Rust documentation for `NfdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfdInert.html) for more information.
   2691     */
   2692    static createNfdInertWithProvider(provider) {
   2693        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2694 
   2695 
   2696        const result = wasm.icu4x_CodePointSetData_create_nfd_inert_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2697 
   2698        try {
   2699            if (!diplomatReceive.resultFlag) {
   2700                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2701                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2702            }
   2703            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2704        }
   2705 
   2706        finally {
   2707            diplomatReceive.free();
   2708        }
   2709    }
   2710 
   2711    /**
   2712     * Get the `Nfkc_Inert` value for a given character, using compiled data
   2713     *
   2714     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2715     */
   2716    static nfkcInertForChar(ch) {
   2717 
   2718        const result = wasm.icu4x_CodePointSetData_nfkc_inert_for_char_mv1(ch);
   2719 
   2720        try {
   2721            return result;
   2722        }
   2723 
   2724        finally {
   2725        }
   2726    }
   2727 
   2728    /**
   2729     * Create a set for the `Nfkc_Inert` property, using compiled data.
   2730     *
   2731     * See the [Rust documentation for `NfkcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkcInert.html) for more information.
   2732     */
   2733    static createNfkcInert() {
   2734 
   2735        const result = wasm.icu4x_CodePointSetData_create_nfkc_inert_mv1();
   2736 
   2737        try {
   2738            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2739        }
   2740 
   2741        finally {
   2742        }
   2743    }
   2744 
   2745    /**
   2746     * Create a set for the `Nfkc_Inert` property, using a particular data source.
   2747     *
   2748     * See the [Rust documentation for `NfkcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkcInert.html) for more information.
   2749     */
   2750    static createNfkcInertWithProvider(provider) {
   2751        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2752 
   2753 
   2754        const result = wasm.icu4x_CodePointSetData_create_nfkc_inert_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2755 
   2756        try {
   2757            if (!diplomatReceive.resultFlag) {
   2758                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2759                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2760            }
   2761            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2762        }
   2763 
   2764        finally {
   2765            diplomatReceive.free();
   2766        }
   2767    }
   2768 
   2769    /**
   2770     * Get the `Nfkd_Inert` value for a given character, using compiled data
   2771     *
   2772     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2773     */
   2774    static nfkdInertForChar(ch) {
   2775 
   2776        const result = wasm.icu4x_CodePointSetData_nfkd_inert_for_char_mv1(ch);
   2777 
   2778        try {
   2779            return result;
   2780        }
   2781 
   2782        finally {
   2783        }
   2784    }
   2785 
   2786    /**
   2787     * Create a set for the `Nfkd_Inert` property, using compiled data.
   2788     *
   2789     * See the [Rust documentation for `NfkdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkdInert.html) for more information.
   2790     */
   2791    static createNfkdInert() {
   2792 
   2793        const result = wasm.icu4x_CodePointSetData_create_nfkd_inert_mv1();
   2794 
   2795        try {
   2796            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2797        }
   2798 
   2799        finally {
   2800        }
   2801    }
   2802 
   2803    /**
   2804     * Create a set for the `Nfkd_Inert` property, using a particular data source.
   2805     *
   2806     * See the [Rust documentation for `NfkdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkdInert.html) for more information.
   2807     */
   2808    static createNfkdInertWithProvider(provider) {
   2809        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2810 
   2811 
   2812        const result = wasm.icu4x_CodePointSetData_create_nfkd_inert_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2813 
   2814        try {
   2815            if (!diplomatReceive.resultFlag) {
   2816                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2817                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2818            }
   2819            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2820        }
   2821 
   2822        finally {
   2823            diplomatReceive.free();
   2824        }
   2825    }
   2826 
   2827    /**
   2828     * Get the `Pattern_Syntax` value for a given character, using compiled data
   2829     *
   2830     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2831     */
   2832    static patternSyntaxForChar(ch) {
   2833 
   2834        const result = wasm.icu4x_CodePointSetData_pattern_syntax_for_char_mv1(ch);
   2835 
   2836        try {
   2837            return result;
   2838        }
   2839 
   2840        finally {
   2841        }
   2842    }
   2843 
   2844    /**
   2845     * Create a set for the `Pattern_Syntax` property, using compiled data.
   2846     *
   2847     * See the [Rust documentation for `PatternSyntax`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternSyntax.html) for more information.
   2848     */
   2849    static createPatternSyntax() {
   2850 
   2851        const result = wasm.icu4x_CodePointSetData_create_pattern_syntax_mv1();
   2852 
   2853        try {
   2854            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2855        }
   2856 
   2857        finally {
   2858        }
   2859    }
   2860 
   2861    /**
   2862     * Create a set for the `Pattern_Syntax` property, using a particular data source.
   2863     *
   2864     * See the [Rust documentation for `PatternSyntax`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternSyntax.html) for more information.
   2865     */
   2866    static createPatternSyntaxWithProvider(provider) {
   2867        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2868 
   2869 
   2870        const result = wasm.icu4x_CodePointSetData_create_pattern_syntax_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2871 
   2872        try {
   2873            if (!diplomatReceive.resultFlag) {
   2874                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2875                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2876            }
   2877            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2878        }
   2879 
   2880        finally {
   2881            diplomatReceive.free();
   2882        }
   2883    }
   2884 
   2885    /**
   2886     * Get the `Pattern_White_Space` value for a given character, using compiled data
   2887     *
   2888     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2889     */
   2890    static patternWhiteSpaceForChar(ch) {
   2891 
   2892        const result = wasm.icu4x_CodePointSetData_pattern_white_space_for_char_mv1(ch);
   2893 
   2894        try {
   2895            return result;
   2896        }
   2897 
   2898        finally {
   2899        }
   2900    }
   2901 
   2902    /**
   2903     * Create a set for the `Pattern_White_Space` property, using compiled data.
   2904     *
   2905     * See the [Rust documentation for `PatternWhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternWhiteSpace.html) for more information.
   2906     */
   2907    static createPatternWhiteSpace() {
   2908 
   2909        const result = wasm.icu4x_CodePointSetData_create_pattern_white_space_mv1();
   2910 
   2911        try {
   2912            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2913        }
   2914 
   2915        finally {
   2916        }
   2917    }
   2918 
   2919    /**
   2920     * Create a set for the `Pattern_White_Space` property, using a particular data source.
   2921     *
   2922     * See the [Rust documentation for `PatternWhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternWhiteSpace.html) for more information.
   2923     */
   2924    static createPatternWhiteSpaceWithProvider(provider) {
   2925        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2926 
   2927 
   2928        const result = wasm.icu4x_CodePointSetData_create_pattern_white_space_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2929 
   2930        try {
   2931            if (!diplomatReceive.resultFlag) {
   2932                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2933                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2934            }
   2935            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2936        }
   2937 
   2938        finally {
   2939            diplomatReceive.free();
   2940        }
   2941    }
   2942 
   2943    /**
   2944     * Get the `Prepended_Concatenation_Mark` value for a given character, using compiled data
   2945     *
   2946     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   2947     */
   2948    static prependedConcatenationMarkForChar(ch) {
   2949 
   2950        const result = wasm.icu4x_CodePointSetData_prepended_concatenation_mark_for_char_mv1(ch);
   2951 
   2952        try {
   2953            return result;
   2954        }
   2955 
   2956        finally {
   2957        }
   2958    }
   2959 
   2960    /**
   2961     * Create a set for the `Prepended_Concatenation_Mark` property, using compiled data.
   2962     *
   2963     * See the [Rust documentation for `PrependedConcatenationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.PrependedConcatenationMark.html) for more information.
   2964     */
   2965    static createPrependedConcatenationMark() {
   2966 
   2967        const result = wasm.icu4x_CodePointSetData_create_prepended_concatenation_mark_mv1();
   2968 
   2969        try {
   2970            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   2971        }
   2972 
   2973        finally {
   2974        }
   2975    }
   2976 
   2977    /**
   2978     * Create a set for the `Prepended_Concatenation_Mark` property, using a particular data source.
   2979     *
   2980     * See the [Rust documentation for `PrependedConcatenationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.PrependedConcatenationMark.html) for more information.
   2981     */
   2982    static createPrependedConcatenationMarkWithProvider(provider) {
   2983        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   2984 
   2985 
   2986        const result = wasm.icu4x_CodePointSetData_create_prepended_concatenation_mark_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   2987 
   2988        try {
   2989            if (!diplomatReceive.resultFlag) {
   2990                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   2991                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   2992            }
   2993            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   2994        }
   2995 
   2996        finally {
   2997            diplomatReceive.free();
   2998        }
   2999    }
   3000 
   3001    /**
   3002     * Get the `Print` value for a given character, using compiled data
   3003     *
   3004     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3005     */
   3006    static printForChar(ch) {
   3007 
   3008        const result = wasm.icu4x_CodePointSetData_print_for_char_mv1(ch);
   3009 
   3010        try {
   3011            return result;
   3012        }
   3013 
   3014        finally {
   3015        }
   3016    }
   3017 
   3018    /**
   3019     * Create a set for the `Print` property, using compiled data.
   3020     *
   3021     * See the [Rust documentation for `Print`](https://docs.rs/icu/latest/icu/properties/props/struct.Print.html) for more information.
   3022     */
   3023    static createPrint() {
   3024 
   3025        const result = wasm.icu4x_CodePointSetData_create_print_mv1();
   3026 
   3027        try {
   3028            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3029        }
   3030 
   3031        finally {
   3032        }
   3033    }
   3034 
   3035    /**
   3036     * Create a set for the `Print` property, using a particular data source.
   3037     *
   3038     * See the [Rust documentation for `Print`](https://docs.rs/icu/latest/icu/properties/props/struct.Print.html) for more information.
   3039     */
   3040    static createPrintWithProvider(provider) {
   3041        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3042 
   3043 
   3044        const result = wasm.icu4x_CodePointSetData_create_print_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3045 
   3046        try {
   3047            if (!diplomatReceive.resultFlag) {
   3048                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3049                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3050            }
   3051            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3052        }
   3053 
   3054        finally {
   3055            diplomatReceive.free();
   3056        }
   3057    }
   3058 
   3059    /**
   3060     * Get the `Quotation_Mark` value for a given character, using compiled data
   3061     *
   3062     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3063     */
   3064    static quotationMarkForChar(ch) {
   3065 
   3066        const result = wasm.icu4x_CodePointSetData_quotation_mark_for_char_mv1(ch);
   3067 
   3068        try {
   3069            return result;
   3070        }
   3071 
   3072        finally {
   3073        }
   3074    }
   3075 
   3076    /**
   3077     * Create a set for the `Quotation_Mark` property, using compiled data.
   3078     *
   3079     * See the [Rust documentation for `QuotationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.QuotationMark.html) for more information.
   3080     */
   3081    static createQuotationMark() {
   3082 
   3083        const result = wasm.icu4x_CodePointSetData_create_quotation_mark_mv1();
   3084 
   3085        try {
   3086            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3087        }
   3088 
   3089        finally {
   3090        }
   3091    }
   3092 
   3093    /**
   3094     * Create a set for the `Quotation_Mark` property, using a particular data source.
   3095     *
   3096     * See the [Rust documentation for `QuotationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.QuotationMark.html) for more information.
   3097     */
   3098    static createQuotationMarkWithProvider(provider) {
   3099        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3100 
   3101 
   3102        const result = wasm.icu4x_CodePointSetData_create_quotation_mark_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3103 
   3104        try {
   3105            if (!diplomatReceive.resultFlag) {
   3106                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3107                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3108            }
   3109            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3110        }
   3111 
   3112        finally {
   3113            diplomatReceive.free();
   3114        }
   3115    }
   3116 
   3117    /**
   3118     * Get the `Radical` value for a given character, using compiled data
   3119     *
   3120     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3121     */
   3122    static radicalForChar(ch) {
   3123 
   3124        const result = wasm.icu4x_CodePointSetData_radical_for_char_mv1(ch);
   3125 
   3126        try {
   3127            return result;
   3128        }
   3129 
   3130        finally {
   3131        }
   3132    }
   3133 
   3134    /**
   3135     * Create a set for the `Radical` property, using compiled data.
   3136     *
   3137     * See the [Rust documentation for `Radical`](https://docs.rs/icu/latest/icu/properties/props/struct.Radical.html) for more information.
   3138     */
   3139    static createRadical() {
   3140 
   3141        const result = wasm.icu4x_CodePointSetData_create_radical_mv1();
   3142 
   3143        try {
   3144            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3145        }
   3146 
   3147        finally {
   3148        }
   3149    }
   3150 
   3151    /**
   3152     * Create a set for the `Radical` property, using a particular data source.
   3153     *
   3154     * See the [Rust documentation for `Radical`](https://docs.rs/icu/latest/icu/properties/props/struct.Radical.html) for more information.
   3155     */
   3156    static createRadicalWithProvider(provider) {
   3157        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3158 
   3159 
   3160        const result = wasm.icu4x_CodePointSetData_create_radical_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3161 
   3162        try {
   3163            if (!diplomatReceive.resultFlag) {
   3164                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3165                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3166            }
   3167            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3168        }
   3169 
   3170        finally {
   3171            diplomatReceive.free();
   3172        }
   3173    }
   3174 
   3175    /**
   3176     * Get the `Regional_Indicator` value for a given character, using compiled data
   3177     *
   3178     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3179     */
   3180    static regionalIndicatorForChar(ch) {
   3181 
   3182        const result = wasm.icu4x_CodePointSetData_regional_indicator_for_char_mv1(ch);
   3183 
   3184        try {
   3185            return result;
   3186        }
   3187 
   3188        finally {
   3189        }
   3190    }
   3191 
   3192    /**
   3193     * Create a set for the `Regional_Indicator` property, using compiled data.
   3194     *
   3195     * See the [Rust documentation for `RegionalIndicator`](https://docs.rs/icu/latest/icu/properties/props/struct.RegionalIndicator.html) for more information.
   3196     */
   3197    static createRegionalIndicator() {
   3198 
   3199        const result = wasm.icu4x_CodePointSetData_create_regional_indicator_mv1();
   3200 
   3201        try {
   3202            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3203        }
   3204 
   3205        finally {
   3206        }
   3207    }
   3208 
   3209    /**
   3210     * Create a set for the `Regional_Indicator` property, using a particular data source.
   3211     *
   3212     * See the [Rust documentation for `RegionalIndicator`](https://docs.rs/icu/latest/icu/properties/props/struct.RegionalIndicator.html) for more information.
   3213     */
   3214    static createRegionalIndicatorWithProvider(provider) {
   3215        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3216 
   3217 
   3218        const result = wasm.icu4x_CodePointSetData_create_regional_indicator_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3219 
   3220        try {
   3221            if (!diplomatReceive.resultFlag) {
   3222                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3223                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3224            }
   3225            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3226        }
   3227 
   3228        finally {
   3229            diplomatReceive.free();
   3230        }
   3231    }
   3232 
   3233    /**
   3234     * Get the `Soft_Dotted` value for a given character, using compiled data
   3235     *
   3236     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3237     */
   3238    static softDottedForChar(ch) {
   3239 
   3240        const result = wasm.icu4x_CodePointSetData_soft_dotted_for_char_mv1(ch);
   3241 
   3242        try {
   3243            return result;
   3244        }
   3245 
   3246        finally {
   3247        }
   3248    }
   3249 
   3250    /**
   3251     * Create a set for the `Soft_Dotted` property, using compiled data.
   3252     *
   3253     * See the [Rust documentation for `SoftDotted`](https://docs.rs/icu/latest/icu/properties/props/struct.SoftDotted.html) for more information.
   3254     */
   3255    static createSoftDotted() {
   3256 
   3257        const result = wasm.icu4x_CodePointSetData_create_soft_dotted_mv1();
   3258 
   3259        try {
   3260            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3261        }
   3262 
   3263        finally {
   3264        }
   3265    }
   3266 
   3267    /**
   3268     * Create a set for the `Soft_Dotted` property, using a particular data source.
   3269     *
   3270     * See the [Rust documentation for `SoftDotted`](https://docs.rs/icu/latest/icu/properties/props/struct.SoftDotted.html) for more information.
   3271     */
   3272    static createSoftDottedWithProvider(provider) {
   3273        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3274 
   3275 
   3276        const result = wasm.icu4x_CodePointSetData_create_soft_dotted_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3277 
   3278        try {
   3279            if (!diplomatReceive.resultFlag) {
   3280                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3281                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3282            }
   3283            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3284        }
   3285 
   3286        finally {
   3287            diplomatReceive.free();
   3288        }
   3289    }
   3290 
   3291    /**
   3292     * Get the `Segment_Starter` value for a given character, using compiled data
   3293     *
   3294     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3295     */
   3296    static segmentStarterForChar(ch) {
   3297 
   3298        const result = wasm.icu4x_CodePointSetData_segment_starter_for_char_mv1(ch);
   3299 
   3300        try {
   3301            return result;
   3302        }
   3303 
   3304        finally {
   3305        }
   3306    }
   3307 
   3308    /**
   3309     * Create a set for the `Segment_Starter` property, using compiled data.
   3310     *
   3311     * See the [Rust documentation for `SegmentStarter`](https://docs.rs/icu/latest/icu/properties/props/struct.SegmentStarter.html) for more information.
   3312     */
   3313    static createSegmentStarter() {
   3314 
   3315        const result = wasm.icu4x_CodePointSetData_create_segment_starter_mv1();
   3316 
   3317        try {
   3318            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3319        }
   3320 
   3321        finally {
   3322        }
   3323    }
   3324 
   3325    /**
   3326     * Create a set for the `Segment_Starter` property, using a particular data source.
   3327     *
   3328     * See the [Rust documentation for `SegmentStarter`](https://docs.rs/icu/latest/icu/properties/props/struct.SegmentStarter.html) for more information.
   3329     */
   3330    static createSegmentStarterWithProvider(provider) {
   3331        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3332 
   3333 
   3334        const result = wasm.icu4x_CodePointSetData_create_segment_starter_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3335 
   3336        try {
   3337            if (!diplomatReceive.resultFlag) {
   3338                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3339                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3340            }
   3341            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3342        }
   3343 
   3344        finally {
   3345            diplomatReceive.free();
   3346        }
   3347    }
   3348 
   3349    /**
   3350     * Get the `Case_Sensitive` value for a given character, using compiled data
   3351     *
   3352     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3353     */
   3354    static caseSensitiveForChar(ch) {
   3355 
   3356        const result = wasm.icu4x_CodePointSetData_case_sensitive_for_char_mv1(ch);
   3357 
   3358        try {
   3359            return result;
   3360        }
   3361 
   3362        finally {
   3363        }
   3364    }
   3365 
   3366    /**
   3367     * Create a set for the `Case_Sensitive` property, using compiled data.
   3368     *
   3369     * See the [Rust documentation for `CaseSensitive`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseSensitive.html) for more information.
   3370     */
   3371    static createCaseSensitive() {
   3372 
   3373        const result = wasm.icu4x_CodePointSetData_create_case_sensitive_mv1();
   3374 
   3375        try {
   3376            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3377        }
   3378 
   3379        finally {
   3380        }
   3381    }
   3382 
   3383    /**
   3384     * Create a set for the `Case_Sensitive` property, using a particular data source.
   3385     *
   3386     * See the [Rust documentation for `CaseSensitive`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseSensitive.html) for more information.
   3387     */
   3388    static createCaseSensitiveWithProvider(provider) {
   3389        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3390 
   3391 
   3392        const result = wasm.icu4x_CodePointSetData_create_case_sensitive_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3393 
   3394        try {
   3395            if (!diplomatReceive.resultFlag) {
   3396                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3397                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3398            }
   3399            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3400        }
   3401 
   3402        finally {
   3403            diplomatReceive.free();
   3404        }
   3405    }
   3406 
   3407    /**
   3408     * Get the `Sentence_Terminal` value for a given character, using compiled data
   3409     *
   3410     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3411     */
   3412    static sentenceTerminalForChar(ch) {
   3413 
   3414        const result = wasm.icu4x_CodePointSetData_sentence_terminal_for_char_mv1(ch);
   3415 
   3416        try {
   3417            return result;
   3418        }
   3419 
   3420        finally {
   3421        }
   3422    }
   3423 
   3424    /**
   3425     * Create a set for the `Sentence_Terminal` property, using compiled data.
   3426     *
   3427     * See the [Rust documentation for `SentenceTerminal`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceTerminal.html) for more information.
   3428     */
   3429    static createSentenceTerminal() {
   3430 
   3431        const result = wasm.icu4x_CodePointSetData_create_sentence_terminal_mv1();
   3432 
   3433        try {
   3434            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3435        }
   3436 
   3437        finally {
   3438        }
   3439    }
   3440 
   3441    /**
   3442     * Create a set for the `Sentence_Terminal` property, using a particular data source.
   3443     *
   3444     * See the [Rust documentation for `SentenceTerminal`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceTerminal.html) for more information.
   3445     */
   3446    static createSentenceTerminalWithProvider(provider) {
   3447        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3448 
   3449 
   3450        const result = wasm.icu4x_CodePointSetData_create_sentence_terminal_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3451 
   3452        try {
   3453            if (!diplomatReceive.resultFlag) {
   3454                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3455                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3456            }
   3457            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3458        }
   3459 
   3460        finally {
   3461            diplomatReceive.free();
   3462        }
   3463    }
   3464 
   3465    /**
   3466     * Get the `Terminal_Punctuation` value for a given character, using compiled data
   3467     *
   3468     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3469     */
   3470    static terminalPunctuationForChar(ch) {
   3471 
   3472        const result = wasm.icu4x_CodePointSetData_terminal_punctuation_for_char_mv1(ch);
   3473 
   3474        try {
   3475            return result;
   3476        }
   3477 
   3478        finally {
   3479        }
   3480    }
   3481 
   3482    /**
   3483     * Create a set for the `Terminal_Punctuation` property, using compiled data.
   3484     *
   3485     * See the [Rust documentation for `TerminalPunctuation`](https://docs.rs/icu/latest/icu/properties/props/struct.TerminalPunctuation.html) for more information.
   3486     */
   3487    static createTerminalPunctuation() {
   3488 
   3489        const result = wasm.icu4x_CodePointSetData_create_terminal_punctuation_mv1();
   3490 
   3491        try {
   3492            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3493        }
   3494 
   3495        finally {
   3496        }
   3497    }
   3498 
   3499    /**
   3500     * Create a set for the `Terminal_Punctuation` property, using a particular data source.
   3501     *
   3502     * See the [Rust documentation for `TerminalPunctuation`](https://docs.rs/icu/latest/icu/properties/props/struct.TerminalPunctuation.html) for more information.
   3503     */
   3504    static createTerminalPunctuationWithProvider(provider) {
   3505        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3506 
   3507 
   3508        const result = wasm.icu4x_CodePointSetData_create_terminal_punctuation_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3509 
   3510        try {
   3511            if (!diplomatReceive.resultFlag) {
   3512                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3513                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3514            }
   3515            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3516        }
   3517 
   3518        finally {
   3519            diplomatReceive.free();
   3520        }
   3521    }
   3522 
   3523    /**
   3524     * Get the `Unified_Ideograph` value for a given character, using compiled data
   3525     *
   3526     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3527     */
   3528    static unifiedIdeographForChar(ch) {
   3529 
   3530        const result = wasm.icu4x_CodePointSetData_unified_ideograph_for_char_mv1(ch);
   3531 
   3532        try {
   3533            return result;
   3534        }
   3535 
   3536        finally {
   3537        }
   3538    }
   3539 
   3540    /**
   3541     * Create a set for the `Unified_Ideograph` property, using compiled data.
   3542     *
   3543     * See the [Rust documentation for `UnifiedIdeograph`](https://docs.rs/icu/latest/icu/properties/props/struct.UnifiedIdeograph.html) for more information.
   3544     */
   3545    static createUnifiedIdeograph() {
   3546 
   3547        const result = wasm.icu4x_CodePointSetData_create_unified_ideograph_mv1();
   3548 
   3549        try {
   3550            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3551        }
   3552 
   3553        finally {
   3554        }
   3555    }
   3556 
   3557    /**
   3558     * Create a set for the `Unified_Ideograph` property, using a particular data source.
   3559     *
   3560     * See the [Rust documentation for `UnifiedIdeograph`](https://docs.rs/icu/latest/icu/properties/props/struct.UnifiedIdeograph.html) for more information.
   3561     */
   3562    static createUnifiedIdeographWithProvider(provider) {
   3563        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3564 
   3565 
   3566        const result = wasm.icu4x_CodePointSetData_create_unified_ideograph_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3567 
   3568        try {
   3569            if (!diplomatReceive.resultFlag) {
   3570                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3571                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3572            }
   3573            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3574        }
   3575 
   3576        finally {
   3577            diplomatReceive.free();
   3578        }
   3579    }
   3580 
   3581    /**
   3582     * Get the `Uppercase` value for a given character, using compiled data
   3583     *
   3584     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3585     */
   3586    static uppercaseForChar(ch) {
   3587 
   3588        const result = wasm.icu4x_CodePointSetData_uppercase_for_char_mv1(ch);
   3589 
   3590        try {
   3591            return result;
   3592        }
   3593 
   3594        finally {
   3595        }
   3596    }
   3597 
   3598    /**
   3599     * Create a set for the `Uppercase` property, using compiled data.
   3600     *
   3601     * See the [Rust documentation for `Uppercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Uppercase.html) for more information.
   3602     */
   3603    static createUppercase() {
   3604 
   3605        const result = wasm.icu4x_CodePointSetData_create_uppercase_mv1();
   3606 
   3607        try {
   3608            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3609        }
   3610 
   3611        finally {
   3612        }
   3613    }
   3614 
   3615    /**
   3616     * Create a set for the `Uppercase` property, using a particular data source.
   3617     *
   3618     * See the [Rust documentation for `Uppercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Uppercase.html) for more information.
   3619     */
   3620    static createUppercaseWithProvider(provider) {
   3621        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3622 
   3623 
   3624        const result = wasm.icu4x_CodePointSetData_create_uppercase_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3625 
   3626        try {
   3627            if (!diplomatReceive.resultFlag) {
   3628                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3629                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3630            }
   3631            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3632        }
   3633 
   3634        finally {
   3635            diplomatReceive.free();
   3636        }
   3637    }
   3638 
   3639    /**
   3640     * Get the `Variation_Selector` value for a given character, using compiled data
   3641     *
   3642     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3643     */
   3644    static variationSelectorForChar(ch) {
   3645 
   3646        const result = wasm.icu4x_CodePointSetData_variation_selector_for_char_mv1(ch);
   3647 
   3648        try {
   3649            return result;
   3650        }
   3651 
   3652        finally {
   3653        }
   3654    }
   3655 
   3656    /**
   3657     * Create a set for the `Variation_Selector` property, using compiled data.
   3658     *
   3659     * See the [Rust documentation for `VariationSelector`](https://docs.rs/icu/latest/icu/properties/props/struct.VariationSelector.html) for more information.
   3660     */
   3661    static createVariationSelector() {
   3662 
   3663        const result = wasm.icu4x_CodePointSetData_create_variation_selector_mv1();
   3664 
   3665        try {
   3666            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3667        }
   3668 
   3669        finally {
   3670        }
   3671    }
   3672 
   3673    /**
   3674     * Create a set for the `Variation_Selector` property, using a particular data source.
   3675     *
   3676     * See the [Rust documentation for `VariationSelector`](https://docs.rs/icu/latest/icu/properties/props/struct.VariationSelector.html) for more information.
   3677     */
   3678    static createVariationSelectorWithProvider(provider) {
   3679        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3680 
   3681 
   3682        const result = wasm.icu4x_CodePointSetData_create_variation_selector_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3683 
   3684        try {
   3685            if (!diplomatReceive.resultFlag) {
   3686                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3687                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3688            }
   3689            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3690        }
   3691 
   3692        finally {
   3693            diplomatReceive.free();
   3694        }
   3695    }
   3696 
   3697    /**
   3698     * Get the `White_Space` value for a given character, using compiled data
   3699     *
   3700     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3701     */
   3702    static whiteSpaceForChar(ch) {
   3703 
   3704        const result = wasm.icu4x_CodePointSetData_white_space_for_char_mv1(ch);
   3705 
   3706        try {
   3707            return result;
   3708        }
   3709 
   3710        finally {
   3711        }
   3712    }
   3713 
   3714    /**
   3715     * Create a set for the `White_Space` property, using compiled data.
   3716     *
   3717     * See the [Rust documentation for `WhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.WhiteSpace.html) for more information.
   3718     */
   3719    static createWhiteSpace() {
   3720 
   3721        const result = wasm.icu4x_CodePointSetData_create_white_space_mv1();
   3722 
   3723        try {
   3724            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3725        }
   3726 
   3727        finally {
   3728        }
   3729    }
   3730 
   3731    /**
   3732     * Create a set for the `White_Space` property, using a particular data source.
   3733     *
   3734     * See the [Rust documentation for `WhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.WhiteSpace.html) for more information.
   3735     */
   3736    static createWhiteSpaceWithProvider(provider) {
   3737        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3738 
   3739 
   3740        const result = wasm.icu4x_CodePointSetData_create_white_space_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3741 
   3742        try {
   3743            if (!diplomatReceive.resultFlag) {
   3744                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3745                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3746            }
   3747            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3748        }
   3749 
   3750        finally {
   3751            diplomatReceive.free();
   3752        }
   3753    }
   3754 
   3755    /**
   3756     * Get the `Xdigit` value for a given character, using compiled data
   3757     *
   3758     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3759     */
   3760    static xdigitForChar(ch) {
   3761 
   3762        const result = wasm.icu4x_CodePointSetData_xdigit_for_char_mv1(ch);
   3763 
   3764        try {
   3765            return result;
   3766        }
   3767 
   3768        finally {
   3769        }
   3770    }
   3771 
   3772    /**
   3773     * Create a set for the `Xdigit` property, using compiled data.
   3774     *
   3775     * See the [Rust documentation for `Xdigit`](https://docs.rs/icu/latest/icu/properties/props/struct.Xdigit.html) for more information.
   3776     */
   3777    static createXdigit() {
   3778 
   3779        const result = wasm.icu4x_CodePointSetData_create_xdigit_mv1();
   3780 
   3781        try {
   3782            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3783        }
   3784 
   3785        finally {
   3786        }
   3787    }
   3788 
   3789    /**
   3790     * Create a set for the `Xdigit` property, using a particular data source.
   3791     *
   3792     * See the [Rust documentation for `Xdigit`](https://docs.rs/icu/latest/icu/properties/props/struct.Xdigit.html) for more information.
   3793     */
   3794    static createXdigitWithProvider(provider) {
   3795        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3796 
   3797 
   3798        const result = wasm.icu4x_CodePointSetData_create_xdigit_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3799 
   3800        try {
   3801            if (!diplomatReceive.resultFlag) {
   3802                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3803                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3804            }
   3805            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3806        }
   3807 
   3808        finally {
   3809            diplomatReceive.free();
   3810        }
   3811    }
   3812 
   3813    /**
   3814     * Get the `Xid_Continue` value for a given character, using compiled data
   3815     *
   3816     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3817     */
   3818    static xidContinueForChar(ch) {
   3819 
   3820        const result = wasm.icu4x_CodePointSetData_xid_continue_for_char_mv1(ch);
   3821 
   3822        try {
   3823            return result;
   3824        }
   3825 
   3826        finally {
   3827        }
   3828    }
   3829 
   3830    /**
   3831     * Create a set for the `Xid_Continue` property, using compiled data.
   3832     *
   3833     * See the [Rust documentation for `XidContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.XidContinue.html) for more information.
   3834     */
   3835    static createXidContinue() {
   3836 
   3837        const result = wasm.icu4x_CodePointSetData_create_xid_continue_mv1();
   3838 
   3839        try {
   3840            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3841        }
   3842 
   3843        finally {
   3844        }
   3845    }
   3846 
   3847    /**
   3848     * Create a set for the `Xid_Continue` property, using a particular data source.
   3849     *
   3850     * See the [Rust documentation for `XidContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.XidContinue.html) for more information.
   3851     */
   3852    static createXidContinueWithProvider(provider) {
   3853        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3854 
   3855 
   3856        const result = wasm.icu4x_CodePointSetData_create_xid_continue_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3857 
   3858        try {
   3859            if (!diplomatReceive.resultFlag) {
   3860                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3861                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3862            }
   3863            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3864        }
   3865 
   3866        finally {
   3867            diplomatReceive.free();
   3868        }
   3869    }
   3870 
   3871    /**
   3872     * Get the `Xid_Start` value for a given character, using compiled data
   3873     *
   3874     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.BinaryProperty.html#tymethod.for_char) for more information.
   3875     */
   3876    static xidStartForChar(ch) {
   3877 
   3878        const result = wasm.icu4x_CodePointSetData_xid_start_for_char_mv1(ch);
   3879 
   3880        try {
   3881            return result;
   3882        }
   3883 
   3884        finally {
   3885        }
   3886    }
   3887 
   3888    /**
   3889     * Create a set for the `Xid_Start` property, using compiled data.
   3890     *
   3891     * See the [Rust documentation for `XidStart`](https://docs.rs/icu/latest/icu/properties/props/struct.XidStart.html) for more information.
   3892     */
   3893    static createXidStart() {
   3894 
   3895        const result = wasm.icu4x_CodePointSetData_create_xid_start_mv1();
   3896 
   3897        try {
   3898            return new CodePointSetData(diplomatRuntime.internalConstructor, result, []);
   3899        }
   3900 
   3901        finally {
   3902        }
   3903    }
   3904 
   3905    /**
   3906     * Create a set for the `Xid_Start` property, using a particular data source.
   3907     *
   3908     * See the [Rust documentation for `XidStart`](https://docs.rs/icu/latest/icu/properties/props/struct.XidStart.html) for more information.
   3909     */
   3910    static createXidStartWithProvider(provider) {
   3911        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3912 
   3913 
   3914        const result = wasm.icu4x_CodePointSetData_create_xid_start_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue);
   3915 
   3916        try {
   3917            if (!diplomatReceive.resultFlag) {
   3918                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3919                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3920            }
   3921            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3922        }
   3923 
   3924        finally {
   3925            diplomatReceive.free();
   3926        }
   3927    }
   3928 
   3929    /**
   3930     * [ecma]: https://tc39.es/ecma262/#table-binary-unicode-properties
   3931     *
   3932     * See the [Rust documentation for `new_for_ecma262`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetData.html#method.new_for_ecma262) for more information.
   3933     */
   3934    static createForEcma262(propertyName) {
   3935        let functionCleanupArena = new diplomatRuntime.CleanupArena();
   3936 
   3937        const propertyNameSlice = diplomatRuntime.DiplomatBuf.str8(wasm, propertyName);
   3938        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3939 
   3940 
   3941        const result = wasm.icu4x_CodePointSetData_create_for_ecma262_mv1(diplomatReceive.buffer, ...propertyNameSlice.splat());
   3942 
   3943        try {
   3944            if (!diplomatReceive.resultFlag) {
   3945                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3946                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3947            }
   3948            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3949        }
   3950 
   3951        finally {
   3952            functionCleanupArena.free();
   3953 
   3954            diplomatReceive.free();
   3955        }
   3956    }
   3957 
   3958    /**
   3959     * [ecma]: https://tc39.es/ecma262/#table-binary-unicode-properties
   3960     *
   3961     * See the [Rust documentation for `new_for_ecma262`](https://docs.rs/icu/latest/icu/properties/struct.CodePointSetData.html#method.new_for_ecma262) for more information.
   3962     */
   3963    static createForEcma262WithProvider(provider, propertyName) {
   3964        let functionCleanupArena = new diplomatRuntime.CleanupArena();
   3965 
   3966        const propertyNameSlice = diplomatRuntime.DiplomatBuf.str8(wasm, propertyName);
   3967        const diplomatReceive = new diplomatRuntime.DiplomatReceiveBuf(wasm, 5, 4, true);
   3968 
   3969 
   3970        const result = wasm.icu4x_CodePointSetData_create_for_ecma262_with_provider_mv1(diplomatReceive.buffer, provider.ffiValue, ...propertyNameSlice.splat());
   3971 
   3972        try {
   3973            if (!diplomatReceive.resultFlag) {
   3974                const cause = new DataError(diplomatRuntime.internalConstructor, diplomatRuntime.enumDiscriminant(wasm, diplomatReceive.buffer));
   3975                throw new globalThis.Error('DataError: ' + cause.value, { cause });
   3976            }
   3977            return new CodePointSetData(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatReceive.buffer), []);
   3978        }
   3979 
   3980        finally {
   3981            functionCleanupArena.free();
   3982 
   3983            diplomatReceive.free();
   3984        }
   3985    }
   3986 
   3987    constructor(symbol, ptr, selfEdge) {
   3988        return this.#internalConstructor(...arguments)
   3989    }
   3990 }