ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::char_set::constexprs 命名空间参考

命名空间

namespace  categorys
 
namespace  chars
 
namespace  masks
 
namespace  offsets
 

变量

constexpr auto UTRIE_SHIFT_1 =6+5
 Shift size for getting the index-1 table offset.
 
constexpr auto UTRIE_SHIFT_2 =5
 Shift size for getting the index-2 table offset.
 
constexpr auto UTRIE_SHIFT_1_2 =UTRIE_SHIFT_1-UTRIE_SHIFT_2
 Difference between the two shift sizes, for getting an index-1 offset from an index-2 offset.
 
constexpr auto UTRIE_OMITTED_BMP_INDEX_1_LENGTH =0x10000>>UTRIE_SHIFT_1
 Number of index-1 entries for the BMP.
 
constexpr auto UTRIE_CP_PER_INDEX_1_ENTRY =1<<UTRIE_SHIFT_1
 Number of code points per index-1 table entry.
 
constexpr auto UTRIE_INDEX_2_BLOCK_LENGTH =1<<UTRIE_SHIFT_1_2
 Number of entries in an index-2 block.
 
constexpr auto UTRIE_INDEX_2_MASK =UTRIE_INDEX_2_BLOCK_LENGTH-1
 Mask for getting the lower bits for the in-index-2-block offset.
 
constexpr auto UTRIE_DATA_BLOCK_LENGTH =1<<UTRIE_SHIFT_2
 Number of entries in a data block.
 
constexpr auto UTRIE_DATA_MASK =UTRIE_DATA_BLOCK_LENGTH-1
 Mask for getting the lower bits for the in-data-block offset.
 
constexpr auto UTRIE_INDEX_SHIFT =2
 Shift size for shifting left the index array values.
 
constexpr auto UTRIE_DATA_GRANULARITY =1<<UTRIE_INDEX_SHIFT
 The alignment size of a data block.
 
constexpr auto UTRIE_INDEX_2_OFFSET =0
 The BMP part of the index-2 table is fixed and linear and starts at offset 0.
 
constexpr auto UTRIE_LSCP_INDEX_2_OFFSET =0x10000>>UTRIE_SHIFT_2
 The part of the index-2 table for U+D800..U+DBFF stores values for lead surrogate code units not code points.
 
constexpr auto UTRIE_LSCP_INDEX_2_LENGTH =0x400>>UTRIE_SHIFT_2
 
constexpr auto UTRIE_INDEX_2_BMP_LENGTH =UTRIE_LSCP_INDEX_2_OFFSET+UTRIE_LSCP_INDEX_2_LENGTH
 Count the lengths of both BMP pieces.
 
constexpr auto UTRIE_UTF8_2B_INDEX_2_OFFSET =UTRIE_INDEX_2_BMP_LENGTH
 The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.
 
constexpr auto UTRIE_UTF8_2B_INDEX_2_LENGTH =0x800>>6
 
constexpr auto UTRIE_INDEX_1_OFFSET =UTRIE_UTF8_2B_INDEX_2_OFFSET+UTRIE_UTF8_2B_INDEX_2_LENGTH
 The index-1 table, only used for supplementary code points, at offset 2112=0x840.
 
constexpr auto UTRIE_MAX_INDEX_1_LENGTH =0x100000>>UTRIE_SHIFT_1
 
constexpr auto UTRIE_BAD_UTF8_DATA_OFFSET =0x80
 The illegal-UTF-8 data block follows the ASCII block, at offset 128=0x80.
 
constexpr auto UTRIE_DATA_START_OFFSET =0xc0
 The start of non-linear-ASCII data blocks, at offset 192=0xc0.
 
constexpr auto U_UNASSIGNED = 0
 Non-category for unassigned and non-character code points.
 
constexpr auto U_GENERAL_OTHER_TYPES = 0
 Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNED!) @stable ICU 2.0
 
constexpr auto U_UPPERCASE_LETTER = 1
 Lu @stable ICU 2.0
 
