Changeset 39435 in project


Ignore:
Timestamp:
12/17/20 23:08:44 (4 weeks ago)
Author:
dieggsy
Message:

More ICU documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/icu

    r39432 r39435  
    9898Binding for {{u_isxdigit}}. Determines whether the specified code point is a
    9999hexadecimal digit.
     100
     101=== Operators and transformers
     102
     103<procedure>(char-mirror char)</procedure>
     104
     105Binding for {{u_charMirror}}. Maps the specified character to a "mirror-image"
     106character.
     107
     108<procedure>(char-bidi-paired-pracket)</procedure>
     109
     110Binding for {{u_getBidiPairedBracket}}. Maps the specified character to its
     111paired bracket character.
     112
     113<procedure>(char->lower char)</procedure>
     114<procedure>(char->upper char)</procedure>
     115<procedure>(char->title char)</procedure>
     116
     117Bindings for {{u_tolower}},{{u_toupper}}, and {{u_totitle}}
     118
     119=== Properties
     120
     121<procedure>(char-category char)</procedure>
     122
     123Binding for {{u_charType}}. Returns the general category value for the code
     124point (an integer, see below).
     125
     126You can convert this to a symbol with {{category->integer}}, and vice versa
     127with {{integer->category}}
     128
     129Categories:
     130<enscript>
     131category/unassigned
     132category/uppercase-letter
     133category/lowercase-letter
     134category/titlecase-letter
     135category/modifier-letter
     136category/other-letter
     137category/non-spacing-mark
     138category/enclosing-mark
     139category/combining-spacing-mark
     140category/decimal-digit-number
     141category/letter-number
     142category/other-number
     143category/space-separator
     144category/line-separator
     145category/paragraph-separator
     146category/control-char
     147category/format-char
     148category/private-use-char
     149category/surrogate
     150category/dash-punctuation
     151category/start-punctuation
     152category/end-punctuation
     153category/connector-punctuation
     154category/other-punctuation
     155category/math-symbol
     156category/currency-symbol
     157category/modifier-symbol
     158category/other-symbol
     159category/initial-punctuation
     160category/final-punctuation
     161category/char-category-count
     162</enscript>
     163
     164<procedure>(char-direction char)</procedure>
     165
     166Binding for {{u_charDirection}}. Returns the bidirectional category value for
     167the code point, which is used in the Unicode bidirectional algorithm (an
     168integer, see below).
     169
     170You can convert this to a symbol with {{direction->integer}}, and vice versa
     171with {{integer->direction}}
     172
     173Directions:
     174<enscript>
     175direction/left-to-right
     176direction/right-to-left
     177direction/european-number
     178direction/european-number-separator
     179direction/european-number-terminator
     180direction/arabic-number
     181direction/common-number-separator
     182direction/block-separator
     183direction/segment-separator
     184direction/white-space-neutral
     185direction/other-neutral
     186direction/left-to-right-embedding
     187direction/left-to-right-override
     188direction/right-to-left-arabic
     189direction/right-to-left-embedding
     190direction/right-to-left-override
     191direction/pop-directional-format
     192direction/dir-non-spacing-mark
     193direction/boundary-neutral
     194direction/first-strong-isolate
     195direction/left-to-right-isolate
     196direction/right-to-left-isolate
     197direction/pop-directional-isolate
     198direction/char-direction-count
     199</enscript>
     200
     201<procedure>(char-combining-class char)</procedure>
     202
     203Binding for {{u_getCombiningClass}}. Returns the combining class of the code
     204point as specified in UnicodeData.txt.
     205
     206=== Predicates
     207
     208<enscript>
     209char-mirrored?
     210char-ualphabetic?
     211char-ulowercase?
     212char-uuppercase?
     213char-uwhitespace?
     214char-whitespace?
     215char-java-space?
     216char-space?
     217char-blank?
     218char-lower?
     219char-upper?
     220char-digit?
     221char-alpha?
     222char-alnum?
     223char-xdigit?
     224char-punct?
     225char-graph?
     226char-defined?
     227char-cntrl?
     228char-iso-control?
     229char-print?
     230char-base?
     231</enscript>
Note: See TracChangeset for help on using the changeset viewer.