tor-browser

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

WordBreakIteratorLatin1.d.ts (1345B)


      1 // generated by diplomat-tool
      2 import type { SegmenterWordType } from "./SegmenterWordType"
      3 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      4 
      5 
      6 /**
      7 * See the [Rust documentation for `WordBreakIterator`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.WordBreakIterator.html) for more information.
      8 */
      9 
     10 
     11 export class WordBreakIteratorLatin1 {
     12    get ffiValue(): pointer;
     13 
     14 
     15    /**
     16     * Finds the next breakpoint. Returns -1 if at the end of the string or if the index is
     17     * out of range of a 32-bit signed integer.
     18     *
     19     * See the [Rust documentation for `next`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.WordBreakIterator.html#method.next) for more information.
     20     */
     21    next(): number;
     22 
     23    /**
     24     * Return the status value of break boundary.
     25     *
     26     * See the [Rust documentation for `word_type`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.WordBreakIterator.html#method.word_type) for more information.
     27     */
     28    get wordType(): SegmenterWordType;
     29 
     30    /**
     31     * Return true when break boundary is word-like such as letter/number/CJK
     32     *
     33     * See the [Rust documentation for `is_word_like`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.WordBreakIterator.html#method.is_word_like) for more information.
     34     */
     35    get isWordLike(): boolean;
     36 }