Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XWordBreakIteratorLatin1.d.ts

raw
1 import { i32 } from "./diplomat-runtime"
2 import { ICU4XSegmenterWordType } from "./ICU4XSegmenterWordType";
3
4 /**
5
6 * See the {@link https://docs.rs/icu/latest/icu/segmenter/struct.WordBreakIterator.html Rust documentation for `WordBreakIterator`} for more information.
7 */
8 export class ICU4XWordBreakIteratorLatin1 {
9
10 /**
11
12 * Finds the next breakpoint. Returns -1 if at the end of the string or if the index is out of range of a 32-bit signed integer.
13
14 * See the {@link https://docs.rs/icu/latest/icu/segmenter/struct.WordBreakIterator.html#method.next Rust documentation for `next`} for more information.
15 */
16 next(): i32;
17
18 /**
19
20 * Return the status value of break boundary.
21
22 * See the {@link https://docs.rs/icu/latest/icu/segmenter/struct.WordBreakIterator.html#method.word_type Rust documentation for `word_type`} for more information.
23 */
24 word_type(): ICU4XSegmenterWordType;
25
26 /**
27
28 * Return true when break boundary is word-like such as letter/number/CJK
29
30 * See the {@link https://docs.rs/icu/latest/icu/segmenter/struct.WordBreakIterator.html#method.is_word_like Rust documentation for `is_word_like`} for more information.
31 */
32 is_word_like(): boolean;
33 }