| // generated by diplomat-tool |
| import type { CodePointSetData } from "./CodePointSetData" |
| import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; |
| |
| |
| /** See the [Rust documentation for `CodePointInversionListBuilder`](https://docs.rs/icu/latest/icu/collections/codepointinvlist/struct.CodePointInversionListBuilder.html) for more information. |
| */ |
| |
| |
| export class CodePointSetBuilder { |
| |
| get ffiValue(): pointer; |
| |
| build(): CodePointSetData; |
| |
| complement(): void; |
| |
| get isEmpty(): boolean; |
| |
| addChar(ch: codepoint): void; |
| |
| addInclusiveRange(start: codepoint, end: codepoint): void; |
| |
| addSet(data: CodePointSetData): void; |
| |
| removeChar(ch: codepoint): void; |
| |
| removeInclusiveRange(start: codepoint, end: codepoint): void; |
| |
| removeSet(data: CodePointSetData): void; |
| |
| retainChar(ch: codepoint): void; |
| |
| retainInclusiveRange(start: codepoint, end: codepoint): void; |
| |
| retainSet(data: CodePointSetData): void; |
| |
| complementChar(ch: codepoint): void; |
| |
| complementInclusiveRange(start: codepoint, end: codepoint): void; |
| |
| complementSet(data: CodePointSetData): void; |
| |
| constructor(); |
| } |