cpdf-source/cpdfunicodedata.mli

27 lines
762 B
OCaml
Raw Permalink Normal View History

2022-01-13 14:43:23 +01:00
(** UnicodeData.txt in parsed form *)
(** The source, compressed. *)
2021-11-11 19:09:23 +01:00
val unicodedata_source : string
2021-11-11 20:45:47 +01:00
2022-01-13 14:43:23 +01:00
(** The type of a single entry from UnicodeData.txt *)
2021-11-11 20:45:47 +01:00
type t =
{code_value : string;
character_name : string;
general_category : string;
canonical_combining_classes : string;
bidirectional_category : string;
character_decomposition_mapping : string;
decimal_digit_value : string;
digit_value : string;
numeric_value : string;
mirrored : string;
unicode_10_name : string;
iso_10646_comment_field : string;
uppercase_mapping : string;
lowercase_mapping : string;
titlecase_mapping : string}
2022-01-13 14:43:23 +01:00
(** The unicode data. We pass a unit because it is parsed upon demand and
memoised. *)
2021-11-11 20:45:47 +01:00
val unicodedata : unit -> t list