enum GLib::UnicodeType

Overview

These are the possible character classifications from the Unicode specification. See Unicode Character Database.

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Enum Members

Control = 0_u32

General category "Other, Control" (Cc)

Format = 1_u32

General category "Other, Format" (Cf)

Unassigned = 2_u32

General category "Other, Not Assigned" (Cn)

PrivateUse = 3_u32

General category "Other, Private Use" (Co)

Surrogate = 4_u32

General category "Other, Surrogate" (Cs)

LowercaseLetter = 5_u32

General category "Letter, Lowercase" (Ll)

ModifierLetter = 6_u32

General category "Letter, Modifier" (Lm)

OtherLetter = 7_u32

General category "Letter, Other" (Lo)

TitlecaseLetter = 8_u32

General category "Letter, Titlecase" (Lt)

UppercaseLetter = 9_u32

General category "Letter, Uppercase" (Lu)

SpacingMark = 10_u32

General category "Mark, Spacing" (Mc)

EnclosingMark = 11_u32

General category "Mark, Enclosing" (Me)

NonSpacingMark = 12_u32

General category "Mark, Nonspacing" (Mn)

DecimalNumber = 13_u32

General category "Number, Decimal Digit" (Nd)

LetterNumber = 14_u32

General category "Number, Letter" (Nl)

OtherNumber = 15_u32

General category "Number, Other" (No)

ConnectPunctuation = 16_u32

General category "Punctuation, Connector" (Pc)

DashPunctuation = 17_u32

General category "Punctuation, Dash" (Pd)

ClosePunctuation = 18_u32

General category "Punctuation, Close" (Pe)

FinalPunctuation = 19_u32

General category "Punctuation, Final quote" (Pf)

InitialPunctuation = 20_u32

General category "Punctuation, Initial quote" (Pi)

OtherPunctuation = 21_u32

General category "Punctuation, Other" (Po)

OpenPunctuation = 22_u32

General category "Punctuation, Open" (Ps)

CurrencySymbol = 23_u32

General category "Symbol, Currency" (Sc)

ModifierSymbol = 24_u32

General category "Symbol, Modifier" (Sk)

MathSymbol = 25_u32

General category "Symbol, Math" (Sm)

OtherSymbol = 26_u32

General category "Symbol, Other" (So)

LineSeparator = 27_u32

General category "Separator, Line" (Zl)

ParagraphSeparator = 28_u32

General category "Separator, Paragraph" (Zp)

SpaceSeparator = 29_u32

General category "Separator, Space" (Zs)

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def close_punctuation? #

[View source]
def connect_punctuation? #

[View source]
def control? #

[View source]
def currency_symbol? #

[View source]
def dash_punctuation? #

[View source]
def decimal_number? #

[View source]
def enclosing_mark? #

[View source]
def final_punctuation? #

[View source]
def format? #

[View source]
def initial_punctuation? #

[View source]
def letter_number? #

[View source]
def line_separator? #

[View source]
def lowercase_letter? #

[View source]
def math_symbol? #

[View source]
def modifier_letter? #

[View source]
def modifier_symbol? #

[View source]
def non_spacing_mark? #

[View source]
def open_punctuation? #

[View source]
def other_letter? #

[View source]
def other_number? #

[View source]
def other_punctuation? #

[View source]
def other_symbol? #

[View source]
def paragraph_separator? #

[View source]
def private_use? #

[View source]
def space_separator? #

[View source]
def spacing_mark? #

[View source]
def surrogate? #

[View source]
def titlecase_letter? #

[View source]
def unassigned? #

[View source]
def uppercase_letter? #

[View source]