term_ucd library

Unicode Character Database (UCD) library.

Library to parse and read the Unicode Character Database (UCD) files.

UcdParser is a generic parser that can be used to read any UCD file. There are too some specific parsers to help build the termunicode library

Classes

DeriveCodePropsItem
Contains information about Derived Code Properties
DerivedCodePropsUCD
A class that provides information about the Derived Code Properties of a character
EastAsianWidthItem
Contains information about an East Asian Width characters range
EastAsianWidthUCD
A class that provides information about the East Asian Width of a character
EmojiDataItem
Contains information about an Emoji characters range
EmojiDataUCD
A class that provides information about the East Asian Width of a character
HangulSyllableTypeItem
HangulSyllableTypeUCD
A class that provides information about the Hangul Syllable Type of a character
UcdParser
Parser to read the Unicode Character Database (UCD) files. The parser will read the UCD file line by line and call the appropriate callback when a Comment, Part or Data is found.
UcdRow
Represents a row in the Unicode Character Database (UCD).
UnicodeDataItem
Contains information about an Unicode Data characters range
UnicodeDataUCD
UnicodeData.txt parser

Constants

defaultCategory → const String
default non-character category
defaultNonCharacter → const String
default non-character name
exceptionEAWProperty → const String
default property for missing East Asian Width or in CJK ideographs range

Typedefs

CommentHandler = void Function(String comment)
Callback definition used to handle Comments in the UCD file.
DataHandler = void Function(UcdRow row)
Callback definition used to handle Data in the UCD file.
PartHandler = void Function(UcdRow row)
Callback definition used to handle Parts in the UCD file.

Exceptions / Errors

UcdException
Exception thrown when there is an error parsing the UCD file.