mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibUnicode: Download and parse {Grapheme,Word,Sentence} break props
This commit is contained in:
parent
6efbafa6e0
commit
2d50c08f34
5 changed files with 49 additions and 1 deletions
|
@ -353,4 +353,8 @@ Optional<Script> __attribute__((weak)) script_from_string(StringView) { return {
|
|||
bool __attribute__((weak)) code_point_has_script(u32, Script) { return {}; }
|
||||
bool __attribute__((weak)) code_point_has_script_extension(u32, Script) { return {}; }
|
||||
|
||||
bool __attribute__((weak)) code_point_has_grapheme_break_property(u32, GraphemeBreakProperty) { return {}; }
|
||||
bool __attribute__((weak)) code_point_has_word_break_property(u32, WordBreakProperty) { return {}; }
|
||||
bool __attribute__((weak)) code_point_has_sentence_break_property(u32, SentenceBreakProperty) { return {}; }
|
||||
|
||||
}
|
||||
|
|
|
@ -40,4 +40,8 @@ Optional<Script> script_from_string(StringView);
|
|||
bool code_point_has_script(u32 code_point, Script script);
|
||||
bool code_point_has_script_extension(u32 code_point, Script script);
|
||||
|
||||
bool code_point_has_grapheme_break_property(u32 code_point, GraphemeBreakProperty property);
|
||||
bool code_point_has_word_break_property(u32 code_point, WordBreakProperty property);
|
||||
bool code_point_has_sentence_break_property(u32 code_point, SentenceBreakProperty property);
|
||||
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ enum class DateField : u8;
|
|||
enum class DayPeriod : u8;
|
||||
enum class Era : u8;
|
||||
enum class GeneralCategory : u8;
|
||||
enum class GraphemeBreakProperty : u8;
|
||||
enum class HourCycle : u8;
|
||||
enum class HourCycleRegion : u8;
|
||||
enum class Key : u8;
|
||||
|
@ -35,6 +36,7 @@ enum class NumericSymbol : u8;
|
|||
enum class Property : u8;
|
||||
enum class Script : u8;
|
||||
enum class ScriptTag : u8;
|
||||
enum class SentenceBreakProperty : u8;
|
||||
enum class StandardNumberFormatType : u8;
|
||||
enum class Style : u8;
|
||||
enum class Territory : u8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue