Crate precis_tools
source ·Expand description
Tools and parsers to generate PRECIS tables from the Unicode Character Database (UCD)
This crate is generally used to generate code to be used by other crates such as
precis-core or precis-profiles.
Consider adding this in your build-dependencies section instead.
Structs
- Generates the
ASCII7table required by the PRECIS framework. - Generates the
BackwardCompatibletable required by the PRECIS framework. - Generates a table of tuples (
Codepoints,BidiClass) representing the values of the Unicode character propertyBidi_Class. Possible values are listed inUAX44, Table 13. - Generate the
Codepointsstructused by all tables created by all generators. - A line oriented parser for a particular
UCDfile. - A single row in the
DerivedJoiningTypefile. - Generates the derived property
enumwith the values described in the PRECIS Code Point Properties section. - Represents any kind of error that can occur while parsing files
- Generates the Exceptions table required by the PRECIS framework.
- Generator that aggregates elements that are able to generate tables from the
UnicodeDatafile - A single row in the
HangulSyllableTypefile. - A single row in the
precis-tables.csvfile. - This is the main code generator element. It aggregates other
CodeGenelements. The resulting file will contain the code generated by every element added to the code generator. - Generator that aggregates other
UcdCodeGenelements. - Generator that crates tables of Unicode code points as a result of parsing properties in the
UCDfiles. - Generator that creates a table of unassigned Unicode code points
- Extension of the
UnicodeDatastructprovided by theucd_parsecrate. Unlike the original one, thisstructdoes not represent a single line in theUnicodeDatafile, but it could be the result of a whole parsing of several files to contain range of Unicode code points. Note that this file, unlike others in the Unicode data files, represents ranges split in different lines in order not to break parsers compatibility. - Aggregator of elements that implement the
UcdLineParsertrait. - Generates the UNICODE version variable used to generate the library.
- Generator that creates a table of Unicode code points with the
Viramacanonical combining class. - Generator that creates a table of Unicode code points and their decomposition mappings.
Enums
- Second column in the
precis-tables.csvfile. Values could be made up of a single derived property value, or two combined with theorword - Represents the derived property value assigned to an Unicode code point. This value is parsed from the
CSVmaintained in theIANAregistry.
Traits
- Trait implemented by all elements which are able to generate code.
- Trait implemented by all elements that are able to parse
UCDfiles. - Generic trait used by parsers to generate code.