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§
- Ascii7
Gen - Generates the
ASCII7table required by the PRECIS framework. - Backward
Compatible Gen - Generates the
BackwardCompatibletable required by the PRECIS framework. - Bidi
Class Gen - Generates a table of tuples (
Codepoints,BidiClass) representing the values of the Unicode character propertyBidi_Class. Possible values are listed inUAX44, Table 13. - Codepoints
Gen - Generate the
Codepointsstructused by all tables created by all generators. - CsvLine
Parser - A line oriented parser for a particular
UCDfile. - Derived
Joining Type - A single row in the
DerivedJoiningTypefile. - Derived
Property Value Gen - Generates the derived property
enumwith the values described in the PRECIS Code Point Properties section. - Error
- Represents any kind of error that can occur while parsing files
- Exceptions
Gen - Generates the Exceptions table required by the PRECIS framework.
- General
Category Gen - Generator that aggregates elements that are able to generate tables
from the
UnicodeDatafile - Hangul
Syllable Type - A single row in the
HangulSyllableTypefile. - Precis
Derived Property - A single row in the
precis-tables.csvfile. - Rust
Code Gen - 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. - UcdFile
Gen - Generator that aggregates other
UcdCodeGenelements. - UcdTable
Gen - Generator that crates tables of Unicode code points as a result
of parsing properties in the
UCDfiles. - Unassigned
Table Gen - Generator that creates a table of unassigned Unicode code points
- Unicode
Data - 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. - Unicode
Gen - Aggregator of elements that implement the
UcdLineParsertrait. - Unicode
Version Gen - Generates the UNICODE version variable used to generate the library.
- Virama
Table Gen - Generator that creates a table of Unicode code points
with the
Viramacanonical combining class. - Width
Mapping Table Gen - Generator that creates a table of Unicode code points and their decomposition mappings.
Enums§
- Derived
Properties - Second column in the
precis-tables.csvfile. Values could be made up of a single derived property value, or two combined with theorword - Derived
Property - Represents the derived property value assigned
to an Unicode code point. This value is parsed
from the
CSVmaintained in theIANAregistry.
Traits§
- CodeGen
- Trait implemented by all elements which are able to generate code.
- UcdCode
Gen - Trait implemented by all elements that are able to parse
UCDfiles. - UcdLine
Parser - Generic trait used by parsers to generate code.