mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
LibUnicode: Add public methods to compare and lookup Unicode properties
Adds methods to retrieve a Unicode property from a string and to check if a code point matches a Unicode property. Also adds a <LibUnicode/Forward.h> header.
This commit is contained in:
parent
3f80791ed5
commit
f1809db994
4 changed files with 92 additions and 9 deletions
22
Userland/Libraries/LibUnicode/Forward.h
Normal file
22
Userland/Libraries/LibUnicode/Forward.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Unicode {
|
||||
|
||||
enum class Condition;
|
||||
enum class GeneralCategory;
|
||||
enum class Locale;
|
||||
enum class Property : u64;
|
||||
enum class WordBreakProperty;
|
||||
|
||||
struct SpecialCasing;
|
||||
struct UnicodeData;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue