mirrored_property : PropertyName
BidiProperties
BidiProperties :: # (opaque)
Scalar mappings and binary facts used by UAX #9, sourced from
UnicodeData.txt, BidiMirroring.txt, and BidiBrackets.txt. These queries
expose Unicode character data; they do not perform paragraph analysis,
mirroring, or visual reordering.
mirroring_glyph_property : PropertyName
paired_bracket_property : PropertyName
paired_bracket_type_property : PropertyName
is_mirrored : Scalar -> Bool
mirroring_glyph : Scalar -> [Some(Scalar), None]
Return the optional character-based best-fit mirror mapping. Absence is
meaningful even when is_mirrored is true.
paired_bracket : Scalar -> [Some(PairedBracket), None]
Return the optional reciprocal bracket mapping and open/close type.
paired_bracket_type : Scalar -> PairedBracketType
paired_bracket_type_short : PairedBracketType -> Str
paired_bracket_type_long : PairedBracketType -> Str
parse_paired_bracket_type : Str -> Try(PairedBracketType, AliasError)
paired_bracket_type_alias_count : PairedBracketType -> U8
paired_bracket_type_alias_at : PairedBracketType, U8 -> [Some(Str), None]
mirrored_short : Bool -> Str
mirrored_long : Bool -> Str
mirrored_alias_count : Bool -> U8
mirrored_alias_at : Bool, U8 -> [Some(Str), None]
parse_mirrored : Str -> Try(Bool, AliasError)
PropertyName : { short : Str, long : Str }
PairedBracketType : [None, Open, Close]
PairedBracket : { scalar : Scalar, kind : [Open, Close] }
AliasError : [UnknownAlias]