Documentation

UnicodeBasic.TableLookup

Table lookups #

The functions in this module are not part of the public API and may change at any time. Use the functions in UnicodeBasic instead.

@[reducible, inline]

Other_Uppercase bit of CLib.lookupProp (internal use only)

Instances For
    @[reducible, inline]

    Other_Lowercase bit of CLib.lookupProp (internal use only)

    Instances For
      @[reducible, inline]

      Other_Alphabetic bit of CLib.lookupProp (internal use only)

      Instances For
        @[reducible, inline]

        Other_Math bit of CLib.lookupProp (internal use only)

        Instances For
          @[extern unicode_prop_lookup]

          General category and Other_* property bits of a code point (internal use only)

          Get bidirectional class using lookup table

          Unicode property: Bidi_Class

          Instances For

            Get canonical combining class using lookup table

            Unicode property: Canonical_Combining_Class

            Instances For

              Get canonical decomposition mapping using lookup table

              Unicode properties: Decomposition_Mapping Decomposition_Type=Canonical

              Instances For

                Get simple and full case foldings of a code point using lookup table

                Returns (s, f) where s is the simple case folding, or none if the code point folds to itself, and f is the full case folding, or [] if it agrees with the simple case folding.

                Unicode properties: Case_Folding Simple_Case_Folding

                Instances For
                  @[inline]

                  Get simple case mappings of a code point using lookup table

                  Unicode properties: Simple_Lowercase_Mapping Simple_Uppercase_Mapping Simple_Titlecase_Mapping

                  Instances For

                    Get full case mappings of a code point using lookup table

                    Returns (l, t, u) where l is the full lowercase mapping, or [] if it agrees with the simple lowercase mapping, and similarly t for titlecase and u for uppercase. Only unconditional mappings are included.

                    Unicode properties: Lowercase_Mapping Titlecase_Mapping Uppercase_Mapping

                    Instances For

                      Get decomposition mapping using lookup table

                      Unicode properties: Decomposition_Mapping Decomposition_Type

                      Instances For
                        @[inline]

                        Get general category of a code point using lookup table

                        Unicode property: General_Category

                        Instances For

                          Get name of a code point using lookup table

                          Unicode property: Name

                          Instances For

                            Get numeric value of a code point using lookup table

                            Unicode properties: Numeric_Type Numeric_Value

                            Instances For

                              Get other properties using lookup table

                              Unicode properties: Other_Alphabetic, Other_Lowercase, Other_Uppercase, Other_Math

                              Instances For

                                Properties

                                @[inline]

                                Check if code point is alphabetic using lookup table

                                Unicode property: Alphabetic

                                Instances For

                                  Check if code point is bidi mirrored using lookup table

                                  Unicode property: Bidi_Mirrored

                                  Instances For
                                    @[inline]

                                    Check if code point is a cased letter using lookup table

                                    Unicode property: Cased

                                    Instances For
                                      @[inline]

                                      Check if code point is ignorable using lookup table

                                      Unicode property: Default_Ignorable_Code_Point

                                      Instances For
                                        @[inline]

                                        Check if code point is a lowercase letter using lookup table

                                        Unicode property: Lowercase

                                        Instances For
                                          @[inline]

                                          Check if code point is a mathematical symbol using lookup table

                                          Unicode property: Math

                                          Instances For
                                            @[inline]

                                            Check if code point is a noncharacter code point

                                            Unicode property: Noncharacter_Code_Point

                                            Instances For
                                              @[inline]

                                              Check if code point is a titlecase letter using lookup table

                                              Unicode property: Titlecase

                                              Instances For
                                                @[inline]

                                                Check if code point is an uppercase letter using lookup table

                                                Unicode property: Uppercase

                                                Instances For

                                                  Check if code point is a white space character using lookup table

                                                  Unicode property: White_Space

                                                  Instances For
                                                    @[inline]

                                                    Get the script of a code point using lookup table

                                                    Unicode property: Script

                                                    Instances For

                                                      Get the name of a script

                                                      Unicode property: Script

                                                      Instances For

                                                        Get the set of scripts a code point is commonly used with, using lookup table

                                                        Unicode property: Script_Extensions

                                                        Instances For