constexpr auto U_LOWERCASE_LETTER = 2
 Ll @stable ICU 2.0
 
constexpr auto U_TITLECASE_LETTER = 3
 Lt @stable ICU 2.0
 
constexpr auto U_MODIFIER_LETTER = 4
 Lm @stable ICU 2.0
 
constexpr auto U_OTHER_LETTER = 5
 Lo @stable ICU 2.0
 
constexpr auto U_NON_SPACING_MARK = 6
 Mn @stable ICU 2.0
 
constexpr auto U_ENCLOSING_MARK = 7
 Me @stable ICU 2.0
 
constexpr auto U_COMBINING_SPACING_MARK = 8
 Mc @stable ICU 2.0
 
constexpr auto U_DECIMAL_DIGIT_NUMBER = 9
 Nd @stable ICU 2.0
 
constexpr auto U_LETTER_NUMBER = 10
 Nl @stable ICU 2.0
 
constexpr auto U_OTHER_NUMBER = 11
 No @stable ICU 2.0
 
constexpr auto U_SPACE_SEPARATOR = 12
 Zs @stable ICU 2.0
 
constexpr auto U_LINE_SEPARATOR = 13
 Zl @stable ICU 2.0
 
constexpr auto U_PARAGRAPH_SEPARATOR = 14
 Zp @stable ICU 2.0
 
constexpr auto U_CONTROL_CHAR = 15
 Cc @stable ICU 2.0
 
constexpr auto U_FORMAT_CHAR = 16
 Cf @stable ICU 2.0
 
constexpr auto U_PRIVATE_USE_CHAR = 17
 Co @stable ICU 2.0
 
constexpr auto U_SURROGATE = 18
 Cs @stable ICU 2.0
 
constexpr auto U_DASH_PUNCTUATION = 19
 Pd @stable ICU 2.0
 
constexpr auto U_START_PUNCTUATION = 20
 Ps @stable ICU 2.0
 
constexpr auto U_END_PUNCTUATION = 21
 Pe @stable ICU 2.0
 
constexpr auto U_CONNECTOR_PUNCTUATION = 22
 Pc @stable ICU 2.0
 
constexpr auto U_OTHER_PUNCTUATION = 23
 Po @stable ICU 2.0
 
constexpr auto U_MATH_SYMBOL = 24
 Sm @stable ICU 2.0
 
constexpr auto U_CURRENCY_SYMBOL = 25
 Sc @stable ICU 2.0
 
constexpr auto U_MODIFIER_SYMBOL = 26
 Sk @stable ICU 2.0
 
constexpr auto U_OTHER_SYMBOL = 27
 So @stable ICU 2.0
 
constexpr auto U_INITIAL_PUNCTUATION = 28
 Pi @stable ICU 2.0
 
constexpr auto U_FINAL_PUNCTUATION = 29
 Pf @stable ICU 2.0
 
constexpr auto U_GC_CN_MASK = ((uint32_t)1<<( U_GENERAL_OTHER_TYPES ))
 
