class UnicodeCategory

namespace sys.core.i18n
class UnicodeCategory

An enum used to describe the category of a Unicode codepoint.

Constructors

FromAbbr

this FromAbbr{s: String};

Brief

Constructs a new instance from a string abbreviation.

Parameters

s an abbreviation

Methods

ToAbbr

func ToAbbr(): String;

Brief

Converts the current instance to a string abbreviation.

Returns

the abbreviation

Properties

IsLetter

property IsLetter: Bool; get;

Brief

Returns true if the the current instance represents a letter.


IsCasesLetter

property IsCasesLetter: Bool; get;

Brief

Returns true if the the current instance represents a lower/upper/title-case letter.


IsMark

property IsMark: Bool; get;

Brief

Returns true if the the current instance represents a mark.


IsNumber

property IsNumber: Bool; get;

Brief

Returns true if the the current instance represents a number.


IsPunctuation

property IsPunctuation: Bool; get;

Brief

Returns true if the the current instance represents punctuation.


IsSymbol

property IsSymbol: Bool; get;

Brief

Returns true if the the current instance represents a symbol.


IsSeparator

property IsSeparator: Bool; get;

Brief

Returns true if the the current instance represents a separator.


IsOther

property IsOther: Bool; get;

Brief

Returns true if the the current instance represents an "other" type of character.

Constants

Uppercase_Letter

const Uppercase_Letter;

Brief

Enum entry for "Uppercase_Letter Unicode" category.


Lowercase_Letter

const Lowercase_Letter;

Brief

Enum entry for "Lowercase_Letter" Unicode category.


Titlecase_Letter

const Titlecase_Letter;

Brief

Enum entry for "Titlecase_Letter" Unicode category.


Modifier_Letter

const Modifier_Letter;

Brief

Enum entry for "Modifier_Letter" Unicode category.


Other_Letter

const Other_Letter;

Brief

Enum entry for "Other_Letter" Unicode category.


Nonspacing_Mark

const Nonspacing_Mark;

Brief

Enum entry for "Nonspacing_Mark" Unicode category.


Spacing_Mark

const Spacing_Mark;

Brief

Enum entry for "Spacing_Mark" Unicode category.


Enclosing_Mark

const Enclosing_Mark;

Brief

Enum entry for "Enclosing_Mark" Unicode category.


Decimal_Number

const Decimal_Number;

Brief

Enum entry for "Decimal_Number" Unicode category.


Letter_Number

const Letter_Number;

Brief

Enum entry for "Letter_Number" Unicode category.


Other_Number

const Other_Number;

Brief

Enum entry for "Other_Number" Unicode category.


Connector_Punctuation

const Connector_Punctuation;

Brief

Enum entry for "Connector_Punctuation" Unicode category.


Dash_Punctuation

const Dash_Punctuation;

Brief

Enum entry for "Dash_Punctuation" Unicode category.


Open_Punctuation

const Open_Punctuation;

Brief

Enum entry for "Open_Punctuation" Unicode category.


Close_Punctuation

const Close_Punctuation;

Brief

Enum entry for "Close_Punctuation" Unicode category.


Initial_Punctuation

const Initial_Punctuation;

Brief

Enum entry for "Initial_Punctuation" Unicode category.


Final_Punctuation

const Final_Punctuation;

Brief

Enum entry for "Final_Punctuation" Unicode category.


Other_Punctuation

const Other_Punctuation;

Brief

Enum entry for "Other_Punctuation" Unicode category.


Math_Symbol

const Math_Symbol;

Brief

Enum entry for "Math_Symbol" Unicode category.


Currency_Symbol

const Currency_Symbol;

Brief

Enum entry for "Currency_Symbol" Unicode category.


Modifier_Symbol

const Modifier_Symbol;

Brief

Enum entry for "Modifier_Symbol" Unicode category.


Other_Symbol

const Other_Symbol;

Brief

Enum entry for "Other_Symbol" Unicode category.


Space_Separator

const Space_Separator;

Brief

Enum entry for "Space_Separator" Unicode category.


Line_Separator

const Line_Separator;

Brief

Enum entry for "Line_Separator" Unicode category.


Paragraph_Separator

const Paragraph_Separator;

Brief

Enum entry for "Paragraph_Separator" Unicode category.


Control

const Control;

Brief

Enum entry for "Control" Unicode category.


Format

const Format;

Brief

Enum entry for "Format" Unicode category.


Surrogate

const Surrogate;

Brief

Enum entry for "Surrogate" Unicode category.


Private_Use

const Private_Use;

Brief

Enum entry for "Private_Use" Unicode category.


Unassigned

const Unassigned;

Brief

Enum entry for "Unassigned" Unicode category.


Invalid

const Invalid;

Brief

Enum entry for an invalid Unicode category.