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
ASCII7
table required by the PRECIS framework. - Backward
Compatible Gen - Generates the
BackwardCompatible
table 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
Codepoints
struct
used by all tables created by all generators. - CsvLine
Parser - A line oriented parser for a particular
UCD
file. - Derived
Joining Type - A single row in the
DerivedJoiningType
file. - Derived
Property Value Gen - Generates the derived property
enum
with 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
UnicodeData
file - Hangul
Syllable Type - A single row in the
HangulSyllableType
file. - Precis
Derived Property - A single row in the
precis-tables.csv
file. - Rust
Code Gen - This is the main code generator element. It aggregates other
CodeGen
elements. The resulting file will contain the code generated by every element added to the code generator. - UcdFile
Gen - Generator that aggregates other
UcdCodeGen
elements. - UcdTable
Gen - Generator that crates tables of Unicode code points as a result
of parsing properties in the
UCD
files. - Unassigned
Table Gen - Generator that creates a table of unassigned Unicode code points
- Unicode
Data - Extension of the
UnicodeData
struct
provided by theucd_parse
crate. Unlike the original one, thisstruct
does not represent a single line in theUnicodeData
file, 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
UcdLineParser
trait. - 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
Virama
canonical 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.csv
file. Values could be made up of a single derived property value, or two combined with theor
word - Derived
Property - Represents the derived property value assigned
to an Unicode code point. This value is parsed
from the
CSV
maintained in theIANA
registry.
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
UCD
files. - UcdLine
Parser - Generic trait used by parsers to generate code.