constexpr auto U_GC_LU_MASK = ((uint32_t)1<<( U_UPPERCASE_LETTER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_LL_MASK = ((uint32_t)1<<( U_LOWERCASE_LETTER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_LT_MASK = ((uint32_t)1<<( U_TITLECASE_LETTER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_LM_MASK = ((uint32_t)1<<( U_MODIFIER_LETTER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_LO_MASK = ((uint32_t)1<<( U_OTHER_LETTER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_MN_MASK = ((uint32_t)1<<( U_NON_SPACING_MARK ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_ME_MASK = ((uint32_t)1<<( U_ENCLOSING_MARK ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_MC_MASK = ((uint32_t)1<<( U_COMBINING_SPACING_MARK ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_ND_MASK = ((uint32_t)1<<( U_DECIMAL_DIGIT_NUMBER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_NL_MASK = ((uint32_t)1<<( U_LETTER_NUMBER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_NO_MASK = ((uint32_t)1<<( U_OTHER_NUMBER ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_ZS_MASK = ((uint32_t)1<<( U_SPACE_SEPARATOR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_ZL_MASK = ((uint32_t)1<<( U_LINE_SEPARATOR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_ZP_MASK = ((uint32_t)1<<( U_PARAGRAPH_SEPARATOR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_CC_MASK = ((uint32_t)1<<( U_CONTROL_CHAR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_CF_MASK = ((uint32_t)1<<( U_FORMAT_CHAR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_CO_MASK = ((uint32_t)1<<( U_PRIVATE_USE_CHAR ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_CS_MASK = ((uint32_t)1<<( U_SURROGATE ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PD_MASK = ((uint32_t)1<<( U_DASH_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PS_MASK = ((uint32_t)1<<( U_START_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PE_MASK = ((uint32_t)1<<( U_END_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PC_MASK = ((uint32_t)1<<( U_CONNECTOR_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PO_MASK = ((uint32_t)1<<( U_OTHER_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_SM_MASK = ((uint32_t)1<<( U_MATH_SYMBOL ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_SC_MASK = ((uint32_t)1<<( U_CURRENCY_SYMBOL ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_SK_MASK = ((uint32_t)1<<( U_MODIFIER_SYMBOL ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_SO_MASK = ((uint32_t)1<<( U_OTHER_SYMBOL ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PI_MASK = ((uint32_t)1<<( U_INITIAL_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_PF_MASK = ((uint32_t)1<<( U_FINAL_PUNCTUATION ))
 Mask constant for a UCharCategory.
 
constexpr auto U_GC_L_MASK = (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK|U_GC_LM_MASK|U_GC_LO_MASK)
 Mask constant for multiple UCharCategory bits (L Letters).
 
constexpr auto U_GC_LC_MASK = (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK)
 Mask constant for multiple UCharCategory bits (LC Cased Letters).
 
constexpr auto U_GC_M_MASK = (U_GC_MN_MASK|U_GC_ME_MASK|U_GC_MC_MASK)
 Mask constant for multiple UCharCategory bits (M Marks).
 
constexpr auto U_GC_N_MASK = (U_GC_ND_MASK|U_GC_NL_MASK|U_GC_NO_MASK)
 Mask constant for multiple UCharCategory bits (N Numbers).
 
constexpr auto U_GC_Z_MASK = (U_GC_ZS_MASK|U_GC_ZL_MASK|U_GC_ZP_MASK)
 Mask constant for multiple UCharCategory bits (Z Separators).
 
constexpr auto U_GC_C_MASK = (U_GC_CN_MASK|U_GC_CC_MASK|U_GC_CF_MASK|U_GC_CO_MASK|U_GC_CS_MASK)
 Mask constant for multiple UCharCategory bits (C Others).
 
constexpr auto U_GC_P_MASK = (U_GC_PD_MASK|U_GC_PS_MASK|U_GC_PE_MASK|U_GC_PC_MASK|U_GC_PO_MASK|U_GC_PI_MASK|U_GC_PF_MASK)
 Mask constant for multiple UCharCategory bits (P Punctuation).
 
constexpr auto U_GC_S_MASK = (U_GC_SM_MASK|U_GC_SC_MASK|U_GC_SK_MASK|U_GC_SO_MASK)
 Mask constant for multiple UCharCategory bits (S Symbols).
 
constexpr auto TAB =0x0009
 
constexpr auto LF =0x000a
 
constexpr auto FF =0x000c
 
constexpr auto CR =0x000d
 
constexpr auto NBSP =0x00a0
 
constexpr auto CGJ =0x034f
 
constexpr auto FIGURESP =0x2007
 
constexpr auto HAIRSP =0x200a
 
constexpr auto ZWNJ =0x200c
 
constexpr auto ZWJ =0x200d
 
constexpr auto RLM =0x200f
 
constexpr auto NNBSP =0x202f
 
constexpr auto ZWNBSP =0xfeff