unicode_data

GENERATED by genunicode from UCD 17.0.0 - do not edit. Grapheme-cluster-break categories (UAX #29), one flat partition merging GraphemeClusterBreak, ExtendedPictographic, and InCB. The table is a sorted boundary list: entries of four base-128 septets encoding startcodepoint * 32 + category. See src/bin/genunicode.rs for the encoding and regeneration story.

API Reference

Globals

let _GC_OTHER: Int

Internal grapheme-cluster code for UAX #29 Other.

let _GC_CR: Int

Internal grapheme-cluster code for carriage return (CR).

let _GC_LF: Int

Internal grapheme-cluster code for line feed (LF).

let _GC_CONTROL: Int

Internal grapheme-cluster code for UAX #29 Control.

let _GC_EXTEND: Int

Internal grapheme-cluster code for UAX #29 Extend.

let _GC_ZWJ: Int

Internal grapheme-cluster code for zero-width joiner (ZWJ).

let _GC_PREPEND: Int

Internal grapheme-cluster code for UAX #29 Prepend.

let _GC_HANGUL_L: Int

Internal grapheme-cluster code for Hangul leading jamo (L).

let _GC_HANGUL_V: Int

Internal grapheme-cluster code for Hangul vowel jamo (V).

let _GC_HANGUL_T: Int

Internal grapheme-cluster code for Hangul trailing jamo (T).

let _GC_EXT_PICT: Int

Internal grapheme-cluster code for the Extended_Pictographic override.

let _CC_OTHER: Int

Character does not satisfy one of the specialized classes below.

let _CC_ALPHANUMERIC: Int

Character is both alphabetic and numeric under the table's combined flags.

Functions

func _gcb_table() -> String

Packed scalar boundaries for Unicode grapheme-cluster categories. Entries are sorted four-septet values encoding start * 32 + category.

func _character_class_table() -> String

Packed scalar boundaries for the public character-class predicates. Entries use the same sorted four-septet start * 32 + category encoding.