@swiftbrowser/wasm-sdk-foundation 0.0.0-stage → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +366 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
  6. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
  7. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
  8. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
  9. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
  10. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
  11. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
  12. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
  13. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
  14. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
  15. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
  16. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
  17. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
  18. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
  19. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
  20. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
  21. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
  22. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
  23. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
  24. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
  25. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
  26. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
  27. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
  28. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
  29. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
  30. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
  31. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
  32. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
  33. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
  34. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
  35. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
  36. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
  37. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
  38. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
  39. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
  40. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
  41. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
  42. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
  43. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
  44. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
  45. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
  46. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
  47. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
  48. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
  49. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
  50. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
  51. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
  52. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
  53. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
  54. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
  55. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
  56. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
  57. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
  58. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
  59. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
  60. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
  61. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
  62. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
  63. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
  64. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
  65. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
  66. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
  67. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
  68. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
  69. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
  70. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
  71. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
  72. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
  73. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
  74. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
  75. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
  76. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
  77. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
  78. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
  79. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
  80. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
  81. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
  82. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
  83. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
  84. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
  85. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
  86. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
  87. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
  88. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
  89. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
  90. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
  91. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
  92. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
  93. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
  94. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
  95. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
  96. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
  97. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
  98. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
  99. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
  100. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
  101. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
  102. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
  103. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
  104. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
  105. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
  106. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
  107. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
  108. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
  109. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
  110. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
  111. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
  112. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
  113. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
  114. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
  115. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
  116. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
  117. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
  118. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
  119. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
  120. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
  121. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
  122. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
  123. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
  124. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
  125. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
  126. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
  127. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
  128. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
  129. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
  130. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
  131. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
  132. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
  133. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
  134. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
  135. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
  136. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
  137. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
  138. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
  139. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
  140. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
  141. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
  142. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
  143. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
  144. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
  145. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
  146. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
  147. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
  148. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
  149. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
  150. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
  151. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
  152. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
  153. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
  154. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
  155. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
  156. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
  157. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
  158. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
  159. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
  160. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
  161. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
  162. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
  163. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
  164. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
  165. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
  166. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
  167. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
  168. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
  169. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
  170. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
  171. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
  172. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
  173. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
  174. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
  175. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
  176. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
  177. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
  178. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
  179. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
  180. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
  181. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
  182. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
  183. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
  184. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
  185. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
  186. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
  187. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
  188. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
  189. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
  190. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
  191. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
  192. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
  193. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
  194. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
  195. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
  196. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
  197. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
  198. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
  199. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
  200. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
  201. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
  202. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
  203. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
  204. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
  205. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
  206. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
  207. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
  208. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
  209. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
  210. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
  211. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
  212. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
  213. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
  214. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
  215. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
  216. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
  217. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
  218. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
  219. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
  220. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
  221. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
  222. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
  223. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
  224. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
  225. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
  226. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
  227. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
  228. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
  229. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
  230. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
  231. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
  232. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
  233. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
  234. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
  235. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
  236. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
  237. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
  238. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
  239. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
  240. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
  241. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
  242. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
  243. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
  244. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
  245. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
  246. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
  247. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
  248. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
  249. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
  250. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
  251. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
  252. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
  253. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
  254. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
  255. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
  256. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
  257. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
  258. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
  259. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
  260. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
  261. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
  262. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
  263. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
  264. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
  265. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
  266. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
  267. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
  268. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
  269. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
  270. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
  271. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
  272. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
  273. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
  274. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
  275. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
  276. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
  277. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
  278. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
  279. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
  280. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
  281. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
  282. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
  283. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
  284. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
  285. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
  286. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
  287. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
  288. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
  289. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
  290. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
  291. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
  292. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
  293. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
  294. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
  295. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
  296. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
  297. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
  298. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
  299. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
  300. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
  301. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
  302. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
  303. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
  304. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
  305. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
  306. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
  307. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
  308. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
  309. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
  310. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
  311. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
  312. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
  313. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
  314. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
  315. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
  316. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
  317. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
  318. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
  319. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
  320. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
  321. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
  322. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
  323. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
  324. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
  325. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
  326. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
  327. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
  328. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
  329. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
  330. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
  331. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
  332. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
  333. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
  334. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
  335. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
  336. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
  337. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
  338. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
  339. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
  340. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
  341. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
  342. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
  343. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
  344. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
  345. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
  346. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
  347. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
  348. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
  349. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
  350. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
  351. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
  352. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
  353. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
  354. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
  355. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
  356. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  357. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  358. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  359. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  360. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  361. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
  362. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
  363. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
  364. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
  365. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
  366. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
  367. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
  368. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
@@ -0,0 +1,4410 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ **********************************************************************
5
+ * Copyright (C) 1997-2016, International Business Machines
6
+ * Corporation and others. All Rights Reserved.
7
+ **********************************************************************
8
+ *
9
+ * File UCHAR.H
10
+ *
11
+ * Modification History:
12
+ *
13
+ * Date Name Description
14
+ * 04/02/97 aliu Creation.
15
+ * 03/29/99 helena Updated for C APIs.
16
+ * 4/15/99 Madhu Updated for C Implementation and Javadoc
17
+ * 5/20/99 Madhu Added the function u_getVersion()
18
+ * 8/19/1999 srl Upgraded scripts to Unicode 3.0
19
+ * 8/27/1999 schererm UCharDirection constants: U_...
20
+ * 11/11/1999 weiv added u_isalnum(), cleaned comments
21
+ * 01/11/2000 helena Renamed u_getVersion to u_getUnicodeVersion().
22
+ ******************************************************************************
23
+ */
24
+
25
+ #ifndef UCHAR_H
26
+ #define UCHAR_H
27
+
28
+ #include <stdbool.h>
29
+ #include <_foundation_unicode/utypes.h>
30
+ #include <_foundation_unicode/stringoptions.h>
31
+ #include <_foundation_unicode/ucpmap.h>
32
+
33
+ #if !defined(USET_DEFINED) && !defined(U_IN_DOXYGEN)
34
+
35
+ #define USET_DEFINED
36
+
37
+ /**
38
+ * USet is the C API type corresponding to C++ class UnicodeSet.
39
+ * It is forward-declared here to avoid including unicode/uset.h file if related
40
+ * APIs are not used.
41
+ *
42
+ * @see ucnv_getUnicodeSet
43
+ * @stable ICU 2.4
44
+ */
45
+ typedef struct USet USet;
46
+
47
+ #endif
48
+
49
+
50
+ U_CDECL_BEGIN
51
+
52
+ /*==========================================================================*/
53
+ /* Unicode version number */
54
+ /*==========================================================================*/
55
+ /**
56
+ * Unicode version number, default for the current ICU version.
57
+ * The actual Unicode Character Database (UCD) data is stored in uprops.icu
58
+ * and may be generated from UCD files from a different Unicode version.
59
+ * Call u_getUnicodeVersion to get the actual Unicode version of the data.
60
+ *
61
+ * @see u_getUnicodeVersion
62
+ * @stable ICU 2.0
63
+ */
64
+ #define U_UNICODE_VERSION "16.0"
65
+
66
+ /**
67
+ * \file
68
+ * \brief C API: Unicode Properties
69
+ *
70
+ * This C API provides low-level access to the Unicode Character Database.
71
+ * In addition to raw property values, some convenience functions calculate
72
+ * derived properties, for example for Java-style programming.
73
+ *
74
+ * Unicode assigns each code point (not just assigned character) values for
75
+ * many properties.
76
+ * Most of them are simple boolean flags, or constants from a small enumerated list.
77
+ * For some properties, values are strings or other relatively more complex types.
78
+ *
79
+ * For more information see
80
+ * "About the Unicode Character Database" (http://www.unicode.org/ucd/)
81
+ * and the ICU User Guide chapter on Properties (https://unicode-org.github.io/icu/userguide/strings/properties).
82
+ *
83
+ * Many properties are accessible via generic functions that take a UProperty selector.
84
+ * - u_hasBinaryProperty() returns a binary value (true/false) per property and code point.
85
+ * - u_getIntPropertyValue() returns an integer value per property and code point.
86
+ * For each supported enumerated or catalog property, there is
87
+ * an enum type for all of the property's values, and
88
+ * u_getIntPropertyValue() returns the numeric values of those constants.
89
+ * - u_getBinaryPropertySet() returns a set for each ICU-supported binary property with
90
+ * all code points for which the property is true.
91
+ * - u_getIntPropertyMap() returns a map for each
92
+ * ICU-supported enumerated/catalog/int-valued property which
93
+ * maps all Unicode code points to their values for that property.
94
+ *
95
+ * Many functions are designed to match java.lang.Character functions.
96
+ * See the individual function documentation,
97
+ * and see the JDK 1.4 java.lang.Character documentation
98
+ * at http://java.sun.com/j2se/1.4/docs/api/java/lang/Character.html
99
+ *
100
+ * There are also functions that provide easy migration from C/POSIX functions
101
+ * like isblank(). Their use is generally discouraged because the C/POSIX
102
+ * standards do not define their semantics beyond the ASCII range, which means
103
+ * that different implementations exhibit very different behavior.
104
+ * Instead, Unicode properties should be used directly.
105
+ *
106
+ * There are also only a few, broad C/POSIX character classes, and they tend
107
+ * to be used for conflicting purposes. For example, the "isalpha()" class
108
+ * is sometimes used to determine word boundaries, while a more sophisticated
109
+ * approach would at least distinguish initial letters from continuation
110
+ * characters (the latter including combining marks).
111
+ * (In ICU, BreakIterator is the most sophisticated API for word boundaries.)
112
+ * Another example: There is no "istitle()" class for titlecase characters.
113
+ *
114
+ * ICU 3.4 and later provides API access for all twelve C/POSIX character classes.
115
+ * ICU implements them according to the Standard Recommendations in
116
+ * Annex C: Compatibility Properties of UTS #18 Unicode Regular Expressions
117
+ * (http://www.unicode.org/reports/tr18/#Compatibility_Properties).
118
+ *
119
+ * API access for C/POSIX character classes is as follows:
120
+ * - alpha: u_isUAlphabetic(c) or u_hasBinaryProperty(c, UCHAR_ALPHABETIC)
121
+ * - lower: u_isULowercase(c) or u_hasBinaryProperty(c, UCHAR_LOWERCASE)
122
+ * - upper: u_isUUppercase(c) or u_hasBinaryProperty(c, UCHAR_UPPERCASE)
123
+ * - punct: u_ispunct(c)
124
+ * - digit: u_isdigit(c) or u_charType(c)==U_DECIMAL_DIGIT_NUMBER
125
+ * - xdigit: u_isxdigit(c) or u_hasBinaryProperty(c, UCHAR_POSIX_XDIGIT)
126
+ * - alnum: u_hasBinaryProperty(c, UCHAR_POSIX_ALNUM)
127
+ * - space: u_isUWhiteSpace(c) or u_hasBinaryProperty(c, UCHAR_WHITE_SPACE)
128
+ * - blank: u_isblank(c) or u_hasBinaryProperty(c, UCHAR_POSIX_BLANK)
129
+ * - cntrl: u_charType(c)==U_CONTROL_CHAR
130
+ * - graph: u_hasBinaryProperty(c, UCHAR_POSIX_GRAPH)
131
+ * - print: u_hasBinaryProperty(c, UCHAR_POSIX_PRINT)
132
+ *
133
+ * Note: Some of the u_isxyz() functions in uchar.h predate, and do not match,
134
+ * the Standard Recommendations in UTS #18. Instead, they match Java
135
+ * functions according to their API documentation.
136
+ *
137
+ * \htmlonly
138
+ * The C/POSIX character classes are also available in UnicodeSet patterns,
139
+ * using patterns like [:graph:] or \p{graph}.
140
+ * \endhtmlonly
141
+ *
142
+ * Note: There are several ICU whitespace functions.
143
+ * Comparison:
144
+ * - u_isUWhiteSpace=UCHAR_WHITE_SPACE: Unicode White_Space property;
145
+ * most of general categories "Z" (separators) + most whitespace ISO controls
146
+ * (including no-break spaces, but excluding IS1..IS4)
147
+ * - u_isWhitespace: Java isWhitespace; Z + whitespace ISO controls but excluding no-break spaces
148
+ * - u_isJavaSpaceChar: Java isSpaceChar; just Z (including no-break spaces)
149
+ * - u_isspace: Z + whitespace ISO controls (including no-break spaces)
150
+ * - u_isblank: "horizontal spaces" = TAB + Zs
151
+ */
152
+
153
+ /**
154
+ * Constants.
155
+ */
156
+
157
+ /** The lowest Unicode code point value. Code points are non-negative. @stable ICU 2.0 */
158
+ #define UCHAR_MIN_VALUE 0
159
+
160
+ /**
161
+ * The highest Unicode code point value (scalar value) according to
162
+ * The Unicode Standard. This is a 21-bit value (20.1 bits, rounded up).
163
+ * For a single character, UChar32 is a simple type that can hold any code point value.
164
+ *
165
+ * @see UChar32
166
+ * @stable ICU 2.0
167
+ */
168
+ #define UCHAR_MAX_VALUE 0x10ffff
169
+
170
+ /**
171
+ * Get a single-bit bit set (a flag) from a bit number 0..31.
172
+ * @stable ICU 2.1
173
+ */
174
+ #define U_MASK(x) ((uint32_t)1<<(x))
175
+
176
+ /**
177
+ * Selection constants for Unicode properties.
178
+ * These constants are used in functions like u_hasBinaryProperty to select
179
+ * one of the Unicode properties.
180
+ *
181
+ * The properties APIs are intended to reflect Unicode properties as defined
182
+ * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
183
+ *
184
+ * For details about the properties see
185
+ * UAX #44: Unicode Character Database (http://www.unicode.org/reports/tr44/).
186
+ *
187
+ * Important: If ICU is built with UCD files from Unicode versions below, e.g., 3.2,
188
+ * then properties marked with "new in Unicode 3.2" are not or not fully available.
189
+ * Check u_getUnicodeVersion to be sure.
190
+ *
191
+ * @see u_hasBinaryProperty
192
+ * @see u_getIntPropertyValue
193
+ * @see u_getUnicodeVersion
194
+ * @stable ICU 2.1
195
+ */
196
+ typedef enum UProperty {
197
+ /*
198
+ * Note: UProperty constants are parsed by preparseucd.py.
199
+ * It matches lines like
200
+ * UCHAR_<Unicode property name>=<integer>,
201
+ */
202
+
203
+ /* Note: Place UCHAR_ALPHABETIC before UCHAR_BINARY_START so that
204
+ debuggers display UCHAR_ALPHABETIC as the symbolic name for 0,
205
+ rather than UCHAR_BINARY_START. Likewise for other *_START
206
+ identifiers. */
207
+
208
+ /** Binary property Alphabetic. Same as u_isUAlphabetic, different from u_isalpha.
209
+ Lu+Ll+Lt+Lm+Lo+Nl+Other_Alphabetic @stable ICU 2.1 */
210
+ UCHAR_ALPHABETIC=0,
211
+ /** First constant for binary Unicode properties. @stable ICU 2.1 */
212
+ UCHAR_BINARY_START=UCHAR_ALPHABETIC,
213
+ /** Binary property ASCII_Hex_Digit. 0-9 A-F a-f @stable ICU 2.1 */
214
+ UCHAR_ASCII_HEX_DIGIT=1,
215
+ /** Binary property Bidi_Control.
216
+ Format controls which have specific functions
217
+ in the Bidi Algorithm. @stable ICU 2.1 */
218
+ UCHAR_BIDI_CONTROL=2,
219
+ /** Binary property Bidi_Mirrored.
220
+ Characters that may change display in RTL text.
221
+ Same as u_isMirrored.
222
+ See Bidi Algorithm, UTR 9. @stable ICU 2.1 */
223
+ UCHAR_BIDI_MIRRORED=3,
224
+ /** Binary property Dash. Variations of dashes. @stable ICU 2.1 */
225
+ UCHAR_DASH=4,
226
+ /** Binary property Default_Ignorable_Code_Point (new in Unicode 3.2).
227
+ Ignorable in most processing.
228
+ <2060..206F, FFF0..FFFB, E0000..E0FFF>+Other_Default_Ignorable_Code_Point+(Cf+Cc+Cs-White_Space) @stable ICU 2.1 */
229
+ UCHAR_DEFAULT_IGNORABLE_CODE_POINT=5,
230
+ /** Binary property Deprecated (new in Unicode 3.2).
231
+ The usage of deprecated characters is strongly discouraged. @stable ICU 2.1 */
232
+ UCHAR_DEPRECATED=6,
233
+ /** Binary property Diacritic. Characters that linguistically modify
234
+ the meaning of another character to which they apply. @stable ICU 2.1 */
235
+ UCHAR_DIACRITIC=7,
236
+ /** Binary property Extender.
237
+ Extend the value or shape of a preceding alphabetic character,
238
+ e.g., length and iteration marks. @stable ICU 2.1 */
239
+ UCHAR_EXTENDER=8,
240
+ /** Binary property Full_Composition_Exclusion.
241
+ CompositionExclusions.txt+Singleton Decompositions+
242
+ Non-Starter Decompositions. @stable ICU 2.1 */
243
+ UCHAR_FULL_COMPOSITION_EXCLUSION=9,
244
+ /** Binary property Grapheme_Base (new in Unicode 3.2).
245
+ For programmatic determination of grapheme cluster boundaries.
246
+ [0..10FFFF]-Cc-Cf-Cs-Co-Cn-Zl-Zp-Grapheme_Link-Grapheme_Extend-CGJ @stable ICU 2.1 */
247
+ UCHAR_GRAPHEME_BASE=10,
248
+ /** Binary property Grapheme_Extend (new in Unicode 3.2).
249
+ For programmatic determination of grapheme cluster boundaries.
250
+ Me+Mn+Mc+Other_Grapheme_Extend-Grapheme_Link-CGJ @stable ICU 2.1 */
251
+ UCHAR_GRAPHEME_EXTEND=11,
252
+ /** Binary property Grapheme_Link (new in Unicode 3.2).
253
+ For programmatic determination of grapheme cluster boundaries. @stable ICU 2.1 */
254
+ UCHAR_GRAPHEME_LINK=12,
255
+ /** Binary property Hex_Digit.
256
+ Characters commonly used for hexadecimal numbers. @stable ICU 2.1 */
257
+ UCHAR_HEX_DIGIT=13,
258
+ /** Binary property Hyphen. Dashes used to mark connections
259
+ between pieces of words, plus the Katakana middle dot. @stable ICU 2.1 */
260
+ UCHAR_HYPHEN=14,
261
+ /** Binary property ID_Continue.
262
+ Characters that can continue an identifier.
263
+ DerivedCoreProperties.txt also says "NOTE: Cf characters should be filtered out."
264
+ ID_Start+Mn+Mc+Nd+Pc @stable ICU 2.1 */
265
+ UCHAR_ID_CONTINUE=15,
266
+ /** Binary property ID_Start.
267
+ Characters that can start an identifier.
268
+ Lu+Ll+Lt+Lm+Lo+Nl @stable ICU 2.1 */
269
+ UCHAR_ID_START=16,
270
+ /** Binary property Ideographic.
271
+ CJKV ideographs. @stable ICU 2.1 */
272
+ UCHAR_IDEOGRAPHIC=17,
273
+ /** Binary property IDS_Binary_Operator (new in Unicode 3.2).
274
+ For programmatic determination of
275
+ Ideographic Description Sequences. @stable ICU 2.1 */
276
+ UCHAR_IDS_BINARY_OPERATOR=18,
277
+ /** Binary property IDS_Trinary_Operator (new in Unicode 3.2).
278
+ For programmatic determination of
279
+ Ideographic Description Sequences. @stable ICU 2.1 */
280
+ UCHAR_IDS_TRINARY_OPERATOR=19,
281
+ /** Binary property Join_Control.
282
+ Format controls for cursive joining and ligation. @stable ICU 2.1 */
283
+ UCHAR_JOIN_CONTROL=20,
284
+ /** Binary property Logical_Order_Exception (new in Unicode 3.2).
285
+ Characters that do not use logical order and
286
+ require special handling in most processing. @stable ICU 2.1 */
287
+ UCHAR_LOGICAL_ORDER_EXCEPTION=21,
288
+ /** Binary property Lowercase. Same as u_isULowercase, different from u_islower.
289
+ Ll+Other_Lowercase @stable ICU 2.1 */
290
+ UCHAR_LOWERCASE=22,
291
+ /** Binary property Math. Sm+Other_Math @stable ICU 2.1 */
292
+ UCHAR_MATH=23,
293
+ /** Binary property Noncharacter_Code_Point.
294
+ Code points that are explicitly defined as illegal
295
+ for the encoding of characters. @stable ICU 2.1 */
296
+ UCHAR_NONCHARACTER_CODE_POINT=24,
297
+ /** Binary property Quotation_Mark. @stable ICU 2.1 */
298
+ UCHAR_QUOTATION_MARK=25,
299
+ /** Binary property Radical (new in Unicode 3.2).
300
+ For programmatic determination of
301
+ Ideographic Description Sequences. @stable ICU 2.1 */
302
+ UCHAR_RADICAL=26,
303
+ /** Binary property Soft_Dotted (new in Unicode 3.2).
304
+ Characters with a "soft dot", like i or j.
305
+ An accent placed on these characters causes
306
+ the dot to disappear. @stable ICU 2.1 */
307
+ UCHAR_SOFT_DOTTED=27,
308
+ /** Binary property Terminal_Punctuation.
309
+ Punctuation characters that generally mark
310
+ the end of textual units. @stable ICU 2.1 */
311
+ UCHAR_TERMINAL_PUNCTUATION=28,
312
+ /** Binary property Unified_Ideograph (new in Unicode 3.2).
313
+ For programmatic determination of
314
+ Ideographic Description Sequences. @stable ICU 2.1 */
315
+ UCHAR_UNIFIED_IDEOGRAPH=29,
316
+ /** Binary property Uppercase. Same as u_isUUppercase, different from u_isupper.
317
+ Lu+Other_Uppercase @stable ICU 2.1 */
318
+ UCHAR_UPPERCASE=30,
319
+ /** Binary property White_Space.
320
+ Same as u_isUWhiteSpace, different from u_isspace and u_isWhitespace.
321
+ Space characters+TAB+CR+LF-ZWSP-ZWNBSP @stable ICU 2.1 */
322
+ UCHAR_WHITE_SPACE=31,
323
+ /** Binary property XID_Continue.
324
+ ID_Continue modified to allow closure under
325
+ normalization forms NFKC and NFKD. @stable ICU 2.1 */
326
+ UCHAR_XID_CONTINUE=32,
327
+ /** Binary property XID_Start. ID_Start modified to allow
328
+ closure under normalization forms NFKC and NFKD. @stable ICU 2.1 */
329
+ UCHAR_XID_START=33,
330
+ /** Binary property Case_Sensitive. Either the source of a case
331
+ mapping or _in_ the target of a case mapping. Not the same as
332
+ the general category Cased_Letter. @stable ICU 2.6 */
333
+ UCHAR_CASE_SENSITIVE=34,
334
+ /** Binary property STerm (new in Unicode 4.0.1).
335
+ Sentence Terminal. Used in UAX #29: Text Boundaries
336
+ (http://www.unicode.org/reports/tr29/)
337
+ @stable ICU 3.0 */
338
+ UCHAR_S_TERM=35,
339
+ /** Binary property Variation_Selector (new in Unicode 4.0.1).
340
+ Indicates all those characters that qualify as Variation Selectors.
341
+ For details on the behavior of these characters,
342
+ see StandardizedVariants.html and 15.6 Variation Selectors.
343
+ @stable ICU 3.0 */
344
+ UCHAR_VARIATION_SELECTOR=36,
345
+ /** Binary property NFD_Inert.
346
+ ICU-specific property for characters that are inert under NFD,
347
+ i.e., they do not interact with adjacent characters.
348
+ See the documentation for the Normalizer2 class and the
349
+ Normalizer2::isInert() method.
350
+ @stable ICU 3.0 */
351
+ UCHAR_NFD_INERT=37,
352
+ /** Binary property NFKD_Inert.
353
+ ICU-specific property for characters that are inert under NFKD,
354
+ i.e., they do not interact with adjacent characters.
355
+ See the documentation for the Normalizer2 class and the
356
+ Normalizer2::isInert() method.
357
+ @stable ICU 3.0 */
358
+ UCHAR_NFKD_INERT=38,
359
+ /** Binary property NFC_Inert.
360
+ ICU-specific property for characters that are inert under NFC,
361
+ i.e., they do not interact with adjacent characters.
362
+ See the documentation for the Normalizer2 class and the
363
+ Normalizer2::isInert() method.
364
+ @stable ICU 3.0 */
365
+ UCHAR_NFC_INERT=39,
366
+ /** Binary property NFKC_Inert.
367
+ ICU-specific property for characters that are inert under NFKC,
368
+ i.e., they do not interact with adjacent characters.
369
+ See the documentation for the Normalizer2 class and the
370
+ Normalizer2::isInert() method.
371
+ @stable ICU 3.0 */
372
+ UCHAR_NFKC_INERT=40,
373
+ /** Binary Property Segment_Starter.
374
+ ICU-specific property for characters that are starters in terms of
375
+ Unicode normalization and combining character sequences.
376
+ They have ccc=0 and do not occur in non-initial position of the
377
+ canonical decomposition of any character
378
+ (like a-umlaut in NFD and a Jamo T in an NFD(Hangul LVT)).
379
+ ICU uses this property for segmenting a string for generating a set of
380
+ canonically equivalent strings, e.g. for canonical closure while
381
+ processing collation tailoring rules.
382
+ @stable ICU 3.0 */
383
+ UCHAR_SEGMENT_STARTER=41,
384
+ /** Binary property Pattern_Syntax (new in Unicode 4.1).
385
+ See UAX #31 Identifier and Pattern Syntax
386
+ (http://www.unicode.org/reports/tr31/)
387
+ @stable ICU 3.4 */
388
+ UCHAR_PATTERN_SYNTAX=42,
389
+ /** Binary property Pattern_White_Space (new in Unicode 4.1).
390
+ See UAX #31 Identifier and Pattern Syntax
391
+ (http://www.unicode.org/reports/tr31/)
392
+ @stable ICU 3.4 */
393
+ UCHAR_PATTERN_WHITE_SPACE=43,
394
+ /** Binary property alnum (a C/POSIX character class).
395
+ Implemented according to the UTS #18 Annex C Standard Recommendation.
396
+ See the uchar.h file documentation.
397
+ @stable ICU 3.4 */
398
+ UCHAR_POSIX_ALNUM=44,
399
+ /** Binary property blank (a C/POSIX character class).
400
+ Implemented according to the UTS #18 Annex C Standard Recommendation.
401
+ See the uchar.h file documentation.
402
+ @stable ICU 3.4 */
403
+ UCHAR_POSIX_BLANK=45,
404
+ /** Binary property graph (a C/POSIX character class).
405
+ Implemented according to the UTS #18 Annex C Standard Recommendation.
406
+ See the uchar.h file documentation.
407
+ @stable ICU 3.4 */
408
+ UCHAR_POSIX_GRAPH=46,
409
+ /** Binary property print (a C/POSIX character class).
410
+ Implemented according to the UTS #18 Annex C Standard Recommendation.
411
+ See the uchar.h file documentation.
412
+ @stable ICU 3.4 */
413
+ UCHAR_POSIX_PRINT=47,
414
+ /** Binary property xdigit (a C/POSIX character class).
415
+ Implemented according to the UTS #18 Annex C Standard Recommendation.
416
+ See the uchar.h file documentation.
417
+ @stable ICU 3.4 */
418
+ UCHAR_POSIX_XDIGIT=48,
419
+ /** Binary property Cased. For Lowercase, Uppercase and Titlecase characters. @stable ICU 4.4 */
420
+ UCHAR_CASED=49,
421
+ /** Binary property Case_Ignorable. Used in context-sensitive case mappings. @stable ICU 4.4 */
422
+ UCHAR_CASE_IGNORABLE=50,
423
+ /** Binary property Changes_When_Lowercased. @stable ICU 4.4 */
424
+ UCHAR_CHANGES_WHEN_LOWERCASED=51,
425
+ /** Binary property Changes_When_Uppercased. @stable ICU 4.4 */
426
+ UCHAR_CHANGES_WHEN_UPPERCASED=52,
427
+ /** Binary property Changes_When_Titlecased. @stable ICU 4.4 */
428
+ UCHAR_CHANGES_WHEN_TITLECASED=53,
429
+ /** Binary property Changes_When_Casefolded. @stable ICU 4.4 */
430
+ UCHAR_CHANGES_WHEN_CASEFOLDED=54,
431
+ /** Binary property Changes_When_Casemapped. @stable ICU 4.4 */
432
+ UCHAR_CHANGES_WHEN_CASEMAPPED=55,
433
+ /** Binary property Changes_When_NFKC_Casefolded. @stable ICU 4.4 */
434
+ UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED=56,
435
+ /**
436
+ * Binary property Emoji.
437
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
438
+ *
439
+ * @stable ICU 57
440
+ */
441
+ UCHAR_EMOJI=57,
442
+ /**
443
+ * Binary property Emoji_Presentation.
444
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
445
+ *
446
+ * @stable ICU 57
447
+ */
448
+ UCHAR_EMOJI_PRESENTATION=58,
449
+ /**
450
+ * Binary property Emoji_Modifier.
451
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
452
+ *
453
+ * @stable ICU 57
454
+ */
455
+ UCHAR_EMOJI_MODIFIER=59,
456
+ /**
457
+ * Binary property Emoji_Modifier_Base.
458
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
459
+ *
460
+ * @stable ICU 57
461
+ */
462
+ UCHAR_EMOJI_MODIFIER_BASE=60,
463
+ /**
464
+ * Binary property Emoji_Component.
465
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
466
+ *
467
+ * @stable ICU 60
468
+ */
469
+ UCHAR_EMOJI_COMPONENT=61,
470
+ /**
471
+ * Binary property Regional_Indicator.
472
+ * @stable ICU 60
473
+ */
474
+ UCHAR_REGIONAL_INDICATOR=62,
475
+ /**
476
+ * Binary property Prepended_Concatenation_Mark.
477
+ * @stable ICU 60
478
+ */
479
+ UCHAR_PREPENDED_CONCATENATION_MARK=63,
480
+ /**
481
+ * Binary property Extended_Pictographic.
482
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
483
+ *
484
+ * @stable ICU 62
485
+ */
486
+ UCHAR_EXTENDED_PICTOGRAPHIC=64,
487
+ /**
488
+ * Binary property of strings Basic_Emoji.
489
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
490
+ *
491
+ * @stable ICU 70
492
+ */
493
+ UCHAR_BASIC_EMOJI=65,
494
+ /**
495
+ * Binary property of strings Emoji_Keycap_Sequence.
496
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
497
+ *
498
+ * @stable ICU 70
499
+ */
500
+ UCHAR_EMOJI_KEYCAP_SEQUENCE=66,
501
+ /**
502
+ * Binary property of strings RGI_Emoji_Modifier_Sequence.
503
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
504
+ *
505
+ * @stable ICU 70
506
+ */
507
+ UCHAR_RGI_EMOJI_MODIFIER_SEQUENCE=67,
508
+ /**
509
+ * Binary property of strings RGI_Emoji_Flag_Sequence.
510
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
511
+ *
512
+ * @stable ICU 70
513
+ */
514
+ UCHAR_RGI_EMOJI_FLAG_SEQUENCE=68,
515
+ /**
516
+ * Binary property of strings RGI_Emoji_Tag_Sequence.
517
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
518
+ *
519
+ * @stable ICU 70
520
+ */
521
+ UCHAR_RGI_EMOJI_TAG_SEQUENCE=69,
522
+ /**
523
+ * Binary property of strings RGI_Emoji_ZWJ_Sequence.
524
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
525
+ *
526
+ * @stable ICU 70
527
+ */
528
+ UCHAR_RGI_EMOJI_ZWJ_SEQUENCE=70,
529
+ /**
530
+ * Binary property of strings RGI_Emoji.
531
+ * See https://www.unicode.org/reports/tr51/#Emoji_Sets
532
+ *
533
+ * @stable ICU 70
534
+ */
535
+ UCHAR_RGI_EMOJI=71,
536
+ /**
537
+ * Binary property IDS_Unary_Operator.
538
+ * For programmatic determination of Ideographic Description Sequences.
539
+ *
540
+ * @stable ICU 74
541
+ */
542
+ UCHAR_IDS_UNARY_OPERATOR=72,
543
+ /**
544
+ * Binary property ID_Compat_Math_Start.
545
+ * Used in mathematical identifier profile in UAX #31.
546
+ * @stable ICU 74
547
+ */
548
+ UCHAR_ID_COMPAT_MATH_START=73,
549
+ /**
550
+ * Binary property ID_Compat_Math_Continue.
551
+ * Used in mathematical identifier profile in UAX #31.
552
+ * @stable ICU 74
553
+ */
554
+ UCHAR_ID_COMPAT_MATH_CONTINUE=74,
555
+ #ifndef U_HIDE_DRAFT_API
556
+ /**
557
+ * Binary property Modifier_Combining_Mark.
558
+ * Used by the AMTRA algorithm in UAX #53.
559
+ * @draft ICU 76
560
+ */
561
+ UCHAR_MODIFIER_COMBINING_MARK=75,
562
+ #endif // U_HIDE_DRAFT_API
563
+ #ifndef U_HIDE_DEPRECATED_API
564
+ /**
565
+ * One more than the last constant for binary Unicode properties.
566
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
567
+ */
568
+ UCHAR_BINARY_LIMIT=76,
569
+ #endif // U_HIDE_DEPRECATED_API
570
+
571
+ /** Enumerated property Bidi_Class.
572
+ Same as u_charDirection, returns UCharDirection values. @stable ICU 2.2 */
573
+ UCHAR_BIDI_CLASS=0x1000,
574
+ /** First constant for enumerated/integer Unicode properties. @stable ICU 2.2 */
575
+ UCHAR_INT_START=UCHAR_BIDI_CLASS,
576
+ /** Enumerated property Block.
577
+ Same as ublock_getCode, returns UBlockCode values. @stable ICU 2.2 */
578
+ UCHAR_BLOCK=0x1001,
579
+ /** Enumerated property Canonical_Combining_Class.
580
+ Same as u_getCombiningClass, returns 8-bit numeric values. @stable ICU 2.2 */
581
+ UCHAR_CANONICAL_COMBINING_CLASS=0x1002,
582
+ /** Enumerated property Decomposition_Type.
583
+ Returns UDecompositionType values. @stable ICU 2.2 */
584
+ UCHAR_DECOMPOSITION_TYPE=0x1003,
585
+ /** Enumerated property East_Asian_Width.
586
+ See http://www.unicode.org/reports/tr11/
587
+ Returns UEastAsianWidth values. @stable ICU 2.2 */
588
+ UCHAR_EAST_ASIAN_WIDTH=0x1004,
589
+ /** Enumerated property General_Category.
590
+ Same as u_charType, returns UCharCategory values. @stable ICU 2.2 */
591
+ UCHAR_GENERAL_CATEGORY=0x1005,
592
+ /** Enumerated property Joining_Group.
593
+ Returns UJoiningGroup values. @stable ICU 2.2 */
594
+ UCHAR_JOINING_GROUP=0x1006,
595
+ /** Enumerated property Joining_Type.
596
+ Returns UJoiningType values. @stable ICU 2.2 */
597
+ UCHAR_JOINING_TYPE=0x1007,
598
+ /** Enumerated property Line_Break.
599
+ Returns ULineBreak values. @stable ICU 2.2 */
600
+ UCHAR_LINE_BREAK=0x1008,
601
+ /** Enumerated property Numeric_Type.
602
+ Returns UNumericType values. @stable ICU 2.2 */
603
+ UCHAR_NUMERIC_TYPE=0x1009,
604
+ /** Enumerated property Script.
605
+ Same as uscript_getScript, returns UScriptCode values. @stable ICU 2.2 */
606
+ UCHAR_SCRIPT=0x100A,
607
+ /** Enumerated property Hangul_Syllable_Type, new in Unicode 4.
608
+ Returns UHangulSyllableType values. @stable ICU 2.6 */
609
+ UCHAR_HANGUL_SYLLABLE_TYPE=0x100B,
610
+ /** Enumerated property NFD_Quick_Check.
611
+ Returns UNormalizationCheckResult values. @stable ICU 3.0 */
612
+ UCHAR_NFD_QUICK_CHECK=0x100C,
613
+ /** Enumerated property NFKD_Quick_Check.
614
+ Returns UNormalizationCheckResult values. @stable ICU 3.0 */
615
+ UCHAR_NFKD_QUICK_CHECK=0x100D,
616
+ /** Enumerated property NFC_Quick_Check.
617
+ Returns UNormalizationCheckResult values. @stable ICU 3.0 */
618
+ UCHAR_NFC_QUICK_CHECK=0x100E,
619
+ /** Enumerated property NFKC_Quick_Check.
620
+ Returns UNormalizationCheckResult values. @stable ICU 3.0 */
621
+ UCHAR_NFKC_QUICK_CHECK=0x100F,
622
+ /** Enumerated property Lead_Canonical_Combining_Class.
623
+ ICU-specific property for the ccc of the first code point
624
+ of the decomposition, or lccc(c)=ccc(NFD(c)[0]).
625
+ Useful for checking for canonically ordered text;
626
+ see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
627
+ Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @stable ICU 3.0 */
628
+ UCHAR_LEAD_CANONICAL_COMBINING_CLASS=0x1010,
629
+ /** Enumerated property Trail_Canonical_Combining_Class.
630
+ ICU-specific property for the ccc of the last code point
631
+ of the decomposition, or tccc(c)=ccc(NFD(c)[last]).
632
+ Useful for checking for canonically ordered text;
633
+ see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
634
+ Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @stable ICU 3.0 */
635
+ UCHAR_TRAIL_CANONICAL_COMBINING_CLASS=0x1011,
636
+ /** Enumerated property Grapheme_Cluster_Break (new in Unicode 4.1).
637
+ Used in UAX #29: Text Boundaries
638
+ (http://www.unicode.org/reports/tr29/)
639
+ Returns UGraphemeClusterBreak values. @stable ICU 3.4 */
640
+ UCHAR_GRAPHEME_CLUSTER_BREAK=0x1012,
641
+ /** Enumerated property Sentence_Break (new in Unicode 4.1).
642
+ Used in UAX #29: Text Boundaries
643
+ (http://www.unicode.org/reports/tr29/)
644
+ Returns USentenceBreak values. @stable ICU 3.4 */
645
+ UCHAR_SENTENCE_BREAK=0x1013,
646
+ /** Enumerated property Word_Break (new in Unicode 4.1).
647
+ Used in UAX #29: Text Boundaries
648
+ (http://www.unicode.org/reports/tr29/)
649
+ Returns UWordBreakValues values. @stable ICU 3.4 */
650
+ UCHAR_WORD_BREAK=0x1014,
651
+ /** Enumerated property Bidi_Paired_Bracket_Type (new in Unicode 6.3).
652
+ Used in UAX #9: Unicode Bidirectional Algorithm
653
+ (http://www.unicode.org/reports/tr9/)
654
+ Returns UBidiPairedBracketType values. @stable ICU 52 */
655
+ UCHAR_BIDI_PAIRED_BRACKET_TYPE=0x1015,
656
+ /**
657
+ * Enumerated property Indic_Positional_Category.
658
+ * New in Unicode 6.0 as provisional property Indic_Matra_Category;
659
+ * renamed and changed to informative in Unicode 8.0.
660
+ * See http://www.unicode.org/reports/tr44/#IndicPositionalCategory.txt
661
+ * @stable ICU 63
662
+ */
663
+ UCHAR_INDIC_POSITIONAL_CATEGORY=0x1016,
664
+ /**
665
+ * Enumerated property Indic_Syllabic_Category.
666
+ * New in Unicode 6.0 as provisional; informative since Unicode 8.0.
667
+ * See http://www.unicode.org/reports/tr44/#IndicSyllabicCategory.txt
668
+ * @stable ICU 63
669
+ */
670
+ UCHAR_INDIC_SYLLABIC_CATEGORY=0x1017,
671
+ /**
672
+ * Enumerated property Vertical_Orientation.
673
+ * Used for UAX #50 Unicode Vertical Text Layout (https://www.unicode.org/reports/tr50/).
674
+ * New as a UCD property in Unicode 10.0.
675
+ * @stable ICU 63
676
+ */
677
+ UCHAR_VERTICAL_ORIENTATION=0x1018,
678
+ #ifndef U_HIDE_DRAFT_API
679
+ /**
680
+ * Enumerated property Identifier_Status.
681
+ * Used for UTS #39 General Security Profile for Identifiers
682
+ * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
683
+ * @draft ICU 75
684
+ */
685
+ UCHAR_IDENTIFIER_STATUS=0x1019,
686
+ /**
687
+ * Enumerated property Indic_Conjunct_Break.
688
+ * Used in the grapheme cluster break algorithm in UAX #29.
689
+ * @draft ICU 76
690
+ */
691
+ UCHAR_INDIC_CONJUNCT_BREAK=0x101A,
692
+ #endif // U_HIDE_DRAFT_API
693
+ #ifndef U_HIDE_DEPRECATED_API
694
+ /**
695
+ * One more than the last constant for enumerated/integer Unicode properties.
696
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
697
+ */
698
+ UCHAR_INT_LIMIT=0x101B,
699
+ #endif // U_HIDE_DEPRECATED_API
700
+
701
+ /** Bitmask property General_Category_Mask.
702
+ This is the General_Category property returned as a bit mask.
703
+ When used in u_getIntPropertyValue(c), same as U_MASK(u_charType(c)),
704
+ returns bit masks for UCharCategory values where exactly one bit is set.
705
+ When used with u_getPropertyValueName() and u_getPropertyValueEnum(),
706
+ a multi-bit mask is used for sets of categories like "Letters".
707
+ Mask values should be cast to uint32_t.
708
+ @stable ICU 2.4 */
709
+ UCHAR_GENERAL_CATEGORY_MASK=0x2000,
710
+ /** First constant for bit-mask Unicode properties. @stable ICU 2.4 */
711
+ UCHAR_MASK_START=UCHAR_GENERAL_CATEGORY_MASK,
712
+ #ifndef U_HIDE_DEPRECATED_API
713
+ /**
714
+ * One more than the last constant for bit-mask Unicode properties.
715
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
716
+ */
717
+ UCHAR_MASK_LIMIT=0x2001,
718
+ #endif // U_HIDE_DEPRECATED_API
719
+
720
+ /** Double property Numeric_Value.
721
+ Corresponds to u_getNumericValue. @stable ICU 2.4 */
722
+ UCHAR_NUMERIC_VALUE=0x3000,
723
+ /** First constant for double Unicode properties. @stable ICU 2.4 */
724
+ UCHAR_DOUBLE_START=UCHAR_NUMERIC_VALUE,
725
+ #ifndef U_HIDE_DEPRECATED_API
726
+ /**
727
+ * One more than the last constant for double Unicode properties.
728
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
729
+ */
730
+ UCHAR_DOUBLE_LIMIT=0x3001,
731
+ #endif // U_HIDE_DEPRECATED_API
732
+
733
+ /** String property Age.
734
+ Corresponds to u_charAge. @stable ICU 2.4 */
735
+ UCHAR_AGE=0x4000,
736
+ /** First constant for string Unicode properties. @stable ICU 2.4 */
737
+ UCHAR_STRING_START=UCHAR_AGE,
738
+ /** String property Bidi_Mirroring_Glyph.
739
+ Corresponds to u_charMirror. @stable ICU 2.4 */
740
+ UCHAR_BIDI_MIRRORING_GLYPH=0x4001,
741
+ /** String property Case_Folding.
742
+ Corresponds to u_strFoldCase in ustring.h. @stable ICU 2.4 */
743
+ UCHAR_CASE_FOLDING=0x4002,
744
+ #ifndef U_HIDE_DEPRECATED_API
745
+ /** Deprecated string property ISO_Comment.
746
+ Corresponds to u_getISOComment. @deprecated ICU 49 */
747
+ UCHAR_ISO_COMMENT=0x4003,
748
+ #endif /* U_HIDE_DEPRECATED_API */
749
+ /** String property Lowercase_Mapping.
750
+ Corresponds to u_strToLower in ustring.h. @stable ICU 2.4 */
751
+ UCHAR_LOWERCASE_MAPPING=0x4004,
752
+ /** String property Name.
753
+ Corresponds to u_charName. @stable ICU 2.4 */
754
+ UCHAR_NAME=0x4005,
755
+ /** String property Simple_Case_Folding.
756
+ Corresponds to u_foldCase. @stable ICU 2.4 */
757
+ UCHAR_SIMPLE_CASE_FOLDING=0x4006,
758
+ /** String property Simple_Lowercase_Mapping.
759
+ Corresponds to u_tolower. @stable ICU 2.4 */
760
+ UCHAR_SIMPLE_LOWERCASE_MAPPING=0x4007,
761
+ /** String property Simple_Titlecase_Mapping.
762
+ Corresponds to u_totitle. @stable ICU 2.4 */
763
+ UCHAR_SIMPLE_TITLECASE_MAPPING=0x4008,
764
+ /** String property Simple_Uppercase_Mapping.
765
+ Corresponds to u_toupper. @stable ICU 2.4 */
766
+ UCHAR_SIMPLE_UPPERCASE_MAPPING=0x4009,
767
+ /** String property Titlecase_Mapping.
768
+ Corresponds to u_strToTitle in ustring.h. @stable ICU 2.4 */
769
+ UCHAR_TITLECASE_MAPPING=0x400A,
770
+ #ifndef U_HIDE_DEPRECATED_API
771
+ /** String property Unicode_1_Name.
772
+ This property is of little practical value.
773
+ Beginning with ICU 49, ICU APIs return an empty string for this property.
774
+ Corresponds to u_charName(U_UNICODE_10_CHAR_NAME). @deprecated ICU 49 */
775
+ UCHAR_UNICODE_1_NAME=0x400B,
776
+ #endif /* U_HIDE_DEPRECATED_API */
777
+ /** String property Uppercase_Mapping.
778
+ Corresponds to u_strToUpper in ustring.h. @stable ICU 2.4 */
779
+ UCHAR_UPPERCASE_MAPPING=0x400C,
780
+ /** String property Bidi_Paired_Bracket (new in Unicode 6.3).
781
+ Corresponds to u_getBidiPairedBracket. @stable ICU 52 */
782
+ UCHAR_BIDI_PAIRED_BRACKET=0x400D,
783
+ #ifndef U_HIDE_DEPRECATED_API
784
+ /**
785
+ * One more than the last constant for string Unicode properties.
786
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
787
+ */
788
+ UCHAR_STRING_LIMIT=0x400E,
789
+ #endif // U_HIDE_DEPRECATED_API
790
+
791
+ /** Miscellaneous property Script_Extensions (new in Unicode 6.0).
792
+ Some characters are commonly used in multiple scripts.
793
+ For more information, see UAX #24: http://www.unicode.org/reports/tr24/.
794
+ Corresponds to uscript_hasScript and uscript_getScriptExtensions in uscript.h.
795
+ @stable ICU 4.6 */
796
+ UCHAR_SCRIPT_EXTENSIONS=0x7000,
797
+ /** First constant for Unicode properties with unusual value types. @stable ICU 4.6 */
798
+ UCHAR_OTHER_PROPERTY_START=UCHAR_SCRIPT_EXTENSIONS,
799
+ #ifndef U_HIDE_DRAFT_API
800
+ /**
801
+ * Miscellaneous property Identifier_Type.
802
+ * Used for UTS #39 General Security Profile for Identifiers
803
+ * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
804
+ *
805
+ * Corresponds to u_hasIDType() and u_getIDTypes().
806
+ *
807
+ * Each code point maps to a <i>set</i> of UIdentifierType values.
808
+ *
809
+ * @see u_hasIDType
810
+ * @see u_getIDTypes
811
+ * @draft ICU 75
812
+ */
813
+ UCHAR_IDENTIFIER_TYPE=0x7001,
814
+ #endif // U_HIDE_DRAFT_API
815
+ #ifndef U_HIDE_DEPRECATED_API
816
+ /**
817
+ * One more than the last constant for Unicode properties with unusual value types.
818
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
819
+ */
820
+ UCHAR_OTHER_PROPERTY_LIMIT=0x7002,
821
+ #endif // U_HIDE_DEPRECATED_API
822
+
823
+ /** Represents a nonexistent or invalid property or property value. @stable ICU 2.4 */
824
+ UCHAR_INVALID_CODE = -1
825
+ } UProperty;
826
+
827
+ /**
828
+ * Data for enumerated Unicode general category types.
829
+ * See http://www.unicode.org/Public/UNIDATA/UnicodeData.html .
830
+ * @stable ICU 2.0
831
+ */
832
+ typedef enum UCharCategory
833
+ {
834
+ /*
835
+ * Note: UCharCategory constants and their API comments are parsed by preparseucd.py.
836
+ * It matches pairs of lines like
837
+ * / ** <Unicode 2-letter General_Category value> comment... * /
838
+ * U_<[A-Z_]+> = <integer>,
839
+ */
840
+
841
+ /** Non-category for unassigned and non-character code points. @stable ICU 2.0 */
842
+ U_UNASSIGNED = 0,
843
+ /** Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNED!) @stable ICU 2.0 */
844
+ U_GENERAL_OTHER_TYPES = 0,
845
+ /** Lu @stable ICU 2.0 */
846
+ U_UPPERCASE_LETTER = 1,
847
+ /** Ll @stable ICU 2.0 */
848
+ U_LOWERCASE_LETTER = 2,
849
+ /** Lt @stable ICU 2.0 */
850
+ U_TITLECASE_LETTER = 3,
851
+ /** Lm @stable ICU 2.0 */
852
+ U_MODIFIER_LETTER = 4,
853
+ /** Lo @stable ICU 2.0 */
854
+ U_OTHER_LETTER = 5,
855
+ /** Mn @stable ICU 2.0 */
856
+ U_NON_SPACING_MARK = 6,
857
+ /** Me @stable ICU 2.0 */
858
+ U_ENCLOSING_MARK = 7,
859
+ /** Mc @stable ICU 2.0 */
860
+ U_COMBINING_SPACING_MARK = 8,
861
+ /** Nd @stable ICU 2.0 */
862
+ U_DECIMAL_DIGIT_NUMBER = 9,
863
+ /** Nl @stable ICU 2.0 */
864
+ U_LETTER_NUMBER = 10,
865
+ /** No @stable ICU 2.0 */
866
+ U_OTHER_NUMBER = 11,
867
+ /** Zs @stable ICU 2.0 */
868
+ U_SPACE_SEPARATOR = 12,
869
+ /** Zl @stable ICU 2.0 */
870
+ U_LINE_SEPARATOR = 13,
871
+ /** Zp @stable ICU 2.0 */
872
+ U_PARAGRAPH_SEPARATOR = 14,
873
+ /** Cc @stable ICU 2.0 */
874
+ U_CONTROL_CHAR = 15,
875
+ /** Cf @stable ICU 2.0 */
876
+ U_FORMAT_CHAR = 16,
877
+ /** Co @stable ICU 2.0 */
878
+ U_PRIVATE_USE_CHAR = 17,
879
+ /** Cs @stable ICU 2.0 */
880
+ U_SURROGATE = 18,
881
+ /** Pd @stable ICU 2.0 */
882
+ U_DASH_PUNCTUATION = 19,
883
+ /** Ps @stable ICU 2.0 */
884
+ U_START_PUNCTUATION = 20,
885
+ /** Pe @stable ICU 2.0 */
886
+ U_END_PUNCTUATION = 21,
887
+ /** Pc @stable ICU 2.0 */
888
+ U_CONNECTOR_PUNCTUATION = 22,
889
+ /** Po @stable ICU 2.0 */
890
+ U_OTHER_PUNCTUATION = 23,
891
+ /** Sm @stable ICU 2.0 */
892
+ U_MATH_SYMBOL = 24,
893
+ /** Sc @stable ICU 2.0 */
894
+ U_CURRENCY_SYMBOL = 25,
895
+ /** Sk @stable ICU 2.0 */
896
+ U_MODIFIER_SYMBOL = 26,
897
+ /** So @stable ICU 2.0 */
898
+ U_OTHER_SYMBOL = 27,
899
+ /** Pi @stable ICU 2.0 */
900
+ U_INITIAL_PUNCTUATION = 28,
901
+ /** Pf @stable ICU 2.0 */
902
+ U_FINAL_PUNCTUATION = 29,
903
+ /**
904
+ * One higher than the last enum UCharCategory constant.
905
+ * This numeric value is stable (will not change), see
906
+ * http://www.unicode.org/policies/stability_policy.html#Property_Value
907
+ *
908
+ * @stable ICU 2.0
909
+ */
910
+ U_CHAR_CATEGORY_COUNT
911
+ } UCharCategory;
912
+
913
+ /**
914
+ * U_GC_XX_MASK constants are bit flags corresponding to Unicode
915
+ * general category values.
916
+ * For each category, the nth bit is set if the numeric value of the
917
+ * corresponding UCharCategory constant is n.
918
+ *
919
+ * There are also some U_GC_Y_MASK constants for groups of general categories
920
+ * like L for all letter categories.
921
+ *
922
+ * @see u_charType
923
+ * @see U_GET_GC_MASK
924
+ * @see UCharCategory
925
+ * @stable ICU 2.1
926
+ */
927
+ #define U_GC_CN_MASK U_MASK(U_GENERAL_OTHER_TYPES)
928
+
929
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
930
+ #define U_GC_LU_MASK U_MASK(U_UPPERCASE_LETTER)
931
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
932
+ #define U_GC_LL_MASK U_MASK(U_LOWERCASE_LETTER)
933
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
934
+ #define U_GC_LT_MASK U_MASK(U_TITLECASE_LETTER)
935
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
936
+ #define U_GC_LM_MASK U_MASK(U_MODIFIER_LETTER)
937
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
938
+ #define U_GC_LO_MASK U_MASK(U_OTHER_LETTER)
939
+
940
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
941
+ #define U_GC_MN_MASK U_MASK(U_NON_SPACING_MARK)
942
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
943
+ #define U_GC_ME_MASK U_MASK(U_ENCLOSING_MARK)
944
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
945
+ #define U_GC_MC_MASK U_MASK(U_COMBINING_SPACING_MARK)
946
+
947
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
948
+ #define U_GC_ND_MASK U_MASK(U_DECIMAL_DIGIT_NUMBER)
949
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
950
+ #define U_GC_NL_MASK U_MASK(U_LETTER_NUMBER)
951
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
952
+ #define U_GC_NO_MASK U_MASK(U_OTHER_NUMBER)
953
+
954
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
955
+ #define U_GC_ZS_MASK U_MASK(U_SPACE_SEPARATOR)
956
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
957
+ #define U_GC_ZL_MASK U_MASK(U_LINE_SEPARATOR)
958
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
959
+ #define U_GC_ZP_MASK U_MASK(U_PARAGRAPH_SEPARATOR)
960
+
961
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
962
+ #define U_GC_CC_MASK U_MASK(U_CONTROL_CHAR)
963
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
964
+ #define U_GC_CF_MASK U_MASK(U_FORMAT_CHAR)
965
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
966
+ #define U_GC_CO_MASK U_MASK(U_PRIVATE_USE_CHAR)
967
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
968
+ #define U_GC_CS_MASK U_MASK(U_SURROGATE)
969
+
970
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
971
+ #define U_GC_PD_MASK U_MASK(U_DASH_PUNCTUATION)
972
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
973
+ #define U_GC_PS_MASK U_MASK(U_START_PUNCTUATION)
974
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
975
+ #define U_GC_PE_MASK U_MASK(U_END_PUNCTUATION)
976
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
977
+ #define U_GC_PC_MASK U_MASK(U_CONNECTOR_PUNCTUATION)
978
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
979
+ #define U_GC_PO_MASK U_MASK(U_OTHER_PUNCTUATION)
980
+
981
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
982
+ #define U_GC_SM_MASK U_MASK(U_MATH_SYMBOL)
983
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
984
+ #define U_GC_SC_MASK U_MASK(U_CURRENCY_SYMBOL)
985
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
986
+ #define U_GC_SK_MASK U_MASK(U_MODIFIER_SYMBOL)
987
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
988
+ #define U_GC_SO_MASK U_MASK(U_OTHER_SYMBOL)
989
+
990
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
991
+ #define U_GC_PI_MASK U_MASK(U_INITIAL_PUNCTUATION)
992
+ /** Mask constant for a UCharCategory. @stable ICU 2.1 */
993
+ #define U_GC_PF_MASK U_MASK(U_FINAL_PUNCTUATION)
994
+
995
+
996
+ /** Mask constant for multiple UCharCategory bits (L Letters). @stable ICU 2.1 */
997
+ #define U_GC_L_MASK \
998
+ (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK|U_GC_LM_MASK|U_GC_LO_MASK)
999
+
1000
+ /** Mask constant for multiple UCharCategory bits (LC Cased Letters). @stable ICU 2.1 */
1001
+ #define U_GC_LC_MASK \
1002
+ (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK)
1003
+
1004
+ /** Mask constant for multiple UCharCategory bits (M Marks). @stable ICU 2.1 */
1005
+ #define U_GC_M_MASK (U_GC_MN_MASK|U_GC_ME_MASK|U_GC_MC_MASK)
1006
+
1007
+ /** Mask constant for multiple UCharCategory bits (N Numbers). @stable ICU 2.1 */
1008
+ #define U_GC_N_MASK (U_GC_ND_MASK|U_GC_NL_MASK|U_GC_NO_MASK)
1009
+
1010
+ /** Mask constant for multiple UCharCategory bits (Z Separators). @stable ICU 2.1 */
1011
+ #define U_GC_Z_MASK (U_GC_ZS_MASK|U_GC_ZL_MASK|U_GC_ZP_MASK)
1012
+
1013
+ /** Mask constant for multiple UCharCategory bits (C Others). @stable ICU 2.1 */
1014
+ #define U_GC_C_MASK \
1015
+ (U_GC_CN_MASK|U_GC_CC_MASK|U_GC_CF_MASK|U_GC_CO_MASK|U_GC_CS_MASK)
1016
+
1017
+ /** Mask constant for multiple UCharCategory bits (P Punctuation). @stable ICU 2.1 */
1018
+ #define U_GC_P_MASK \
1019
+ (U_GC_PD_MASK|U_GC_PS_MASK|U_GC_PE_MASK|U_GC_PC_MASK|U_GC_PO_MASK| \
1020
+ U_GC_PI_MASK|U_GC_PF_MASK)
1021
+
1022
+ /** Mask constant for multiple UCharCategory bits (S Symbols). @stable ICU 2.1 */
1023
+ #define U_GC_S_MASK (U_GC_SM_MASK|U_GC_SC_MASK|U_GC_SK_MASK|U_GC_SO_MASK)
1024
+
1025
+ /**
1026
+ * This specifies the language directional property of a character set.
1027
+ * @stable ICU 2.0
1028
+ */
1029
+ typedef enum UCharDirection {
1030
+ /*
1031
+ * Note: UCharDirection constants and their API comments are parsed by preparseucd.py.
1032
+ * It matches pairs of lines like
1033
+ * / ** <Unicode 1..3-letter Bidi_Class value> comment... * /
1034
+ * U_<[A-Z_]+> = <integer>,
1035
+ */
1036
+
1037
+ /** L @stable ICU 2.0 */
1038
+ U_LEFT_TO_RIGHT = 0,
1039
+ /** R @stable ICU 2.0 */
1040
+ U_RIGHT_TO_LEFT = 1,
1041
+ /** EN @stable ICU 2.0 */
1042
+ U_EUROPEAN_NUMBER = 2,
1043
+ /** ES @stable ICU 2.0 */
1044
+ U_EUROPEAN_NUMBER_SEPARATOR = 3,
1045
+ /** ET @stable ICU 2.0 */
1046
+ U_EUROPEAN_NUMBER_TERMINATOR = 4,
1047
+ /** AN @stable ICU 2.0 */
1048
+ U_ARABIC_NUMBER = 5,
1049
+ /** CS @stable ICU 2.0 */
1050
+ U_COMMON_NUMBER_SEPARATOR = 6,
1051
+ /** B @stable ICU 2.0 */
1052
+ U_BLOCK_SEPARATOR = 7,
1053
+ /** S @stable ICU 2.0 */
1054
+ U_SEGMENT_SEPARATOR = 8,
1055
+ /** WS @stable ICU 2.0 */
1056
+ U_WHITE_SPACE_NEUTRAL = 9,
1057
+ /** ON @stable ICU 2.0 */
1058
+ U_OTHER_NEUTRAL = 10,
1059
+ /** LRE @stable ICU 2.0 */
1060
+ U_LEFT_TO_RIGHT_EMBEDDING = 11,
1061
+ /** LRO @stable ICU 2.0 */
1062
+ U_LEFT_TO_RIGHT_OVERRIDE = 12,
1063
+ /** AL @stable ICU 2.0 */
1064
+ U_RIGHT_TO_LEFT_ARABIC = 13,
1065
+ /** RLE @stable ICU 2.0 */
1066
+ U_RIGHT_TO_LEFT_EMBEDDING = 14,
1067
+ /** RLO @stable ICU 2.0 */
1068
+ U_RIGHT_TO_LEFT_OVERRIDE = 15,
1069
+ /** PDF @stable ICU 2.0 */
1070
+ U_POP_DIRECTIONAL_FORMAT = 16,
1071
+ /** NSM @stable ICU 2.0 */
1072
+ U_DIR_NON_SPACING_MARK = 17,
1073
+ /** BN @stable ICU 2.0 */
1074
+ U_BOUNDARY_NEUTRAL = 18,
1075
+ /** FSI @stable ICU 52 */
1076
+ U_FIRST_STRONG_ISOLATE = 19,
1077
+ /** LRI @stable ICU 52 */
1078
+ U_LEFT_TO_RIGHT_ISOLATE = 20,
1079
+ /** RLI @stable ICU 52 */
1080
+ U_RIGHT_TO_LEFT_ISOLATE = 21,
1081
+ /** PDI @stable ICU 52 */
1082
+ U_POP_DIRECTIONAL_ISOLATE = 22,
1083
+ #ifndef U_HIDE_DEPRECATED_API
1084
+ /**
1085
+ * One more than the highest UCharDirection value.
1086
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BIDI_CLASS).
1087
+ *
1088
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
1089
+ */
1090
+ U_CHAR_DIRECTION_COUNT
1091
+ #endif // U_HIDE_DEPRECATED_API
1092
+ } UCharDirection;
1093
+
1094
+ /**
1095
+ * Bidi Paired Bracket Type constants.
1096
+ *
1097
+ * @see UCHAR_BIDI_PAIRED_BRACKET_TYPE
1098
+ * @stable ICU 52
1099
+ */
1100
+ typedef enum UBidiPairedBracketType {
1101
+ /*
1102
+ * Note: UBidiPairedBracketType constants are parsed by preparseucd.py.
1103
+ * It matches lines like
1104
+ * U_BPT_<Unicode Bidi_Paired_Bracket_Type value name>
1105
+ */
1106
+
1107
+ /** Not a paired bracket. @stable ICU 52 */
1108
+ U_BPT_NONE,
1109
+ /** Open paired bracket. @stable ICU 52 */
1110
+ U_BPT_OPEN,
1111
+ /** Close paired bracket. @stable ICU 52 */
1112
+ U_BPT_CLOSE,
1113
+ #ifndef U_HIDE_DEPRECATED_API
1114
+ /**
1115
+ * One more than the highest normal UBidiPairedBracketType value.
1116
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BIDI_PAIRED_BRACKET_TYPE).
1117
+ *
1118
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
1119
+ */
1120
+ U_BPT_COUNT /* 3 */
1121
+ #endif // U_HIDE_DEPRECATED_API
1122
+ } UBidiPairedBracketType;
1123
+
1124
+ /**
1125
+ * Constants for Unicode blocks, see the Unicode Data file Blocks.txt
1126
+ * @stable ICU 2.0
1127
+ */
1128
+ enum UBlockCode {
1129
+ /*
1130
+ * Note: UBlockCode constants are parsed by preparseucd.py.
1131
+ * It matches lines like
1132
+ * UBLOCK_<Unicode Block value name> = <integer>,
1133
+ */
1134
+
1135
+ /** New No_Block value in Unicode 4. @stable ICU 2.6 */
1136
+ UBLOCK_NO_BLOCK = 0, /*[none]*/ /* Special range indicating No_Block */
1137
+
1138
+ /** @stable ICU 2.0 */
1139
+ UBLOCK_BASIC_LATIN = 1, /*[0000]*/
1140
+
1141
+ /** @stable ICU 2.0 */
1142
+ UBLOCK_LATIN_1_SUPPLEMENT=2, /*[0080]*/
1143
+
1144
+ /** @stable ICU 2.0 */
1145
+ UBLOCK_LATIN_EXTENDED_A =3, /*[0100]*/
1146
+
1147
+ /** @stable ICU 2.0 */
1148
+ UBLOCK_LATIN_EXTENDED_B =4, /*[0180]*/
1149
+
1150
+ /** @stable ICU 2.0 */
1151
+ UBLOCK_IPA_EXTENSIONS =5, /*[0250]*/
1152
+
1153
+ /** @stable ICU 2.0 */
1154
+ UBLOCK_SPACING_MODIFIER_LETTERS =6, /*[02B0]*/
1155
+
1156
+ /** @stable ICU 2.0 */
1157
+ UBLOCK_COMBINING_DIACRITICAL_MARKS =7, /*[0300]*/
1158
+
1159
+ /**
1160
+ * Unicode 3.2 renames this block to "Greek and Coptic".
1161
+ * @stable ICU 2.0
1162
+ */
1163
+ UBLOCK_GREEK =8, /*[0370]*/
1164
+
1165
+ /** @stable ICU 2.0 */
1166
+ UBLOCK_CYRILLIC =9, /*[0400]*/
1167
+
1168
+ /** @stable ICU 2.0 */
1169
+ UBLOCK_ARMENIAN =10, /*[0530]*/
1170
+
1171
+ /** @stable ICU 2.0 */
1172
+ UBLOCK_HEBREW =11, /*[0590]*/
1173
+
1174
+ /** @stable ICU 2.0 */
1175
+ UBLOCK_ARABIC =12, /*[0600]*/
1176
+
1177
+ /** @stable ICU 2.0 */
1178
+ UBLOCK_SYRIAC =13, /*[0700]*/
1179
+
1180
+ /** @stable ICU 2.0 */
1181
+ UBLOCK_THAANA =14, /*[0780]*/
1182
+
1183
+ /** @stable ICU 2.0 */
1184
+ UBLOCK_DEVANAGARI =15, /*[0900]*/
1185
+
1186
+ /** @stable ICU 2.0 */
1187
+ UBLOCK_BENGALI =16, /*[0980]*/
1188
+
1189
+ /** @stable ICU 2.0 */
1190
+ UBLOCK_GURMUKHI =17, /*[0A00]*/
1191
+
1192
+ /** @stable ICU 2.0 */
1193
+ UBLOCK_GUJARATI =18, /*[0A80]*/
1194
+
1195
+ /** @stable ICU 2.0 */
1196
+ UBLOCK_ORIYA =19, /*[0B00]*/
1197
+
1198
+ /** @stable ICU 2.0 */
1199
+ UBLOCK_TAMIL =20, /*[0B80]*/
1200
+
1201
+ /** @stable ICU 2.0 */
1202
+ UBLOCK_TELUGU =21, /*[0C00]*/
1203
+
1204
+ /** @stable ICU 2.0 */
1205
+ UBLOCK_KANNADA =22, /*[0C80]*/
1206
+
1207
+ /** @stable ICU 2.0 */
1208
+ UBLOCK_MALAYALAM =23, /*[0D00]*/
1209
+
1210
+ /** @stable ICU 2.0 */
1211
+ UBLOCK_SINHALA =24, /*[0D80]*/
1212
+
1213
+ /** @stable ICU 2.0 */
1214
+ UBLOCK_THAI =25, /*[0E00]*/
1215
+
1216
+ /** @stable ICU 2.0 */
1217
+ UBLOCK_LAO =26, /*[0E80]*/
1218
+
1219
+ /** @stable ICU 2.0 */
1220
+ UBLOCK_TIBETAN =27, /*[0F00]*/
1221
+
1222
+ /** @stable ICU 2.0 */
1223
+ UBLOCK_MYANMAR =28, /*[1000]*/
1224
+
1225
+ /** @stable ICU 2.0 */
1226
+ UBLOCK_GEORGIAN =29, /*[10A0]*/
1227
+
1228
+ /** @stable ICU 2.0 */
1229
+ UBLOCK_HANGUL_JAMO =30, /*[1100]*/
1230
+
1231
+ /** @stable ICU 2.0 */
1232
+ UBLOCK_ETHIOPIC =31, /*[1200]*/
1233
+
1234
+ /** @stable ICU 2.0 */
1235
+ UBLOCK_CHEROKEE =32, /*[13A0]*/
1236
+
1237
+ /** @stable ICU 2.0 */
1238
+ UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS =33, /*[1400]*/
1239
+
1240
+ /** @stable ICU 2.0 */
1241
+ UBLOCK_OGHAM =34, /*[1680]*/
1242
+
1243
+ /** @stable ICU 2.0 */
1244
+ UBLOCK_RUNIC =35, /*[16A0]*/
1245
+
1246
+ /** @stable ICU 2.0 */
1247
+ UBLOCK_KHMER =36, /*[1780]*/
1248
+
1249
+ /** @stable ICU 2.0 */
1250
+ UBLOCK_MONGOLIAN =37, /*[1800]*/
1251
+
1252
+ /** @stable ICU 2.0 */
1253
+ UBLOCK_LATIN_EXTENDED_ADDITIONAL =38, /*[1E00]*/
1254
+
1255
+ /** @stable ICU 2.0 */
1256
+ UBLOCK_GREEK_EXTENDED =39, /*[1F00]*/
1257
+
1258
+ /** @stable ICU 2.0 */
1259
+ UBLOCK_GENERAL_PUNCTUATION =40, /*[2000]*/
1260
+
1261
+ /** @stable ICU 2.0 */
1262
+ UBLOCK_SUPERSCRIPTS_AND_SUBSCRIPTS =41, /*[2070]*/
1263
+
1264
+ /** @stable ICU 2.0 */
1265
+ UBLOCK_CURRENCY_SYMBOLS =42, /*[20A0]*/
1266
+
1267
+ /**
1268
+ * Unicode 3.2 renames this block to "Combining Diacritical Marks for Symbols".
1269
+ * @stable ICU 2.0
1270
+ */
1271
+ UBLOCK_COMBINING_MARKS_FOR_SYMBOLS =43, /*[20D0]*/
1272
+
1273
+ /** @stable ICU 2.0 */
1274
+ UBLOCK_LETTERLIKE_SYMBOLS =44, /*[2100]*/
1275
+
1276
+ /** @stable ICU 2.0 */
1277
+ UBLOCK_NUMBER_FORMS =45, /*[2150]*/
1278
+
1279
+ /** @stable ICU 2.0 */
1280
+ UBLOCK_ARROWS =46, /*[2190]*/
1281
+
1282
+ /** @stable ICU 2.0 */
1283
+ UBLOCK_MATHEMATICAL_OPERATORS =47, /*[2200]*/
1284
+
1285
+ /** @stable ICU 2.0 */
1286
+ UBLOCK_MISCELLANEOUS_TECHNICAL =48, /*[2300]*/
1287
+
1288
+ /** @stable ICU 2.0 */
1289
+ UBLOCK_CONTROL_PICTURES =49, /*[2400]*/
1290
+
1291
+ /** @stable ICU 2.0 */
1292
+ UBLOCK_OPTICAL_CHARACTER_RECOGNITION =50, /*[2440]*/
1293
+
1294
+ /** @stable ICU 2.0 */
1295
+ UBLOCK_ENCLOSED_ALPHANUMERICS =51, /*[2460]*/
1296
+
1297
+ /** @stable ICU 2.0 */
1298
+ UBLOCK_BOX_DRAWING =52, /*[2500]*/
1299
+
1300
+ /** @stable ICU 2.0 */
1301
+ UBLOCK_BLOCK_ELEMENTS =53, /*[2580]*/
1302
+
1303
+ /** @stable ICU 2.0 */
1304
+ UBLOCK_GEOMETRIC_SHAPES =54, /*[25A0]*/
1305
+
1306
+ /** @stable ICU 2.0 */
1307
+ UBLOCK_MISCELLANEOUS_SYMBOLS =55, /*[2600]*/
1308
+
1309
+ /** @stable ICU 2.0 */
1310
+ UBLOCK_DINGBATS =56, /*[2700]*/
1311
+
1312
+ /** @stable ICU 2.0 */
1313
+ UBLOCK_BRAILLE_PATTERNS =57, /*[2800]*/
1314
+
1315
+ /** @stable ICU 2.0 */
1316
+ UBLOCK_CJK_RADICALS_SUPPLEMENT =58, /*[2E80]*/
1317
+
1318
+ /** @stable ICU 2.0 */
1319
+ UBLOCK_KANGXI_RADICALS =59, /*[2F00]*/
1320
+
1321
+ /** @stable ICU 2.0 */
1322
+ UBLOCK_IDEOGRAPHIC_DESCRIPTION_CHARACTERS =60, /*[2FF0]*/
1323
+
1324
+ /** @stable ICU 2.0 */
1325
+ UBLOCK_CJK_SYMBOLS_AND_PUNCTUATION =61, /*[3000]*/
1326
+
1327
+ /** @stable ICU 2.0 */
1328
+ UBLOCK_HIRAGANA =62, /*[3040]*/
1329
+
1330
+ /** @stable ICU 2.0 */
1331
+ UBLOCK_KATAKANA =63, /*[30A0]*/
1332
+
1333
+ /** @stable ICU 2.0 */
1334
+ UBLOCK_BOPOMOFO =64, /*[3100]*/
1335
+
1336
+ /** @stable ICU 2.0 */
1337
+ UBLOCK_HANGUL_COMPATIBILITY_JAMO =65, /*[3130]*/
1338
+
1339
+ /** @stable ICU 2.0 */
1340
+ UBLOCK_KANBUN =66, /*[3190]*/
1341
+
1342
+ /** @stable ICU 2.0 */
1343
+ UBLOCK_BOPOMOFO_EXTENDED =67, /*[31A0]*/
1344
+
1345
+ /** @stable ICU 2.0 */
1346
+ UBLOCK_ENCLOSED_CJK_LETTERS_AND_MONTHS =68, /*[3200]*/
1347
+
1348
+ /** @stable ICU 2.0 */
1349
+ UBLOCK_CJK_COMPATIBILITY =69, /*[3300]*/
1350
+
1351
+ /** @stable ICU 2.0 */
1352
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A =70, /*[3400]*/
1353
+
1354
+ /** @stable ICU 2.0 */
1355
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS =71, /*[4E00]*/
1356
+
1357
+ /** @stable ICU 2.0 */
1358
+ UBLOCK_YI_SYLLABLES =72, /*[A000]*/
1359
+
1360
+ /** @stable ICU 2.0 */
1361
+ UBLOCK_YI_RADICALS =73, /*[A490]*/
1362
+
1363
+ /** @stable ICU 2.0 */
1364
+ UBLOCK_HANGUL_SYLLABLES =74, /*[AC00]*/
1365
+
1366
+ /** @stable ICU 2.0 */
1367
+ UBLOCK_HIGH_SURROGATES =75, /*[D800]*/
1368
+
1369
+ /** @stable ICU 2.0 */
1370
+ UBLOCK_HIGH_PRIVATE_USE_SURROGATES =76, /*[DB80]*/
1371
+
1372
+ /** @stable ICU 2.0 */
1373
+ UBLOCK_LOW_SURROGATES =77, /*[DC00]*/
1374
+
1375
+ /**
1376
+ * Same as UBLOCK_PRIVATE_USE.
1377
+ * Until Unicode 3.1.1, the corresponding block name was "Private Use",
1378
+ * and multiple code point ranges had this block.
1379
+ * Unicode 3.2 renames the block for the BMP PUA to "Private Use Area" and
1380
+ * adds separate blocks for the supplementary PUAs.
1381
+ *
1382
+ * @stable ICU 2.0
1383
+ */
1384
+ UBLOCK_PRIVATE_USE_AREA =78, /*[E000]*/
1385
+ /**
1386
+ * Same as UBLOCK_PRIVATE_USE_AREA.
1387
+ * Until Unicode 3.1.1, the corresponding block name was "Private Use",
1388
+ * and multiple code point ranges had this block.
1389
+ * Unicode 3.2 renames the block for the BMP PUA to "Private Use Area" and
1390
+ * adds separate blocks for the supplementary PUAs.
1391
+ *
1392
+ * @stable ICU 2.0
1393
+ */
1394
+ UBLOCK_PRIVATE_USE = UBLOCK_PRIVATE_USE_AREA,
1395
+
1396
+ /** @stable ICU 2.0 */
1397
+ UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS =79, /*[F900]*/
1398
+
1399
+ /** @stable ICU 2.0 */
1400
+ UBLOCK_ALPHABETIC_PRESENTATION_FORMS =80, /*[FB00]*/
1401
+
1402
+ /** @stable ICU 2.0 */
1403
+ UBLOCK_ARABIC_PRESENTATION_FORMS_A =81, /*[FB50]*/
1404
+
1405
+ /** @stable ICU 2.0 */
1406
+ UBLOCK_COMBINING_HALF_MARKS =82, /*[FE20]*/
1407
+
1408
+ /** @stable ICU 2.0 */
1409
+ UBLOCK_CJK_COMPATIBILITY_FORMS =83, /*[FE30]*/
1410
+
1411
+ /** @stable ICU 2.0 */
1412
+ UBLOCK_SMALL_FORM_VARIANTS =84, /*[FE50]*/
1413
+
1414
+ /** @stable ICU 2.0 */
1415
+ UBLOCK_ARABIC_PRESENTATION_FORMS_B =85, /*[FE70]*/
1416
+
1417
+ /** @stable ICU 2.0 */
1418
+ UBLOCK_SPECIALS =86, /*[FFF0]*/
1419
+
1420
+ /** @stable ICU 2.0 */
1421
+ UBLOCK_HALFWIDTH_AND_FULLWIDTH_FORMS =87, /*[FF00]*/
1422
+
1423
+ /* New blocks in Unicode 3.1 */
1424
+
1425
+ /** @stable ICU 2.0 */
1426
+ UBLOCK_OLD_ITALIC = 88, /*[10300]*/
1427
+ /** @stable ICU 2.0 */
1428
+ UBLOCK_GOTHIC = 89, /*[10330]*/
1429
+ /** @stable ICU 2.0 */
1430
+ UBLOCK_DESERET = 90, /*[10400]*/
1431
+ /** @stable ICU 2.0 */
1432
+ UBLOCK_BYZANTINE_MUSICAL_SYMBOLS = 91, /*[1D000]*/
1433
+ /** @stable ICU 2.0 */
1434
+ UBLOCK_MUSICAL_SYMBOLS = 92, /*[1D100]*/
1435
+ /** @stable ICU 2.0 */
1436
+ UBLOCK_MATHEMATICAL_ALPHANUMERIC_SYMBOLS = 93, /*[1D400]*/
1437
+ /** @stable ICU 2.0 */
1438
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B = 94, /*[20000]*/
1439
+ /** @stable ICU 2.0 */
1440
+ UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT = 95, /*[2F800]*/
1441
+ /** @stable ICU 2.0 */
1442
+ UBLOCK_TAGS = 96, /*[E0000]*/
1443
+
1444
+ /* New blocks in Unicode 3.2 */
1445
+
1446
+ /** @stable ICU 3.0 */
1447
+ UBLOCK_CYRILLIC_SUPPLEMENT = 97, /*[0500]*/
1448
+ /**
1449
+ * Unicode 4.0.1 renames the "Cyrillic Supplementary" block to "Cyrillic Supplement".
1450
+ * @stable ICU 2.2
1451
+ */
1452
+ UBLOCK_CYRILLIC_SUPPLEMENTARY = UBLOCK_CYRILLIC_SUPPLEMENT,
1453
+ /** @stable ICU 2.2 */
1454
+ UBLOCK_TAGALOG = 98, /*[1700]*/
1455
+ /** @stable ICU 2.2 */
1456
+ UBLOCK_HANUNOO = 99, /*[1720]*/
1457
+ /** @stable ICU 2.2 */
1458
+ UBLOCK_BUHID = 100, /*[1740]*/
1459
+ /** @stable ICU 2.2 */
1460
+ UBLOCK_TAGBANWA = 101, /*[1760]*/
1461
+ /** @stable ICU 2.2 */
1462
+ UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A = 102, /*[27C0]*/
1463
+ /** @stable ICU 2.2 */
1464
+ UBLOCK_SUPPLEMENTAL_ARROWS_A = 103, /*[27F0]*/
1465
+ /** @stable ICU 2.2 */
1466
+ UBLOCK_SUPPLEMENTAL_ARROWS_B = 104, /*[2900]*/
1467
+ /** @stable ICU 2.2 */
1468
+ UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B = 105, /*[2980]*/
1469
+ /** @stable ICU 2.2 */
1470
+ UBLOCK_SUPPLEMENTAL_MATHEMATICAL_OPERATORS = 106, /*[2A00]*/
1471
+ /** @stable ICU 2.2 */
1472
+ UBLOCK_KATAKANA_PHONETIC_EXTENSIONS = 107, /*[31F0]*/
1473
+ /** @stable ICU 2.2 */
1474
+ UBLOCK_VARIATION_SELECTORS = 108, /*[FE00]*/
1475
+ /** @stable ICU 2.2 */
1476
+ UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_A = 109, /*[F0000]*/
1477
+ /** @stable ICU 2.2 */
1478
+ UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_B = 110, /*[100000]*/
1479
+
1480
+ /* New blocks in Unicode 4 */
1481
+
1482
+ /** @stable ICU 2.6 */
1483
+ UBLOCK_LIMBU = 111, /*[1900]*/
1484
+ /** @stable ICU 2.6 */
1485
+ UBLOCK_TAI_LE = 112, /*[1950]*/
1486
+ /** @stable ICU 2.6 */
1487
+ UBLOCK_KHMER_SYMBOLS = 113, /*[19E0]*/
1488
+ /** @stable ICU 2.6 */
1489
+ UBLOCK_PHONETIC_EXTENSIONS = 114, /*[1D00]*/
1490
+ /** @stable ICU 2.6 */
1491
+ UBLOCK_MISCELLANEOUS_SYMBOLS_AND_ARROWS = 115, /*[2B00]*/
1492
+ /** @stable ICU 2.6 */
1493
+ UBLOCK_YIJING_HEXAGRAM_SYMBOLS = 116, /*[4DC0]*/
1494
+ /** @stable ICU 2.6 */
1495
+ UBLOCK_LINEAR_B_SYLLABARY = 117, /*[10000]*/
1496
+ /** @stable ICU 2.6 */
1497
+ UBLOCK_LINEAR_B_IDEOGRAMS = 118, /*[10080]*/
1498
+ /** @stable ICU 2.6 */
1499
+ UBLOCK_AEGEAN_NUMBERS = 119, /*[10100]*/
1500
+ /** @stable ICU 2.6 */
1501
+ UBLOCK_UGARITIC = 120, /*[10380]*/
1502
+ /** @stable ICU 2.6 */
1503
+ UBLOCK_SHAVIAN = 121, /*[10450]*/
1504
+ /** @stable ICU 2.6 */
1505
+ UBLOCK_OSMANYA = 122, /*[10480]*/
1506
+ /** @stable ICU 2.6 */
1507
+ UBLOCK_CYPRIOT_SYLLABARY = 123, /*[10800]*/
1508
+ /** @stable ICU 2.6 */
1509
+ UBLOCK_TAI_XUAN_JING_SYMBOLS = 124, /*[1D300]*/
1510
+ /** @stable ICU 2.6 */
1511
+ UBLOCK_VARIATION_SELECTORS_SUPPLEMENT = 125, /*[E0100]*/
1512
+
1513
+ /* New blocks in Unicode 4.1 */
1514
+
1515
+ /** @stable ICU 3.4 */
1516
+ UBLOCK_ANCIENT_GREEK_MUSICAL_NOTATION = 126, /*[1D200]*/
1517
+ /** @stable ICU 3.4 */
1518
+ UBLOCK_ANCIENT_GREEK_NUMBERS = 127, /*[10140]*/
1519
+ /** @stable ICU 3.4 */
1520
+ UBLOCK_ARABIC_SUPPLEMENT = 128, /*[0750]*/
1521
+ /** @stable ICU 3.4 */
1522
+ UBLOCK_BUGINESE = 129, /*[1A00]*/
1523
+ /** @stable ICU 3.4 */
1524
+ UBLOCK_CJK_STROKES = 130, /*[31C0]*/
1525
+ /** @stable ICU 3.4 */
1526
+ UBLOCK_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT = 131, /*[1DC0]*/
1527
+ /** @stable ICU 3.4 */
1528
+ UBLOCK_COPTIC = 132, /*[2C80]*/
1529
+ /** @stable ICU 3.4 */
1530
+ UBLOCK_ETHIOPIC_EXTENDED = 133, /*[2D80]*/
1531
+ /** @stable ICU 3.4 */
1532
+ UBLOCK_ETHIOPIC_SUPPLEMENT = 134, /*[1380]*/
1533
+ /** @stable ICU 3.4 */
1534
+ UBLOCK_GEORGIAN_SUPPLEMENT = 135, /*[2D00]*/
1535
+ /** @stable ICU 3.4 */
1536
+ UBLOCK_GLAGOLITIC = 136, /*[2C00]*/
1537
+ /** @stable ICU 3.4 */
1538
+ UBLOCK_KHAROSHTHI = 137, /*[10A00]*/
1539
+ /** @stable ICU 3.4 */
1540
+ UBLOCK_MODIFIER_TONE_LETTERS = 138, /*[A700]*/
1541
+ /** @stable ICU 3.4 */
1542
+ UBLOCK_NEW_TAI_LUE = 139, /*[1980]*/
1543
+ /** @stable ICU 3.4 */
1544
+ UBLOCK_OLD_PERSIAN = 140, /*[103A0]*/
1545
+ /** @stable ICU 3.4 */
1546
+ UBLOCK_PHONETIC_EXTENSIONS_SUPPLEMENT = 141, /*[1D80]*/
1547
+ /** @stable ICU 3.4 */
1548
+ UBLOCK_SUPPLEMENTAL_PUNCTUATION = 142, /*[2E00]*/
1549
+ /** @stable ICU 3.4 */
1550
+ UBLOCK_SYLOTI_NAGRI = 143, /*[A800]*/
1551
+ /** @stable ICU 3.4 */
1552
+ UBLOCK_TIFINAGH = 144, /*[2D30]*/
1553
+ /** @stable ICU 3.4 */
1554
+ UBLOCK_VERTICAL_FORMS = 145, /*[FE10]*/
1555
+
1556
+ /* New blocks in Unicode 5.0 */
1557
+
1558
+ /** @stable ICU 3.6 */
1559
+ UBLOCK_NKO = 146, /*[07C0]*/
1560
+ /** @stable ICU 3.6 */
1561
+ UBLOCK_BALINESE = 147, /*[1B00]*/
1562
+ /** @stable ICU 3.6 */
1563
+ UBLOCK_LATIN_EXTENDED_C = 148, /*[2C60]*/
1564
+ /** @stable ICU 3.6 */
1565
+ UBLOCK_LATIN_EXTENDED_D = 149, /*[A720]*/
1566
+ /** @stable ICU 3.6 */
1567
+ UBLOCK_PHAGS_PA = 150, /*[A840]*/
1568
+ /** @stable ICU 3.6 */
1569
+ UBLOCK_PHOENICIAN = 151, /*[10900]*/
1570
+ /** @stable ICU 3.6 */
1571
+ UBLOCK_CUNEIFORM = 152, /*[12000]*/
1572
+ /** @stable ICU 3.6 */
1573
+ UBLOCK_CUNEIFORM_NUMBERS_AND_PUNCTUATION = 153, /*[12400]*/
1574
+ /** @stable ICU 3.6 */
1575
+ UBLOCK_COUNTING_ROD_NUMERALS = 154, /*[1D360]*/
1576
+
1577
+ /* New blocks in Unicode 5.1 */
1578
+
1579
+ /** @stable ICU 4.0 */
1580
+ UBLOCK_SUNDANESE = 155, /*[1B80]*/
1581
+ /** @stable ICU 4.0 */
1582
+ UBLOCK_LEPCHA = 156, /*[1C00]*/
1583
+ /** @stable ICU 4.0 */
1584
+ UBLOCK_OL_CHIKI = 157, /*[1C50]*/
1585
+ /** @stable ICU 4.0 */
1586
+ UBLOCK_CYRILLIC_EXTENDED_A = 158, /*[2DE0]*/
1587
+ /** @stable ICU 4.0 */
1588
+ UBLOCK_VAI = 159, /*[A500]*/
1589
+ /** @stable ICU 4.0 */
1590
+ UBLOCK_CYRILLIC_EXTENDED_B = 160, /*[A640]*/
1591
+ /** @stable ICU 4.0 */
1592
+ UBLOCK_SAURASHTRA = 161, /*[A880]*/
1593
+ /** @stable ICU 4.0 */
1594
+ UBLOCK_KAYAH_LI = 162, /*[A900]*/
1595
+ /** @stable ICU 4.0 */
1596
+ UBLOCK_REJANG = 163, /*[A930]*/
1597
+ /** @stable ICU 4.0 */
1598
+ UBLOCK_CHAM = 164, /*[AA00]*/
1599
+ /** @stable ICU 4.0 */
1600
+ UBLOCK_ANCIENT_SYMBOLS = 165, /*[10190]*/
1601
+ /** @stable ICU 4.0 */
1602
+ UBLOCK_PHAISTOS_DISC = 166, /*[101D0]*/
1603
+ /** @stable ICU 4.0 */
1604
+ UBLOCK_LYCIAN = 167, /*[10280]*/
1605
+ /** @stable ICU 4.0 */
1606
+ UBLOCK_CARIAN = 168, /*[102A0]*/
1607
+ /** @stable ICU 4.0 */
1608
+ UBLOCK_LYDIAN = 169, /*[10920]*/
1609
+ /** @stable ICU 4.0 */
1610
+ UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/
1611
+ /** @stable ICU 4.0 */
1612
+ UBLOCK_DOMINO_TILES = 171, /*[1F030]*/
1613
+
1614
+ /* New blocks in Unicode 5.2 */
1615
+
1616
+ /** @stable ICU 4.4 */
1617
+ UBLOCK_SAMARITAN = 172, /*[0800]*/
1618
+ /** @stable ICU 4.4 */
1619
+ UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED = 173, /*[18B0]*/
1620
+ /** @stable ICU 4.4 */
1621
+ UBLOCK_TAI_THAM = 174, /*[1A20]*/
1622
+ /** @stable ICU 4.4 */
1623
+ UBLOCK_VEDIC_EXTENSIONS = 175, /*[1CD0]*/
1624
+ /** @stable ICU 4.4 */
1625
+ UBLOCK_LISU = 176, /*[A4D0]*/
1626
+ /** @stable ICU 4.4 */
1627
+ UBLOCK_BAMUM = 177, /*[A6A0]*/
1628
+ /** @stable ICU 4.4 */
1629
+ UBLOCK_COMMON_INDIC_NUMBER_FORMS = 178, /*[A830]*/
1630
+ /** @stable ICU 4.4 */
1631
+ UBLOCK_DEVANAGARI_EXTENDED = 179, /*[A8E0]*/
1632
+ /** @stable ICU 4.4 */
1633
+ UBLOCK_HANGUL_JAMO_EXTENDED_A = 180, /*[A960]*/
1634
+ /** @stable ICU 4.4 */
1635
+ UBLOCK_JAVANESE = 181, /*[A980]*/
1636
+ /** @stable ICU 4.4 */
1637
+ UBLOCK_MYANMAR_EXTENDED_A = 182, /*[AA60]*/
1638
+ /** @stable ICU 4.4 */
1639
+ UBLOCK_TAI_VIET = 183, /*[AA80]*/
1640
+ /** @stable ICU 4.4 */
1641
+ UBLOCK_MEETEI_MAYEK = 184, /*[ABC0]*/
1642
+ /** @stable ICU 4.4 */
1643
+ UBLOCK_HANGUL_JAMO_EXTENDED_B = 185, /*[D7B0]*/
1644
+ /** @stable ICU 4.4 */
1645
+ UBLOCK_IMPERIAL_ARAMAIC = 186, /*[10840]*/
1646
+ /** @stable ICU 4.4 */
1647
+ UBLOCK_OLD_SOUTH_ARABIAN = 187, /*[10A60]*/
1648
+ /** @stable ICU 4.4 */
1649
+ UBLOCK_AVESTAN = 188, /*[10B00]*/
1650
+ /** @stable ICU 4.4 */
1651
+ UBLOCK_INSCRIPTIONAL_PARTHIAN = 189, /*[10B40]*/
1652
+ /** @stable ICU 4.4 */
1653
+ UBLOCK_INSCRIPTIONAL_PAHLAVI = 190, /*[10B60]*/
1654
+ /** @stable ICU 4.4 */
1655
+ UBLOCK_OLD_TURKIC = 191, /*[10C00]*/
1656
+ /** @stable ICU 4.4 */
1657
+ UBLOCK_RUMI_NUMERAL_SYMBOLS = 192, /*[10E60]*/
1658
+ /** @stable ICU 4.4 */
1659
+ UBLOCK_KAITHI = 193, /*[11080]*/
1660
+ /** @stable ICU 4.4 */
1661
+ UBLOCK_EGYPTIAN_HIEROGLYPHS = 194, /*[13000]*/
1662
+ /** @stable ICU 4.4 */
1663
+ UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT = 195, /*[1F100]*/
1664
+ /** @stable ICU 4.4 */
1665
+ UBLOCK_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT = 196, /*[1F200]*/
1666
+ /** @stable ICU 4.4 */
1667
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C = 197, /*[2A700]*/
1668
+
1669
+ /* New blocks in Unicode 6.0 */
1670
+
1671
+ /** @stable ICU 4.6 */
1672
+ UBLOCK_MANDAIC = 198, /*[0840]*/
1673
+ /** @stable ICU 4.6 */
1674
+ UBLOCK_BATAK = 199, /*[1BC0]*/
1675
+ /** @stable ICU 4.6 */
1676
+ UBLOCK_ETHIOPIC_EXTENDED_A = 200, /*[AB00]*/
1677
+ /** @stable ICU 4.6 */
1678
+ UBLOCK_BRAHMI = 201, /*[11000]*/
1679
+ /** @stable ICU 4.6 */
1680
+ UBLOCK_BAMUM_SUPPLEMENT = 202, /*[16800]*/
1681
+ /** @stable ICU 4.6 */
1682
+ UBLOCK_KANA_SUPPLEMENT = 203, /*[1B000]*/
1683
+ /** @stable ICU 4.6 */
1684
+ UBLOCK_PLAYING_CARDS = 204, /*[1F0A0]*/
1685
+ /** @stable ICU 4.6 */
1686
+ UBLOCK_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS = 205, /*[1F300]*/
1687
+ /** @stable ICU 4.6 */
1688
+ UBLOCK_EMOTICONS = 206, /*[1F600]*/
1689
+ /** @stable ICU 4.6 */
1690
+ UBLOCK_TRANSPORT_AND_MAP_SYMBOLS = 207, /*[1F680]*/
1691
+ /** @stable ICU 4.6 */
1692
+ UBLOCK_ALCHEMICAL_SYMBOLS = 208, /*[1F700]*/
1693
+ /** @stable ICU 4.6 */
1694
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D = 209, /*[2B740]*/
1695
+
1696
+ /* New blocks in Unicode 6.1 */
1697
+
1698
+ /** @stable ICU 49 */
1699
+ UBLOCK_ARABIC_EXTENDED_A = 210, /*[08A0]*/
1700
+ /** @stable ICU 49 */
1701
+ UBLOCK_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS = 211, /*[1EE00]*/
1702
+ /** @stable ICU 49 */
1703
+ UBLOCK_CHAKMA = 212, /*[11100]*/
1704
+ /** @stable ICU 49 */
1705
+ UBLOCK_MEETEI_MAYEK_EXTENSIONS = 213, /*[AAE0]*/
1706
+ /** @stable ICU 49 */
1707
+ UBLOCK_MEROITIC_CURSIVE = 214, /*[109A0]*/
1708
+ /** @stable ICU 49 */
1709
+ UBLOCK_MEROITIC_HIEROGLYPHS = 215, /*[10980]*/
1710
+ /** @stable ICU 49 */
1711
+ UBLOCK_MIAO = 216, /*[16F00]*/
1712
+ /** @stable ICU 49 */
1713
+ UBLOCK_SHARADA = 217, /*[11180]*/
1714
+ /** @stable ICU 49 */
1715
+ UBLOCK_SORA_SOMPENG = 218, /*[110D0]*/
1716
+ /** @stable ICU 49 */
1717
+ UBLOCK_SUNDANESE_SUPPLEMENT = 219, /*[1CC0]*/
1718
+ /** @stable ICU 49 */
1719
+ UBLOCK_TAKRI = 220, /*[11680]*/
1720
+
1721
+ /* New blocks in Unicode 7.0 */
1722
+
1723
+ /** @stable ICU 54 */
1724
+ UBLOCK_BASSA_VAH = 221, /*[16AD0]*/
1725
+ /** @stable ICU 54 */
1726
+ UBLOCK_CAUCASIAN_ALBANIAN = 222, /*[10530]*/
1727
+ /** @stable ICU 54 */
1728
+ UBLOCK_COPTIC_EPACT_NUMBERS = 223, /*[102E0]*/
1729
+ /** @stable ICU 54 */
1730
+ UBLOCK_COMBINING_DIACRITICAL_MARKS_EXTENDED = 224, /*[1AB0]*/
1731
+ /** @stable ICU 54 */
1732
+ UBLOCK_DUPLOYAN = 225, /*[1BC00]*/
1733
+ /** @stable ICU 54 */
1734
+ UBLOCK_ELBASAN = 226, /*[10500]*/
1735
+ /** @stable ICU 54 */
1736
+ UBLOCK_GEOMETRIC_SHAPES_EXTENDED = 227, /*[1F780]*/
1737
+ /** @stable ICU 54 */
1738
+ UBLOCK_GRANTHA = 228, /*[11300]*/
1739
+ /** @stable ICU 54 */
1740
+ UBLOCK_KHOJKI = 229, /*[11200]*/
1741
+ /** @stable ICU 54 */
1742
+ UBLOCK_KHUDAWADI = 230, /*[112B0]*/
1743
+ /** @stable ICU 54 */
1744
+ UBLOCK_LATIN_EXTENDED_E = 231, /*[AB30]*/
1745
+ /** @stable ICU 54 */
1746
+ UBLOCK_LINEAR_A = 232, /*[10600]*/
1747
+ /** @stable ICU 54 */
1748
+ UBLOCK_MAHAJANI = 233, /*[11150]*/
1749
+ /** @stable ICU 54 */
1750
+ UBLOCK_MANICHAEAN = 234, /*[10AC0]*/
1751
+ /** @stable ICU 54 */
1752
+ UBLOCK_MENDE_KIKAKUI = 235, /*[1E800]*/
1753
+ /** @stable ICU 54 */
1754
+ UBLOCK_MODI = 236, /*[11600]*/
1755
+ /** @stable ICU 54 */
1756
+ UBLOCK_MRO = 237, /*[16A40]*/
1757
+ /** @stable ICU 54 */
1758
+ UBLOCK_MYANMAR_EXTENDED_B = 238, /*[A9E0]*/
1759
+ /** @stable ICU 54 */
1760
+ UBLOCK_NABATAEAN = 239, /*[10880]*/
1761
+ /** @stable ICU 54 */
1762
+ UBLOCK_OLD_NORTH_ARABIAN = 240, /*[10A80]*/
1763
+ /** @stable ICU 54 */
1764
+ UBLOCK_OLD_PERMIC = 241, /*[10350]*/
1765
+ /** @stable ICU 54 */
1766
+ UBLOCK_ORNAMENTAL_DINGBATS = 242, /*[1F650]*/
1767
+ /** @stable ICU 54 */
1768
+ UBLOCK_PAHAWH_HMONG = 243, /*[16B00]*/
1769
+ /** @stable ICU 54 */
1770
+ UBLOCK_PALMYRENE = 244, /*[10860]*/
1771
+ /** @stable ICU 54 */
1772
+ UBLOCK_PAU_CIN_HAU = 245, /*[11AC0]*/
1773
+ /** @stable ICU 54 */
1774
+ UBLOCK_PSALTER_PAHLAVI = 246, /*[10B80]*/
1775
+ /** @stable ICU 54 */
1776
+ UBLOCK_SHORTHAND_FORMAT_CONTROLS = 247, /*[1BCA0]*/
1777
+ /** @stable ICU 54 */
1778
+ UBLOCK_SIDDHAM = 248, /*[11580]*/
1779
+ /** @stable ICU 54 */
1780
+ UBLOCK_SINHALA_ARCHAIC_NUMBERS = 249, /*[111E0]*/
1781
+ /** @stable ICU 54 */
1782
+ UBLOCK_SUPPLEMENTAL_ARROWS_C = 250, /*[1F800]*/
1783
+ /** @stable ICU 54 */
1784
+ UBLOCK_TIRHUTA = 251, /*[11480]*/
1785
+ /** @stable ICU 54 */
1786
+ UBLOCK_WARANG_CITI = 252, /*[118A0]*/
1787
+
1788
+ /* New blocks in Unicode 8.0 */
1789
+
1790
+ /** @stable ICU 56 */
1791
+ UBLOCK_AHOM = 253, /*[11700]*/
1792
+ /** @stable ICU 56 */
1793
+ UBLOCK_ANATOLIAN_HIEROGLYPHS = 254, /*[14400]*/
1794
+ /** @stable ICU 56 */
1795
+ UBLOCK_CHEROKEE_SUPPLEMENT = 255, /*[AB70]*/
1796
+ /** @stable ICU 56 */
1797
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E = 256, /*[2B820]*/
1798
+ /** @stable ICU 56 */
1799
+ UBLOCK_EARLY_DYNASTIC_CUNEIFORM = 257, /*[12480]*/
1800
+ /** @stable ICU 56 */
1801
+ UBLOCK_HATRAN = 258, /*[108E0]*/
1802
+ /** @stable ICU 56 */
1803
+ UBLOCK_MULTANI = 259, /*[11280]*/
1804
+ /** @stable ICU 56 */
1805
+ UBLOCK_OLD_HUNGARIAN = 260, /*[10C80]*/
1806
+ /** @stable ICU 56 */
1807
+ UBLOCK_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS = 261, /*[1F900]*/
1808
+ /** @stable ICU 56 */
1809
+ UBLOCK_SUTTON_SIGNWRITING = 262, /*[1D800]*/
1810
+
1811
+ /* New blocks in Unicode 9.0 */
1812
+
1813
+ /** @stable ICU 58 */
1814
+ UBLOCK_ADLAM = 263, /*[1E900]*/
1815
+ /** @stable ICU 58 */
1816
+ UBLOCK_BHAIKSUKI = 264, /*[11C00]*/
1817
+ /** @stable ICU 58 */
1818
+ UBLOCK_CYRILLIC_EXTENDED_C = 265, /*[1C80]*/
1819
+ /** @stable ICU 58 */
1820
+ UBLOCK_GLAGOLITIC_SUPPLEMENT = 266, /*[1E000]*/
1821
+ /** @stable ICU 58 */
1822
+ UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /*[16FE0]*/
1823
+ /** @stable ICU 58 */
1824
+ UBLOCK_MARCHEN = 268, /*[11C70]*/
1825
+ /** @stable ICU 58 */
1826
+ UBLOCK_MONGOLIAN_SUPPLEMENT = 269, /*[11660]*/
1827
+ /** @stable ICU 58 */
1828
+ UBLOCK_NEWA = 270, /*[11400]*/
1829
+ /** @stable ICU 58 */
1830
+ UBLOCK_OSAGE = 271, /*[104B0]*/
1831
+ /** @stable ICU 58 */
1832
+ UBLOCK_TANGUT = 272, /*[17000]*/
1833
+ /** @stable ICU 58 */
1834
+ UBLOCK_TANGUT_COMPONENTS = 273, /*[18800]*/
1835
+
1836
+ // New blocks in Unicode 10.0
1837
+
1838
+ /** @stable ICU 60 */
1839
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F = 274, /*[2CEB0]*/
1840
+ /** @stable ICU 60 */
1841
+ UBLOCK_KANA_EXTENDED_A = 275, /*[1B100]*/
1842
+ /** @stable ICU 60 */
1843
+ UBLOCK_MASARAM_GONDI = 276, /*[11D00]*/
1844
+ /** @stable ICU 60 */
1845
+ UBLOCK_NUSHU = 277, /*[1B170]*/
1846
+ /** @stable ICU 60 */
1847
+ UBLOCK_SOYOMBO = 278, /*[11A50]*/
1848
+ /** @stable ICU 60 */
1849
+ UBLOCK_SYRIAC_SUPPLEMENT = 279, /*[0860]*/
1850
+ /** @stable ICU 60 */
1851
+ UBLOCK_ZANABAZAR_SQUARE = 280, /*[11A00]*/
1852
+
1853
+ // New blocks in Unicode 11.0
1854
+
1855
+ /** @stable ICU 62 */
1856
+ UBLOCK_CHESS_SYMBOLS = 281, /*[1FA00]*/
1857
+ /** @stable ICU 62 */
1858
+ UBLOCK_DOGRA = 282, /*[11800]*/
1859
+ /** @stable ICU 62 */
1860
+ UBLOCK_GEORGIAN_EXTENDED = 283, /*[1C90]*/
1861
+ /** @stable ICU 62 */
1862
+ UBLOCK_GUNJALA_GONDI = 284, /*[11D60]*/
1863
+ /** @stable ICU 62 */
1864
+ UBLOCK_HANIFI_ROHINGYA = 285, /*[10D00]*/
1865
+ /** @stable ICU 62 */
1866
+ UBLOCK_INDIC_SIYAQ_NUMBERS = 286, /*[1EC70]*/
1867
+ /** @stable ICU 62 */
1868
+ UBLOCK_MAKASAR = 287, /*[11EE0]*/
1869
+ /** @stable ICU 62 */
1870
+ UBLOCK_MAYAN_NUMERALS = 288, /*[1D2E0]*/
1871
+ /** @stable ICU 62 */
1872
+ UBLOCK_MEDEFAIDRIN = 289, /*[16E40]*/
1873
+ /** @stable ICU 62 */
1874
+ UBLOCK_OLD_SOGDIAN = 290, /*[10F00]*/
1875
+ /** @stable ICU 62 */
1876
+ UBLOCK_SOGDIAN = 291, /*[10F30]*/
1877
+
1878
+ // New blocks in Unicode 12.0
1879
+
1880
+ /** @stable ICU 64 */
1881
+ UBLOCK_EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS = 292, /*[13430]*/
1882
+ /** @stable ICU 64 */
1883
+ UBLOCK_ELYMAIC = 293, /*[10FE0]*/
1884
+ /** @stable ICU 64 */
1885
+ UBLOCK_NANDINAGARI = 294, /*[119A0]*/
1886
+ /** @stable ICU 64 */
1887
+ UBLOCK_NYIAKENG_PUACHUE_HMONG = 295, /*[1E100]*/
1888
+ /** @stable ICU 64 */
1889
+ UBLOCK_OTTOMAN_SIYAQ_NUMBERS = 296, /*[1ED00]*/
1890
+ /** @stable ICU 64 */
1891
+ UBLOCK_SMALL_KANA_EXTENSION = 297, /*[1B130]*/
1892
+ /** @stable ICU 64 */
1893
+ UBLOCK_SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A = 298, /*[1FA70]*/
1894
+ /** @stable ICU 64 */
1895
+ UBLOCK_TAMIL_SUPPLEMENT = 299, /*[11FC0]*/
1896
+ /** @stable ICU 64 */
1897
+ UBLOCK_WANCHO = 300, /*[1E2C0]*/
1898
+
1899
+ // New blocks in Unicode 13.0
1900
+
1901
+ /** @stable ICU 66 */
1902
+ UBLOCK_CHORASMIAN = 301, /*[10FB0]*/
1903
+ /** @stable ICU 66 */
1904
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G = 302, /*[30000]*/
1905
+ /** @stable ICU 66 */
1906
+ UBLOCK_DIVES_AKURU = 303, /*[11900]*/
1907
+ /** @stable ICU 66 */
1908
+ UBLOCK_KHITAN_SMALL_SCRIPT = 304, /*[18B00]*/
1909
+ /** @stable ICU 66 */
1910
+ UBLOCK_LISU_SUPPLEMENT = 305, /*[11FB0]*/
1911
+ /** @stable ICU 66 */
1912
+ UBLOCK_SYMBOLS_FOR_LEGACY_COMPUTING = 306, /*[1FB00]*/
1913
+ /** @stable ICU 66 */
1914
+ UBLOCK_TANGUT_SUPPLEMENT = 307, /*[18D00]*/
1915
+ /** @stable ICU 66 */
1916
+ UBLOCK_YEZIDI = 308, /*[10E80]*/
1917
+
1918
+ // New blocks in Unicode 14.0
1919
+
1920
+ /** @stable ICU 70 */
1921
+ UBLOCK_ARABIC_EXTENDED_B = 309, /*[0870]*/
1922
+ /** @stable ICU 70 */
1923
+ UBLOCK_CYPRO_MINOAN = 310, /*[12F90]*/
1924
+ /** @stable ICU 70 */
1925
+ UBLOCK_ETHIOPIC_EXTENDED_B = 311, /*[1E7E0]*/
1926
+ /** @stable ICU 70 */
1927
+ UBLOCK_KANA_EXTENDED_B = 312, /*[1AFF0]*/
1928
+ /** @stable ICU 70 */
1929
+ UBLOCK_LATIN_EXTENDED_F = 313, /*[10780]*/
1930
+ /** @stable ICU 70 */
1931
+ UBLOCK_LATIN_EXTENDED_G = 314, /*[1DF00]*/
1932
+ /** @stable ICU 70 */
1933
+ UBLOCK_OLD_UYGHUR = 315, /*[10F70]*/
1934
+ /** @stable ICU 70 */
1935
+ UBLOCK_TANGSA = 316, /*[16A70]*/
1936
+ /** @stable ICU 70 */
1937
+ UBLOCK_TOTO = 317, /*[1E290]*/
1938
+ /** @stable ICU 70 */
1939
+ UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED_A = 318, /*[11AB0]*/
1940
+ /** @stable ICU 70 */
1941
+ UBLOCK_VITHKUQI = 319, /*[10570]*/
1942
+ /** @stable ICU 70 */
1943
+ UBLOCK_ZNAMENNY_MUSICAL_NOTATION = 320, /*[1CF00]*/
1944
+
1945
+ // New blocks in Unicode 15.0
1946
+
1947
+ /** @stable ICU 72 */
1948
+ UBLOCK_ARABIC_EXTENDED_C = 321, /*[10EC0]*/
1949
+ /** @stable ICU 72 */
1950
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H = 322, /*[31350]*/
1951
+ /** @stable ICU 72 */
1952
+ UBLOCK_CYRILLIC_EXTENDED_D = 323, /*[1E030]*/
1953
+ /** @stable ICU 72 */
1954
+ UBLOCK_DEVANAGARI_EXTENDED_A = 324, /*[11B00]*/
1955
+ /** @stable ICU 72 */
1956
+ UBLOCK_KAKTOVIK_NUMERALS = 325, /*[1D2C0]*/
1957
+ /** @stable ICU 72 */
1958
+ UBLOCK_KAWI = 326, /*[11F00]*/
1959
+ /** @stable ICU 72 */
1960
+ UBLOCK_NAG_MUNDARI = 327, /*[1E4D0]*/
1961
+
1962
+ // New block in Unicode 15.1
1963
+
1964
+ /** @stable ICU 74 */
1965
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_I = 328, /*[2EBF0]*/
1966
+
1967
+ // New blocks in Unicode 16.0
1968
+
1969
+ /** @stable ICU 76 */
1970
+ UBLOCK_EGYPTIAN_HIEROGLYPHS_EXTENDED_A = 329, /*[13460]*/
1971
+ /** @stable ICU 76 */
1972
+ UBLOCK_GARAY = 330, /*[10D40]*/
1973
+ /** @stable ICU 76 */
1974
+ UBLOCK_GURUNG_KHEMA = 331, /*[16100]*/
1975
+ /** @stable ICU 76 */
1976
+ UBLOCK_KIRAT_RAI = 332, /*[16D40]*/
1977
+ /** @stable ICU 76 */
1978
+ UBLOCK_MYANMAR_EXTENDED_C = 333, /*[116D0]*/
1979
+ /** @stable ICU 76 */
1980
+ UBLOCK_OL_ONAL = 334, /*[1E5D0]*/
1981
+ /** @stable ICU 76 */
1982
+ UBLOCK_SUNUWAR = 335, /*[11BC0]*/
1983
+ /** @stable ICU 76 */
1984
+ UBLOCK_SYMBOLS_FOR_LEGACY_COMPUTING_SUPPLEMENT = 336, /*[1CC00]*/
1985
+ /** @stable ICU 76 */
1986
+ UBLOCK_TODHRI = 337, /*[105C0]*/
1987
+ /** @stable ICU 76 */
1988
+ UBLOCK_TULU_TIGALARI = 338, /*[11380]*/
1989
+
1990
+ #ifndef U_HIDE_DEPRECATED_API
1991
+ /**
1992
+ * One more than the highest normal UBlockCode value.
1993
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BLOCK).
1994
+ *
1995
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
1996
+ */
1997
+ UBLOCK_COUNT = 339,
1998
+ #endif // U_HIDE_DEPRECATED_API
1999
+
2000
+ /** @stable ICU 2.0 */
2001
+ UBLOCK_INVALID_CODE=-1
2002
+ };
2003
+
2004
+ /** @stable ICU 2.0 */
2005
+ typedef enum UBlockCode UBlockCode;
2006
+
2007
+ /**
2008
+ * East Asian Width constants.
2009
+ *
2010
+ * @see UCHAR_EAST_ASIAN_WIDTH
2011
+ * @see u_getIntPropertyValue
2012
+ * @stable ICU 2.2
2013
+ */
2014
+ typedef enum UEastAsianWidth {
2015
+ /*
2016
+ * Note: UEastAsianWidth constants are parsed by preparseucd.py.
2017
+ * It matches lines like
2018
+ * U_EA_<Unicode East_Asian_Width value name>
2019
+ */
2020
+
2021
+ U_EA_NEUTRAL, /*[N]*/
2022
+ U_EA_AMBIGUOUS, /*[A]*/
2023
+ U_EA_HALFWIDTH, /*[H]*/
2024
+ U_EA_FULLWIDTH, /*[F]*/
2025
+ U_EA_NARROW, /*[Na]*/
2026
+ U_EA_WIDE, /*[W]*/
2027
+ #ifndef U_HIDE_DEPRECATED_API
2028
+ /**
2029
+ * One more than the highest normal UEastAsianWidth value.
2030
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_EAST_ASIAN_WIDTH).
2031
+ *
2032
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2033
+ */
2034
+ U_EA_COUNT
2035
+ #endif // U_HIDE_DEPRECATED_API
2036
+ } UEastAsianWidth;
2037
+
2038
+ /**
2039
+ * Selector constants for u_charName().
2040
+ * u_charName() returns the "modern" name of a
2041
+ * Unicode character; or the name that was defined in
2042
+ * Unicode version 1.0, before the Unicode standard merged
2043
+ * with ISO-10646; or an "extended" name that gives each
2044
+ * Unicode code point a unique name.
2045
+ *
2046
+ * @see u_charName
2047
+ * @stable ICU 2.0
2048
+ */
2049
+ typedef enum UCharNameChoice {
2050
+ /** Unicode character name (Name property). @stable ICU 2.0 */
2051
+ U_UNICODE_CHAR_NAME,
2052
+ #ifndef U_HIDE_DEPRECATED_API
2053
+ /**
2054
+ * The Unicode_1_Name property value which is of little practical value.
2055
+ * Beginning with ICU 49, ICU APIs return an empty string for this name choice.
2056
+ * @deprecated ICU 49
2057
+ */
2058
+ U_UNICODE_10_CHAR_NAME,
2059
+ #endif /* U_HIDE_DEPRECATED_API */
2060
+ /** Standard or synthetic character name. @stable ICU 2.0 */
2061
+ U_EXTENDED_CHAR_NAME = U_UNICODE_CHAR_NAME+2,
2062
+ /** Corrected name from NameAliases.txt. @stable ICU 4.4 */
2063
+ U_CHAR_NAME_ALIAS,
2064
+ #ifndef U_HIDE_DEPRECATED_API
2065
+ /**
2066
+ * One more than the highest normal UCharNameChoice value.
2067
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2068
+ */
2069
+ U_CHAR_NAME_CHOICE_COUNT
2070
+ #endif // U_HIDE_DEPRECATED_API
2071
+ } UCharNameChoice;
2072
+
2073
+ /**
2074
+ * Selector constants for u_getPropertyName() and
2075
+ * u_getPropertyValueName(). These selectors are used to choose which
2076
+ * name is returned for a given property or value. All properties and
2077
+ * values have a long name. Most have a short name, but some do not.
2078
+ * Unicode allows for additional names, beyond the long and short
2079
+ * name, which would be indicated by U_LONG_PROPERTY_NAME + i, where
2080
+ * i=1, 2,...
2081
+ *
2082
+ * @see u_getPropertyName()
2083
+ * @see u_getPropertyValueName()
2084
+ * @stable ICU 2.4
2085
+ */
2086
+ typedef enum UPropertyNameChoice {
2087
+ U_SHORT_PROPERTY_NAME,
2088
+ U_LONG_PROPERTY_NAME,
2089
+ #ifndef U_HIDE_DEPRECATED_API
2090
+ /**
2091
+ * One more than the highest normal UPropertyNameChoice value.
2092
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2093
+ */
2094
+ U_PROPERTY_NAME_CHOICE_COUNT
2095
+ #endif // U_HIDE_DEPRECATED_API
2096
+ } UPropertyNameChoice;
2097
+
2098
+ /**
2099
+ * Decomposition Type constants.
2100
+ *
2101
+ * @see UCHAR_DECOMPOSITION_TYPE
2102
+ * @stable ICU 2.2
2103
+ */
2104
+ typedef enum UDecompositionType {
2105
+ /*
2106
+ * Note: UDecompositionType constants are parsed by preparseucd.py.
2107
+ * It matches lines like
2108
+ * U_DT_<Unicode Decomposition_Type value name>
2109
+ */
2110
+
2111
+ U_DT_NONE, /*[none]*/
2112
+ U_DT_CANONICAL, /*[can]*/
2113
+ U_DT_COMPAT, /*[com]*/
2114
+ U_DT_CIRCLE, /*[enc]*/
2115
+ U_DT_FINAL, /*[fin]*/
2116
+ U_DT_FONT, /*[font]*/
2117
+ U_DT_FRACTION, /*[fra]*/
2118
+ U_DT_INITIAL, /*[init]*/
2119
+ U_DT_ISOLATED, /*[iso]*/
2120
+ U_DT_MEDIAL, /*[med]*/
2121
+ U_DT_NARROW, /*[nar]*/
2122
+ U_DT_NOBREAK, /*[nb]*/
2123
+ U_DT_SMALL, /*[sml]*/
2124
+ U_DT_SQUARE, /*[sqr]*/
2125
+ U_DT_SUB, /*[sub]*/
2126
+ U_DT_SUPER, /*[sup]*/
2127
+ U_DT_VERTICAL, /*[vert]*/
2128
+ U_DT_WIDE, /*[wide]*/
2129
+ #ifndef U_HIDE_DEPRECATED_API
2130
+ /**
2131
+ * One more than the highest normal UDecompositionType value.
2132
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_DECOMPOSITION_TYPE).
2133
+ *
2134
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2135
+ */
2136
+ U_DT_COUNT /* 18 */
2137
+ #endif // U_HIDE_DEPRECATED_API
2138
+ } UDecompositionType;
2139
+
2140
+ /**
2141
+ * Joining Type constants.
2142
+ *
2143
+ * @see UCHAR_JOINING_TYPE
2144
+ * @stable ICU 2.2
2145
+ */
2146
+ typedef enum UJoiningType {
2147
+ /*
2148
+ * Note: UJoiningType constants are parsed by preparseucd.py.
2149
+ * It matches lines like
2150
+ * U_JT_<Unicode Joining_Type value name>
2151
+ */
2152
+
2153
+ U_JT_NON_JOINING, /*[U]*/
2154
+ U_JT_JOIN_CAUSING, /*[C]*/
2155
+ U_JT_DUAL_JOINING, /*[D]*/
2156
+ U_JT_LEFT_JOINING, /*[L]*/
2157
+ U_JT_RIGHT_JOINING, /*[R]*/
2158
+ U_JT_TRANSPARENT, /*[T]*/
2159
+ #ifndef U_HIDE_DEPRECATED_API
2160
+ /**
2161
+ * One more than the highest normal UJoiningType value.
2162
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_JOINING_TYPE).
2163
+ *
2164
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2165
+ */
2166
+ U_JT_COUNT /* 6 */
2167
+ #endif // U_HIDE_DEPRECATED_API
2168
+ } UJoiningType;
2169
+
2170
+ /**
2171
+ * Joining Group constants.
2172
+ *
2173
+ * @see UCHAR_JOINING_GROUP
2174
+ * @stable ICU 2.2
2175
+ */
2176
+ typedef enum UJoiningGroup {
2177
+ /*
2178
+ * Note: UJoiningGroup constants are parsed by preparseucd.py.
2179
+ * It matches lines like
2180
+ * U_JG_<Unicode Joining_Group value name>
2181
+ */
2182
+
2183
+ U_JG_NO_JOINING_GROUP,
2184
+ U_JG_AIN,
2185
+ U_JG_ALAPH,
2186
+ U_JG_ALEF,
2187
+ U_JG_BEH,
2188
+ U_JG_BETH,
2189
+ U_JG_DAL,
2190
+ U_JG_DALATH_RISH,
2191
+ U_JG_E,
2192
+ U_JG_FEH,
2193
+ U_JG_FINAL_SEMKATH,
2194
+ U_JG_GAF,
2195
+ U_JG_GAMAL,
2196
+ U_JG_HAH,
2197
+ U_JG_TEH_MARBUTA_GOAL, /**< @stable ICU 4.6 */
2198
+ U_JG_HAMZA_ON_HEH_GOAL=U_JG_TEH_MARBUTA_GOAL,
2199
+ U_JG_HE,
2200
+ U_JG_HEH,
2201
+ U_JG_HEH_GOAL,
2202
+ U_JG_HETH,
2203
+ U_JG_KAF,
2204
+ U_JG_KAPH,
2205
+ U_JG_KNOTTED_HEH,
2206
+ U_JG_LAM,
2207
+ U_JG_LAMADH,
2208
+ U_JG_MEEM,
2209
+ U_JG_MIM,
2210
+ U_JG_NOON,
2211
+ U_JG_NUN,
2212
+ U_JG_PE,
2213
+ U_JG_QAF,
2214
+ U_JG_QAPH,
2215
+ U_JG_REH,
2216
+ U_JG_REVERSED_PE,
2217
+ U_JG_SAD,
2218
+ U_JG_SADHE,
2219
+ U_JG_SEEN,
2220
+ U_JG_SEMKATH,
2221
+ U_JG_SHIN,
2222
+ U_JG_SWASH_KAF,
2223
+ U_JG_SYRIAC_WAW,
2224
+ U_JG_TAH,
2225
+ U_JG_TAW,
2226
+ U_JG_TEH_MARBUTA,
2227
+ U_JG_TETH,
2228
+ U_JG_WAW,
2229
+ U_JG_YEH,
2230
+ U_JG_YEH_BARREE,
2231
+ U_JG_YEH_WITH_TAIL,
2232
+ U_JG_YUDH,
2233
+ U_JG_YUDH_HE,
2234
+ U_JG_ZAIN,
2235
+ U_JG_FE, /**< @stable ICU 2.6 */
2236
+ U_JG_KHAPH, /**< @stable ICU 2.6 */
2237
+ U_JG_ZHAIN, /**< @stable ICU 2.6 */
2238
+ U_JG_BURUSHASKI_YEH_BARREE, /**< @stable ICU 4.0 */
2239
+ U_JG_FARSI_YEH, /**< @stable ICU 4.4 */
2240
+ U_JG_NYA, /**< @stable ICU 4.4 */
2241
+ U_JG_ROHINGYA_YEH, /**< @stable ICU 49 */
2242
+ U_JG_MANICHAEAN_ALEPH, /**< @stable ICU 54 */
2243
+ U_JG_MANICHAEAN_AYIN, /**< @stable ICU 54 */
2244
+ U_JG_MANICHAEAN_BETH, /**< @stable ICU 54 */
2245
+ U_JG_MANICHAEAN_DALETH, /**< @stable ICU 54 */
2246
+ U_JG_MANICHAEAN_DHAMEDH, /**< @stable ICU 54 */
2247
+ U_JG_MANICHAEAN_FIVE, /**< @stable ICU 54 */
2248
+ U_JG_MANICHAEAN_GIMEL, /**< @stable ICU 54 */
2249
+ U_JG_MANICHAEAN_HETH, /**< @stable ICU 54 */
2250
+ U_JG_MANICHAEAN_HUNDRED, /**< @stable ICU 54 */
2251
+ U_JG_MANICHAEAN_KAPH, /**< @stable ICU 54 */
2252
+ U_JG_MANICHAEAN_LAMEDH, /**< @stable ICU 54 */
2253
+ U_JG_MANICHAEAN_MEM, /**< @stable ICU 54 */
2254
+ U_JG_MANICHAEAN_NUN, /**< @stable ICU 54 */
2255
+ U_JG_MANICHAEAN_ONE, /**< @stable ICU 54 */
2256
+ U_JG_MANICHAEAN_PE, /**< @stable ICU 54 */
2257
+ U_JG_MANICHAEAN_QOPH, /**< @stable ICU 54 */
2258
+ U_JG_MANICHAEAN_RESH, /**< @stable ICU 54 */
2259
+ U_JG_MANICHAEAN_SADHE, /**< @stable ICU 54 */
2260
+ U_JG_MANICHAEAN_SAMEKH, /**< @stable ICU 54 */
2261
+ U_JG_MANICHAEAN_TAW, /**< @stable ICU 54 */
2262
+ U_JG_MANICHAEAN_TEN, /**< @stable ICU 54 */
2263
+ U_JG_MANICHAEAN_TETH, /**< @stable ICU 54 */
2264
+ U_JG_MANICHAEAN_THAMEDH, /**< @stable ICU 54 */
2265
+ U_JG_MANICHAEAN_TWENTY, /**< @stable ICU 54 */
2266
+ U_JG_MANICHAEAN_WAW, /**< @stable ICU 54 */
2267
+ U_JG_MANICHAEAN_YODH, /**< @stable ICU 54 */
2268
+ U_JG_MANICHAEAN_ZAYIN, /**< @stable ICU 54 */
2269
+ U_JG_STRAIGHT_WAW, /**< @stable ICU 54 */
2270
+ U_JG_AFRICAN_FEH, /**< @stable ICU 58 */
2271
+ U_JG_AFRICAN_NOON, /**< @stable ICU 58 */
2272
+ U_JG_AFRICAN_QAF, /**< @stable ICU 58 */
2273
+
2274
+ U_JG_MALAYALAM_BHA, /**< @stable ICU 60 */
2275
+ U_JG_MALAYALAM_JA, /**< @stable ICU 60 */
2276
+ U_JG_MALAYALAM_LLA, /**< @stable ICU 60 */
2277
+ U_JG_MALAYALAM_LLLA, /**< @stable ICU 60 */
2278
+ U_JG_MALAYALAM_NGA, /**< @stable ICU 60 */
2279
+ U_JG_MALAYALAM_NNA, /**< @stable ICU 60 */
2280
+ U_JG_MALAYALAM_NNNA, /**< @stable ICU 60 */
2281
+ U_JG_MALAYALAM_NYA, /**< @stable ICU 60 */
2282
+ U_JG_MALAYALAM_RA, /**< @stable ICU 60 */
2283
+ U_JG_MALAYALAM_SSA, /**< @stable ICU 60 */
2284
+ U_JG_MALAYALAM_TTA, /**< @stable ICU 60 */
2285
+
2286
+ U_JG_HANIFI_ROHINGYA_KINNA_YA, /**< @stable ICU 62 */
2287
+ U_JG_HANIFI_ROHINGYA_PA, /**< @stable ICU 62 */
2288
+
2289
+ U_JG_THIN_YEH, /**< @stable ICU 70 */
2290
+ U_JG_VERTICAL_TAIL, /**< @stable ICU 70 */
2291
+
2292
+ U_JG_KASHMIRI_YEH, /**< @stable ICU 76 */
2293
+
2294
+ #ifndef U_HIDE_DEPRECATED_API
2295
+ /**
2296
+ * One more than the highest normal UJoiningGroup value.
2297
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_JOINING_GROUP).
2298
+ *
2299
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2300
+ */
2301
+ U_JG_COUNT
2302
+ #endif // U_HIDE_DEPRECATED_API
2303
+ } UJoiningGroup;
2304
+
2305
+ /**
2306
+ * Grapheme Cluster Break constants.
2307
+ *
2308
+ * @see UCHAR_GRAPHEME_CLUSTER_BREAK
2309
+ * @stable ICU 3.4
2310
+ */
2311
+ typedef enum UGraphemeClusterBreak {
2312
+ /*
2313
+ * Note: UGraphemeClusterBreak constants are parsed by preparseucd.py.
2314
+ * It matches lines like
2315
+ * U_GCB_<Unicode Grapheme_Cluster_Break value name>
2316
+ */
2317
+
2318
+ U_GCB_OTHER = 0, /*[XX]*/
2319
+ U_GCB_CONTROL = 1, /*[CN]*/
2320
+ U_GCB_CR = 2, /*[CR]*/
2321
+ U_GCB_EXTEND = 3, /*[EX]*/
2322
+ U_GCB_L = 4, /*[L]*/
2323
+ U_GCB_LF = 5, /*[LF]*/
2324
+ U_GCB_LV = 6, /*[LV]*/
2325
+ U_GCB_LVT = 7, /*[LVT]*/
2326
+ U_GCB_T = 8, /*[T]*/
2327
+ U_GCB_V = 9, /*[V]*/
2328
+ /** @stable ICU 4.0 */
2329
+ U_GCB_SPACING_MARK = 10, /*[SM]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2330
+ /** @stable ICU 4.0 */
2331
+ U_GCB_PREPEND = 11, /*[PP]*/
2332
+ /** @stable ICU 50 */
2333
+ U_GCB_REGIONAL_INDICATOR = 12, /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2334
+ /** @stable ICU 58 */
2335
+ U_GCB_E_BASE = 13, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2336
+ /** @stable ICU 58 */
2337
+ U_GCB_E_BASE_GAZ = 14, /*[EBG]*/
2338
+ /** @stable ICU 58 */
2339
+ U_GCB_E_MODIFIER = 15, /*[EM]*/
2340
+ /** @stable ICU 58 */
2341
+ U_GCB_GLUE_AFTER_ZWJ = 16, /*[GAZ]*/
2342
+ /** @stable ICU 58 */
2343
+ U_GCB_ZWJ = 17, /*[ZWJ]*/
2344
+
2345
+ #ifndef U_HIDE_DEPRECATED_API
2346
+ /**
2347
+ * One more than the highest normal UGraphemeClusterBreak value.
2348
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_GRAPHEME_CLUSTER_BREAK).
2349
+ *
2350
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2351
+ */
2352
+ U_GCB_COUNT = 18
2353
+ #endif // U_HIDE_DEPRECATED_API
2354
+ } UGraphemeClusterBreak;
2355
+
2356
+ /**
2357
+ * Word Break constants.
2358
+ * (UWordBreak is a pre-existing enum type in ubrk.h for word break status tags.)
2359
+ *
2360
+ * @see UCHAR_WORD_BREAK
2361
+ * @stable ICU 3.4
2362
+ */
2363
+ typedef enum UWordBreakValues {
2364
+ /*
2365
+ * Note: UWordBreakValues constants are parsed by preparseucd.py.
2366
+ * It matches lines like
2367
+ * U_WB_<Unicode Word_Break value name>
2368
+ */
2369
+
2370
+ U_WB_OTHER = 0, /*[XX]*/
2371
+ U_WB_ALETTER = 1, /*[LE]*/
2372
+ U_WB_FORMAT = 2, /*[FO]*/
2373
+ U_WB_KATAKANA = 3, /*[KA]*/
2374
+ U_WB_MIDLETTER = 4, /*[ML]*/
2375
+ U_WB_MIDNUM = 5, /*[MN]*/
2376
+ U_WB_NUMERIC = 6, /*[NU]*/
2377
+ U_WB_EXTENDNUMLET = 7, /*[EX]*/
2378
+ /** @stable ICU 4.0 */
2379
+ U_WB_CR = 8, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2380
+ /** @stable ICU 4.0 */
2381
+ U_WB_EXTEND = 9, /*[Extend]*/
2382
+ /** @stable ICU 4.0 */
2383
+ U_WB_LF = 10, /*[LF]*/
2384
+ /** @stable ICU 4.0 */
2385
+ U_WB_MIDNUMLET =11, /*[MB]*/
2386
+ /** @stable ICU 4.0 */
2387
+ U_WB_NEWLINE =12, /*[NL]*/
2388
+ /** @stable ICU 50 */
2389
+ U_WB_REGIONAL_INDICATOR = 13, /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2390
+ /** @stable ICU 52 */
2391
+ U_WB_HEBREW_LETTER = 14, /*[HL]*/ /* from here on: new in Unicode 6.3/ICU 52 */
2392
+ /** @stable ICU 52 */
2393
+ U_WB_SINGLE_QUOTE = 15, /*[SQ]*/
2394
+ /** @stable ICU 52 */
2395
+ U_WB_DOUBLE_QUOTE = 16, /*[DQ]*/
2396
+ /** @stable ICU 58 */
2397
+ U_WB_E_BASE = 17, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2398
+ /** @stable ICU 58 */
2399
+ U_WB_E_BASE_GAZ = 18, /*[EBG]*/
2400
+ /** @stable ICU 58 */
2401
+ U_WB_E_MODIFIER = 19, /*[EM]*/
2402
+ /** @stable ICU 58 */
2403
+ U_WB_GLUE_AFTER_ZWJ = 20, /*[GAZ]*/
2404
+ /** @stable ICU 58 */
2405
+ U_WB_ZWJ = 21, /*[ZWJ]*/
2406
+ /** @stable ICU 62 */
2407
+ U_WB_WSEGSPACE = 22, /*[WSEGSPACE]*/
2408
+
2409
+ #ifndef U_HIDE_DEPRECATED_API
2410
+ /**
2411
+ * One more than the highest normal UWordBreakValues value.
2412
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_WORD_BREAK).
2413
+ *
2414
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2415
+ */
2416
+ U_WB_COUNT = 23
2417
+ #endif // U_HIDE_DEPRECATED_API
2418
+ } UWordBreakValues;
2419
+
2420
+ /**
2421
+ * Sentence Break constants.
2422
+ *
2423
+ * @see UCHAR_SENTENCE_BREAK
2424
+ * @stable ICU 3.4
2425
+ */
2426
+ typedef enum USentenceBreak {
2427
+ /*
2428
+ * Note: USentenceBreak constants are parsed by preparseucd.py.
2429
+ * It matches lines like
2430
+ * U_SB_<Unicode Sentence_Break value name>
2431
+ */
2432
+
2433
+ U_SB_OTHER = 0, /*[XX]*/
2434
+ U_SB_ATERM = 1, /*[AT]*/
2435
+ U_SB_CLOSE = 2, /*[CL]*/
2436
+ U_SB_FORMAT = 3, /*[FO]*/
2437
+ U_SB_LOWER = 4, /*[LO]*/
2438
+ U_SB_NUMERIC = 5, /*[NU]*/
2439
+ U_SB_OLETTER = 6, /*[LE]*/
2440
+ U_SB_SEP = 7, /*[SE]*/
2441
+ U_SB_SP = 8, /*[SP]*/
2442
+ U_SB_STERM = 9, /*[ST]*/
2443
+ U_SB_UPPER = 10, /*[UP]*/
2444
+ U_SB_CR = 11, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2445
+ U_SB_EXTEND = 12, /*[EX]*/
2446
+ U_SB_LF = 13, /*[LF]*/
2447
+ U_SB_SCONTINUE = 14, /*[SC]*/
2448
+ #ifndef U_HIDE_DEPRECATED_API
2449
+ /**
2450
+ * One more than the highest normal USentenceBreak value.
2451
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_SENTENCE_BREAK).
2452
+ *
2453
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2454
+ */
2455
+ U_SB_COUNT = 15
2456
+ #endif // U_HIDE_DEPRECATED_API
2457
+ } USentenceBreak;
2458
+
2459
+ /**
2460
+ * Line Break constants.
2461
+ *
2462
+ * @see UCHAR_LINE_BREAK
2463
+ * @stable ICU 2.2
2464
+ */
2465
+ typedef enum ULineBreak {
2466
+ /*
2467
+ * Note: ULineBreak constants are parsed by preparseucd.py.
2468
+ * It matches lines like
2469
+ * U_LB_<Unicode Line_Break value name>
2470
+ */
2471
+
2472
+ U_LB_UNKNOWN = 0, /*[XX]*/
2473
+ U_LB_AMBIGUOUS = 1, /*[AI]*/
2474
+ U_LB_ALPHABETIC = 2, /*[AL]*/
2475
+ U_LB_BREAK_BOTH = 3, /*[B2]*/
2476
+ U_LB_BREAK_AFTER = 4, /*[BA]*/
2477
+ U_LB_BREAK_BEFORE = 5, /*[BB]*/
2478
+ U_LB_MANDATORY_BREAK = 6, /*[BK]*/
2479
+ U_LB_CONTINGENT_BREAK = 7, /*[CB]*/
2480
+ U_LB_CLOSE_PUNCTUATION = 8, /*[CL]*/
2481
+ U_LB_COMBINING_MARK = 9, /*[CM]*/
2482
+ U_LB_CARRIAGE_RETURN = 10, /*[CR]*/
2483
+ U_LB_EXCLAMATION = 11, /*[EX]*/
2484
+ U_LB_GLUE = 12, /*[GL]*/
2485
+ U_LB_HYPHEN = 13, /*[HY]*/
2486
+ U_LB_IDEOGRAPHIC = 14, /*[ID]*/
2487
+ /** Renamed from the misspelled "inseperable" in Unicode 4.0.1/ICU 3.0 @stable ICU 3.0 */
2488
+ U_LB_INSEPARABLE = 15, /*[IN]*/
2489
+ U_LB_INSEPERABLE = U_LB_INSEPARABLE,
2490
+ U_LB_INFIX_NUMERIC = 16, /*[IS]*/
2491
+ U_LB_LINE_FEED = 17, /*[LF]*/
2492
+ U_LB_NONSTARTER = 18, /*[NS]*/
2493
+ U_LB_NUMERIC = 19, /*[NU]*/
2494
+ U_LB_OPEN_PUNCTUATION = 20, /*[OP]*/
2495
+ U_LB_POSTFIX_NUMERIC = 21, /*[PO]*/
2496
+ U_LB_PREFIX_NUMERIC = 22, /*[PR]*/
2497
+ U_LB_QUOTATION = 23, /*[QU]*/
2498
+ U_LB_COMPLEX_CONTEXT = 24, /*[SA]*/
2499
+ U_LB_SURROGATE = 25, /*[SG]*/
2500
+ U_LB_SPACE = 26, /*[SP]*/
2501
+ U_LB_BREAK_SYMBOLS = 27, /*[SY]*/
2502
+ U_LB_ZWSPACE = 28, /*[ZW]*/
2503
+ /** @stable ICU 2.6 */
2504
+ U_LB_NEXT_LINE = 29, /*[NL]*/ /* from here on: new in Unicode 4/ICU 2.6 */
2505
+ /** @stable ICU 2.6 */
2506
+ U_LB_WORD_JOINER = 30, /*[WJ]*/
2507
+ /** @stable ICU 3.4 */
2508
+ U_LB_H2 = 31, /*[H2]*/ /* from here on: new in Unicode 4.1/ICU 3.4 */
2509
+ /** @stable ICU 3.4 */
2510
+ U_LB_H3 = 32, /*[H3]*/
2511
+ /** @stable ICU 3.4 */
2512
+ U_LB_JL = 33, /*[JL]*/
2513
+ /** @stable ICU 3.4 */
2514
+ U_LB_JT = 34, /*[JT]*/
2515
+ /** @stable ICU 3.4 */
2516
+ U_LB_JV = 35, /*[JV]*/
2517
+ /** @stable ICU 4.4 */
2518
+ U_LB_CLOSE_PARENTHESIS = 36, /*[CP]*/ /* new in Unicode 5.2/ICU 4.4 */
2519
+ /** @stable ICU 49 */
2520
+ U_LB_CONDITIONAL_JAPANESE_STARTER = 37,/*[CJ]*/ /* new in Unicode 6.1/ICU 49 */
2521
+ /** @stable ICU 49 */
2522
+ U_LB_HEBREW_LETTER = 38, /*[HL]*/ /* new in Unicode 6.1/ICU 49 */
2523
+ /** @stable ICU 50 */
2524
+ U_LB_REGIONAL_INDICATOR = 39,/*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2525
+ /** @stable ICU 58 */
2526
+ U_LB_E_BASE = 40, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2527
+ /** @stable ICU 58 */
2528
+ U_LB_E_MODIFIER = 41, /*[EM]*/
2529
+ /** @stable ICU 58 */
2530
+ U_LB_ZWJ = 42, /*[ZWJ]*/
2531
+ /** @stable ICU 74 */
2532
+ U_LB_AKSARA = 43, /*[AK]*/
2533
+ /** @stable ICU 74 */
2534
+ U_LB_AKSARA_PREBASE = 44, /*[AP]*/
2535
+ /** @stable ICU 74 */
2536
+ U_LB_AKSARA_START = 45, /*[AS]*/
2537
+ /** @stable ICU 74 */
2538
+ U_LB_VIRAMA_FINAL = 46, /*[VF]*/
2539
+ /** @stable ICU 74 */
2540
+ U_LB_VIRAMA = 47, /*[VI]*/
2541
+ #ifndef U_HIDE_DEPRECATED_API
2542
+ /**
2543
+ * One more than the highest normal ULineBreak value.
2544
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_LINE_BREAK).
2545
+ *
2546
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2547
+ */
2548
+ U_LB_COUNT = 48
2549
+ #endif // U_HIDE_DEPRECATED_API
2550
+ } ULineBreak;
2551
+
2552
+ /**
2553
+ * Numeric Type constants.
2554
+ *
2555
+ * @see UCHAR_NUMERIC_TYPE
2556
+ * @stable ICU 2.2
2557
+ */
2558
+ typedef enum UNumericType {
2559
+ /*
2560
+ * Note: UNumericType constants are parsed by preparseucd.py.
2561
+ * It matches lines like
2562
+ * U_NT_<Unicode Numeric_Type value name>
2563
+ */
2564
+
2565
+ U_NT_NONE, /*[None]*/
2566
+ U_NT_DECIMAL, /*[de]*/
2567
+ U_NT_DIGIT, /*[di]*/
2568
+ U_NT_NUMERIC, /*[nu]*/
2569
+ #ifndef U_HIDE_DEPRECATED_API
2570
+ /**
2571
+ * One more than the highest normal UNumericType value.
2572
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_NUMERIC_TYPE).
2573
+ *
2574
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2575
+ */
2576
+ U_NT_COUNT
2577
+ #endif // U_HIDE_DEPRECATED_API
2578
+ } UNumericType;
2579
+
2580
+ /**
2581
+ * Hangul Syllable Type constants.
2582
+ *
2583
+ * @see UCHAR_HANGUL_SYLLABLE_TYPE
2584
+ * @stable ICU 2.6
2585
+ */
2586
+ typedef enum UHangulSyllableType {
2587
+ /*
2588
+ * Note: UHangulSyllableType constants are parsed by preparseucd.py.
2589
+ * It matches lines like
2590
+ * U_HST_<Unicode Hangul_Syllable_Type value name>
2591
+ */
2592
+
2593
+ U_HST_NOT_APPLICABLE, /*[NA]*/
2594
+ U_HST_LEADING_JAMO, /*[L]*/
2595
+ U_HST_VOWEL_JAMO, /*[V]*/
2596
+ U_HST_TRAILING_JAMO, /*[T]*/
2597
+ U_HST_LV_SYLLABLE, /*[LV]*/
2598
+ U_HST_LVT_SYLLABLE, /*[LVT]*/
2599
+ #ifndef U_HIDE_DEPRECATED_API
2600
+ /**
2601
+ * One more than the highest normal UHangulSyllableType value.
2602
+ * The highest value is available via u_getIntPropertyMaxValue(UCHAR_HANGUL_SYLLABLE_TYPE).
2603
+ *
2604
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
2605
+ */
2606
+ U_HST_COUNT
2607
+ #endif // U_HIDE_DEPRECATED_API
2608
+ } UHangulSyllableType;
2609
+
2610
+ /**
2611
+ * Indic Positional Category constants.
2612
+ *
2613
+ * @see UCHAR_INDIC_POSITIONAL_CATEGORY
2614
+ * @stable ICU 63
2615
+ */
2616
+ typedef enum UIndicPositionalCategory {
2617
+ /*
2618
+ * Note: UIndicPositionalCategory constants are parsed by preparseucd.py.
2619
+ * It matches lines like
2620
+ * U_INPC_<Unicode Indic_Positional_Category value name>
2621
+ */
2622
+
2623
+ /** @stable ICU 63 */
2624
+ U_INPC_NA,
2625
+ /** @stable ICU 63 */
2626
+ U_INPC_BOTTOM,
2627
+ /** @stable ICU 63 */
2628
+ U_INPC_BOTTOM_AND_LEFT,
2629
+ /** @stable ICU 63 */
2630
+ U_INPC_BOTTOM_AND_RIGHT,
2631
+ /** @stable ICU 63 */
2632
+ U_INPC_LEFT,
2633
+ /** @stable ICU 63 */
2634
+ U_INPC_LEFT_AND_RIGHT,
2635
+ /** @stable ICU 63 */
2636
+ U_INPC_OVERSTRUCK,
2637
+ /** @stable ICU 63 */
2638
+ U_INPC_RIGHT,
2639
+ /** @stable ICU 63 */
2640
+ U_INPC_TOP,
2641
+ /** @stable ICU 63 */
2642
+ U_INPC_TOP_AND_BOTTOM,
2643
+ /** @stable ICU 63 */
2644
+ U_INPC_TOP_AND_BOTTOM_AND_RIGHT,
2645
+ /** @stable ICU 63 */
2646
+ U_INPC_TOP_AND_LEFT,
2647
+ /** @stable ICU 63 */
2648
+ U_INPC_TOP_AND_LEFT_AND_RIGHT,
2649
+ /** @stable ICU 63 */
2650
+ U_INPC_TOP_AND_RIGHT,
2651
+ /** @stable ICU 63 */
2652
+ U_INPC_VISUAL_ORDER_LEFT,
2653
+ /** @stable ICU 66 */
2654
+ U_INPC_TOP_AND_BOTTOM_AND_LEFT,
2655
+ } UIndicPositionalCategory;
2656
+
2657
+ /**
2658
+ * Indic Syllabic Category constants.
2659
+ *
2660
+ * @see UCHAR_INDIC_SYLLABIC_CATEGORY
2661
+ * @stable ICU 63
2662
+ */
2663
+ typedef enum UIndicSyllabicCategory {
2664
+ /*
2665
+ * Note: UIndicSyllabicCategory constants are parsed by preparseucd.py.
2666
+ * It matches lines like
2667
+ * U_INSC_<Unicode Indic_Syllabic_Category value name>
2668
+ */
2669
+
2670
+ /** @stable ICU 63 */
2671
+ U_INSC_OTHER,
2672
+ /** @stable ICU 63 */
2673
+ U_INSC_AVAGRAHA,
2674
+ /** @stable ICU 63 */
2675
+ U_INSC_BINDU,
2676
+ /** @stable ICU 63 */
2677
+ U_INSC_BRAHMI_JOINING_NUMBER,
2678
+ /** @stable ICU 63 */
2679
+ U_INSC_CANTILLATION_MARK,
2680
+ /** @stable ICU 63 */
2681
+ U_INSC_CONSONANT,
2682
+ /** @stable ICU 63 */
2683
+ U_INSC_CONSONANT_DEAD,
2684
+ /** @stable ICU 63 */
2685
+ U_INSC_CONSONANT_FINAL,
2686
+ /** @stable ICU 63 */
2687
+ U_INSC_CONSONANT_HEAD_LETTER,
2688
+ /** @stable ICU 63 */
2689
+ U_INSC_CONSONANT_INITIAL_POSTFIXED,
2690
+ /** @stable ICU 63 */
2691
+ U_INSC_CONSONANT_KILLER,
2692
+ /** @stable ICU 63 */
2693
+ U_INSC_CONSONANT_MEDIAL,
2694
+ /** @stable ICU 63 */
2695
+ U_INSC_CONSONANT_PLACEHOLDER,
2696
+ /** @stable ICU 63 */
2697
+ U_INSC_CONSONANT_PRECEDING_REPHA,
2698
+ /** @stable ICU 63 */
2699
+ U_INSC_CONSONANT_PREFIXED,
2700
+ /** @stable ICU 63 */
2701
+ U_INSC_CONSONANT_SUBJOINED,
2702
+ /** @stable ICU 63 */
2703
+ U_INSC_CONSONANT_SUCCEEDING_REPHA,
2704
+ /** @stable ICU 63 */
2705
+ U_INSC_CONSONANT_WITH_STACKER,
2706
+ /** @stable ICU 63 */
2707
+ U_INSC_GEMINATION_MARK,
2708
+ /** @stable ICU 63 */
2709
+ U_INSC_INVISIBLE_STACKER,
2710
+ /** @stable ICU 63 */
2711
+ U_INSC_JOINER,
2712
+ /** @stable ICU 63 */
2713
+ U_INSC_MODIFYING_LETTER,
2714
+ /** @stable ICU 63 */
2715
+ U_INSC_NON_JOINER,
2716
+ /** @stable ICU 63 */
2717
+ U_INSC_NUKTA,
2718
+ /** @stable ICU 63 */
2719
+ U_INSC_NUMBER,
2720
+ /** @stable ICU 63 */
2721
+ U_INSC_NUMBER_JOINER,
2722
+ /** @stable ICU 63 */
2723
+ U_INSC_PURE_KILLER,
2724
+ /** @stable ICU 63 */
2725
+ U_INSC_REGISTER_SHIFTER,
2726
+ /** @stable ICU 63 */
2727
+ U_INSC_SYLLABLE_MODIFIER,
2728
+ /** @stable ICU 63 */
2729
+ U_INSC_TONE_LETTER,
2730
+ /** @stable ICU 63 */
2731
+ U_INSC_TONE_MARK,
2732
+ /** @stable ICU 63 */
2733
+ U_INSC_VIRAMA,
2734
+ /** @stable ICU 63 */
2735
+ U_INSC_VISARGA,
2736
+ /** @stable ICU 63 */
2737
+ U_INSC_VOWEL,
2738
+ /** @stable ICU 63 */
2739
+ U_INSC_VOWEL_DEPENDENT,
2740
+ /** @stable ICU 63 */
2741
+ U_INSC_VOWEL_INDEPENDENT,
2742
+ /** @stable ICU 76 */
2743
+ U_INSC_REORDERING_KILLER,
2744
+ } UIndicSyllabicCategory;
2745
+
2746
+ #ifndef U_HIDE_DRAFT_API
2747
+ /**
2748
+ * Indic Conjunct Break constants.
2749
+ *
2750
+ * @see UCHAR_INDIC_CONJUNCT_BREAK
2751
+ * @draft ICU 76
2752
+ */
2753
+ typedef enum UIndicConjunctBreak {
2754
+ /*
2755
+ * Note: UIndicConjunctBreak constants are parsed by preparseucd.py.
2756
+ * It matches lines like
2757
+ * U_INCB_<Unicode Indic_Conjunct_Break value name>
2758
+ */
2759
+
2760
+ /** @draft ICU 76 */
2761
+ U_INCB_NONE,
2762
+ /** @draft ICU 76 */
2763
+ U_INCB_CONSONANT,
2764
+ /** @draft ICU 76 */
2765
+ U_INCB_EXTEND,
2766
+ /** @draft ICU 76 */
2767
+ U_INCB_LINKER,
2768
+ } UIndicConjunctBreak;
2769
+ #endif // U_HIDE_DRAFT_API
2770
+
2771
+ /**
2772
+ * Vertical Orientation constants.
2773
+ *
2774
+ * @see UCHAR_VERTICAL_ORIENTATION
2775
+ * @stable ICU 63
2776
+ */
2777
+ typedef enum UVerticalOrientation {
2778
+ /*
2779
+ * Note: UVerticalOrientation constants are parsed by preparseucd.py.
2780
+ * It matches lines like
2781
+ * U_VO_<Unicode Vertical_Orientation value name>
2782
+ */
2783
+
2784
+ /** @stable ICU 63 */
2785
+ U_VO_ROTATED,
2786
+ /** @stable ICU 63 */
2787
+ U_VO_TRANSFORMED_ROTATED,
2788
+ /** @stable ICU 63 */
2789
+ U_VO_TRANSFORMED_UPRIGHT,
2790
+ /** @stable ICU 63 */
2791
+ U_VO_UPRIGHT,
2792
+ } UVerticalOrientation;
2793
+
2794
+ #ifndef U_HIDE_DRAFT_API
2795
+ /**
2796
+ * Identifier Status constants.
2797
+ * See https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type.
2798
+ *
2799
+ * @see UCHAR_IDENTIFIER_STATUS
2800
+ * @draft ICU 75
2801
+ */
2802
+ typedef enum UIdentifierStatus {
2803
+ /*
2804
+ * Note: UIdentifierStatus constants are parsed by preparseucd.py.
2805
+ * It matches lines like
2806
+ * U_ID_STATUS_<Unicode Identifier_Status value name>
2807
+ */
2808
+
2809
+ /** @draft ICU 75 */
2810
+ U_ID_STATUS_RESTRICTED,
2811
+ /** @draft ICU 75 */
2812
+ U_ID_STATUS_ALLOWED,
2813
+ } UIdentifierStatus;
2814
+
2815
+ /**
2816
+ * Identifier Type constants.
2817
+ * See https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type.
2818
+ *
2819
+ * @see UCHAR_IDENTIFIER_TYPE
2820
+ * @draft ICU 75
2821
+ */
2822
+ typedef enum UIdentifierType {
2823
+ /*
2824
+ * Note: UIdentifierType constants are parsed by preparseucd.py.
2825
+ * It matches lines like
2826
+ * U_ID_TYPE_<Unicode Identifier_Type value name>
2827
+ */
2828
+
2829
+ /** @draft ICU 75 */
2830
+ U_ID_TYPE_NOT_CHARACTER,
2831
+ /** @draft ICU 75 */
2832
+ U_ID_TYPE_DEPRECATED,
2833
+ /** @draft ICU 75 */
2834
+ U_ID_TYPE_DEFAULT_IGNORABLE,
2835
+ /** @draft ICU 75 */
2836
+ U_ID_TYPE_NOT_NFKC,
2837
+ /** @draft ICU 75 */
2838
+ U_ID_TYPE_NOT_XID,
2839
+ /** @draft ICU 75 */
2840
+ U_ID_TYPE_EXCLUSION,
2841
+ /** @draft ICU 75 */
2842
+ U_ID_TYPE_OBSOLETE,
2843
+ /** @draft ICU 75 */
2844
+ U_ID_TYPE_TECHNICAL,
2845
+ /** @draft ICU 75 */
2846
+ U_ID_TYPE_UNCOMMON_USE,
2847
+ /** @draft ICU 75 */
2848
+ U_ID_TYPE_LIMITED_USE,
2849
+ /** @draft ICU 75 */
2850
+ U_ID_TYPE_INCLUSION,
2851
+ /** @draft ICU 75 */
2852
+ U_ID_TYPE_RECOMMENDED,
2853
+ } UIdentifierType;
2854
+ #endif // U_HIDE_DRAFT_API
2855
+
2856
+ /**
2857
+ * Check a binary Unicode property for a code point.
2858
+ *
2859
+ * Unicode, especially in version 3.2, defines many more properties than the
2860
+ * original set in UnicodeData.txt.
2861
+ *
2862
+ * The properties APIs are intended to reflect Unicode properties as defined
2863
+ * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
2864
+ * For details about the properties see http://www.unicode.org/ucd/ .
2865
+ * For names of Unicode properties see the UCD file PropertyAliases.txt.
2866
+ *
2867
+ * Important: If ICU is built with UCD files from Unicode versions below 3.2,
2868
+ * then properties marked with "new in Unicode 3.2" are not or not fully available.
2869
+ *
2870
+ * @param c Code point to test.
2871
+ * @param which UProperty selector constant, identifies which binary property to check.
2872
+ * Must be UCHAR_BINARY_START&lt;=which&lt;UCHAR_BINARY_LIMIT.
2873
+ * @return true or false according to the binary Unicode property value for c.
2874
+ * Also false if 'which' is out of bounds or if the Unicode version
2875
+ * does not have data for the property at all.
2876
+ *
2877
+ * @see UProperty
2878
+ * @see u_getBinaryPropertySet
2879
+ * @see u_getIntPropertyValue
2880
+ * @see u_getUnicodeVersion
2881
+ * @stable ICU 2.1
2882
+ */
2883
+ U_CAPI UBool U_EXPORT2
2884
+ u_hasBinaryProperty(UChar32 c, UProperty which);
2885
+
2886
+ /**
2887
+ * Returns true if the property is true for the string.
2888
+ * Same as u_hasBinaryProperty(single code point, which)
2889
+ * if the string contains exactly one code point.
2890
+ *
2891
+ * Most properties apply only to single code points.
2892
+ * <a href="https://www.unicode.org/reports/tr51/#Emoji_Sets">UTS #51 Unicode Emoji</a>
2893
+ * defines several properties of strings.
2894
+ *
2895
+ * @param s String to test.
2896
+ * @param length Length of the string, or negative if NUL-terminated.
2897
+ * @param which UProperty selector constant, identifies which binary property to check.
2898
+ * Must be UCHAR_BINARY_START&lt;=which&lt;UCHAR_BINARY_LIMIT.
2899
+ * @return true or false according to the binary Unicode property value for the string.
2900
+ * Also false if 'which' is out of bounds or if the Unicode version
2901
+ * does not have data for the property at all.
2902
+ *
2903
+ * @see UProperty
2904
+ * @see u_hasBinaryProperty
2905
+ * @see u_getBinaryPropertySet
2906
+ * @see u_getIntPropertyValue
2907
+ * @see u_getUnicodeVersion
2908
+ * @stable ICU 70
2909
+ */
2910
+ U_CAPI UBool U_EXPORT2
2911
+ u_stringHasBinaryProperty(const UChar *s, int32_t length, UProperty which);
2912
+
2913
+ /**
2914
+ * Returns a frozen USet for a binary property.
2915
+ * The library retains ownership over the returned object.
2916
+ * Sets an error code if the property number is not one for a binary property.
2917
+ *
2918
+ * The returned set contains all code points for which the property is true.
2919
+ *
2920
+ * @param property UCHAR_BINARY_START..UCHAR_BINARY_LIMIT-1
2921
+ * @param pErrorCode an in/out ICU UErrorCode
2922
+ * @return the property as a set
2923
+ * @see UProperty
2924
+ * @see u_hasBinaryProperty
2925
+ * @see Unicode::fromUSet
2926
+ * @stable ICU 63
2927
+ */
2928
+ U_CAPI const USet * U_EXPORT2
2929
+ u_getBinaryPropertySet(UProperty property, UErrorCode *pErrorCode);
2930
+
2931
+ /**
2932
+ * Check if a code point has the Alphabetic Unicode property.
2933
+ * Same as u_hasBinaryProperty(c, UCHAR_ALPHABETIC).
2934
+ * This is different from u_isalpha!
2935
+ * @param c Code point to test
2936
+ * @return true if the code point has the Alphabetic Unicode property, false otherwise
2937
+ *
2938
+ * @see UCHAR_ALPHABETIC
2939
+ * @see u_isalpha
2940
+ * @see u_hasBinaryProperty
2941
+ * @stable ICU 2.1
2942
+ */
2943
+ U_CAPI UBool U_EXPORT2
2944
+ u_isUAlphabetic(UChar32 c);
2945
+
2946
+ /**
2947
+ * Check if a code point has the Lowercase Unicode property.
2948
+ * Same as u_hasBinaryProperty(c, UCHAR_LOWERCASE).
2949
+ * This is different from u_islower!
2950
+ * @param c Code point to test
2951
+ * @return true if the code point has the Lowercase Unicode property, false otherwise
2952
+ *
2953
+ * @see UCHAR_LOWERCASE
2954
+ * @see u_islower
2955
+ * @see u_hasBinaryProperty
2956
+ * @stable ICU 2.1
2957
+ */
2958
+ U_CAPI UBool U_EXPORT2
2959
+ u_isULowercase(UChar32 c);
2960
+
2961
+ /**
2962
+ * Check if a code point has the Uppercase Unicode property.
2963
+ * Same as u_hasBinaryProperty(c, UCHAR_UPPERCASE).
2964
+ * This is different from u_isupper!
2965
+ * @param c Code point to test
2966
+ * @return true if the code point has the Uppercase Unicode property, false otherwise
2967
+ *
2968
+ * @see UCHAR_UPPERCASE
2969
+ * @see u_isupper
2970
+ * @see u_hasBinaryProperty
2971
+ * @stable ICU 2.1
2972
+ */
2973
+ U_CAPI UBool U_EXPORT2
2974
+ u_isUUppercase(UChar32 c);
2975
+
2976
+ /**
2977
+ * Check if a code point has the White_Space Unicode property.
2978
+ * Same as u_hasBinaryProperty(c, UCHAR_WHITE_SPACE).
2979
+ * This is different from both u_isspace and u_isWhitespace!
2980
+ *
2981
+ * Note: There are several ICU whitespace functions; please see the uchar.h
2982
+ * file documentation for a detailed comparison.
2983
+ *
2984
+ * @param c Code point to test
2985
+ * @return true if the code point has the White_Space Unicode property, false otherwise.
2986
+ *
2987
+ * @see UCHAR_WHITE_SPACE
2988
+ * @see u_isWhitespace
2989
+ * @see u_isspace
2990
+ * @see u_isJavaSpaceChar
2991
+ * @see u_hasBinaryProperty
2992
+ * @stable ICU 2.1
2993
+ */
2994
+ U_CAPI UBool U_EXPORT2
2995
+ u_isUWhiteSpace(UChar32 c);
2996
+
2997
+ /**
2998
+ * Get the property value for an enumerated or integer Unicode property for a code point.
2999
+ * Also returns binary and mask property values.
3000
+ *
3001
+ * Unicode, especially in version 3.2, defines many more properties than the
3002
+ * original set in UnicodeData.txt.
3003
+ *
3004
+ * The properties APIs are intended to reflect Unicode properties as defined
3005
+ * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
3006
+ * For details about the properties see http://www.unicode.org/ .
3007
+ * For names of Unicode properties see the UCD file PropertyAliases.txt.
3008
+ *
3009
+ * Sample usage:
3010
+ * UEastAsianWidth ea=(UEastAsianWidth)u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH);
3011
+ * UBool b=(UBool)u_getIntPropertyValue(c, UCHAR_IDEOGRAPHIC);
3012
+ *
3013
+ * @param c Code point to test.
3014
+ * @param which UProperty selector constant, identifies which property to check.
3015
+ * Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3016
+ * or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
3017
+ * or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
3018
+ * @return Numeric value that is directly the property value or,
3019
+ * for enumerated properties, corresponds to the numeric value of the enumerated
3020
+ * constant of the respective property value enumeration type
3021
+ * (cast to enum type if necessary).
3022
+ * Returns 0 or 1 (for false/true) for binary Unicode properties.
3023
+ * Returns a bit-mask for mask properties.
3024
+ * Returns 0 if 'which' is out of bounds or if the Unicode version
3025
+ * does not have data for the property at all, or not for this code point.
3026
+ *
3027
+ * @see UProperty
3028
+ * @see u_hasBinaryProperty
3029
+ * @see u_getIntPropertyMinValue
3030
+ * @see u_getIntPropertyMaxValue
3031
+ * @see u_getIntPropertyMap
3032
+ * @see u_getUnicodeVersion
3033
+ * @stable ICU 2.2
3034
+ */
3035
+ U_CAPI int32_t U_EXPORT2
3036
+ u_getIntPropertyValue(UChar32 c, UProperty which);
3037
+
3038
+ /**
3039
+ * Get the minimum value for an enumerated/integer/binary Unicode property.
3040
+ * Can be used together with u_getIntPropertyMaxValue
3041
+ * to allocate arrays of UnicodeSet or similar.
3042
+ *
3043
+ * @param which UProperty selector constant, identifies which binary property to check.
3044
+ * Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3045
+ * or UCHAR_INT_START<=which<UCHAR_INT_LIMIT.
3046
+ * @return Minimum value returned by u_getIntPropertyValue for a Unicode property.
3047
+ * 0 if the property selector is out of range.
3048
+ *
3049
+ * @see UProperty
3050
+ * @see u_hasBinaryProperty
3051
+ * @see u_getUnicodeVersion
3052
+ * @see u_getIntPropertyMaxValue
3053
+ * @see u_getIntPropertyValue
3054
+ * @stable ICU 2.2
3055
+ */
3056
+ U_CAPI int32_t U_EXPORT2
3057
+ u_getIntPropertyMinValue(UProperty which);
3058
+
3059
+ /**
3060
+ * Get the maximum value for an enumerated/integer/binary Unicode property.
3061
+ * Can be used together with u_getIntPropertyMinValue
3062
+ * to allocate arrays of UnicodeSet or similar.
3063
+ *
3064
+ * Examples for min/max values (for Unicode 3.2):
3065
+ *
3066
+ * - UCHAR_BIDI_CLASS: 0/18 (U_LEFT_TO_RIGHT/U_BOUNDARY_NEUTRAL)
3067
+ * - UCHAR_SCRIPT: 0/45 (USCRIPT_COMMON/USCRIPT_TAGBANWA)
3068
+ * - UCHAR_IDEOGRAPHIC: 0/1 (false/true)
3069
+ *
3070
+ * For undefined UProperty constant values, min/max values will be 0/-1.
3071
+ *
3072
+ * @param which UProperty selector constant, identifies which binary property to check.
3073
+ * Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3074
+ * or UCHAR_INT_START<=which<UCHAR_INT_LIMIT.
3075
+ * @return Maximum value returned by u_getIntPropertyValue for a Unicode property.
3076
+ * <=0 if the property selector is out of range.
3077
+ *
3078
+ * @see UProperty
3079
+ * @see u_hasBinaryProperty
3080
+ * @see u_getUnicodeVersion
3081
+ * @see u_getIntPropertyMaxValue
3082
+ * @see u_getIntPropertyValue
3083
+ * @stable ICU 2.2
3084
+ */
3085
+ U_CAPI int32_t U_EXPORT2
3086
+ u_getIntPropertyMaxValue(UProperty which);
3087
+
3088
+ /**
3089
+ * Returns an immutable UCPMap for an enumerated/catalog/int-valued property.
3090
+ * The library retains ownership over the returned object.
3091
+ * Sets an error code if the property number is not one for an "int property".
3092
+ *
3093
+ * The returned object maps all Unicode code points to their values for that property.
3094
+ * For documentation of the integer values see u_getIntPropertyValue().
3095
+ *
3096
+ * @param property UCHAR_INT_START..UCHAR_INT_LIMIT-1
3097
+ * @param pErrorCode an in/out ICU UErrorCode
3098
+ * @return the property as a map
3099
+ * @see UProperty
3100
+ * @see u_getIntPropertyValue
3101
+ * @stable ICU 63
3102
+ */
3103
+ U_CAPI const UCPMap * U_EXPORT2
3104
+ u_getIntPropertyMap(UProperty property, UErrorCode *pErrorCode);
3105
+
3106
+ /**
3107
+ * Get the numeric value for a Unicode code point as defined in the
3108
+ * Unicode Character Database.
3109
+ *
3110
+ * A "double" return type is necessary because
3111
+ * some numeric values are fractions, negative, or too large for int32_t.
3112
+ *
3113
+ * For characters without any numeric values in the Unicode Character Database,
3114
+ * this function will return U_NO_NUMERIC_VALUE.
3115
+ * Note: This is different from the Unicode Standard which specifies NaN as the default value.
3116
+ * (NaN is not available on all platforms.)
3117
+ *
3118
+ * Similar to java.lang.Character.getNumericValue(), but u_getNumericValue()
3119
+ * also supports negative values, large values, and fractions,
3120
+ * while Java's getNumericValue() returns values 10..35 for ASCII letters.
3121
+ *
3122
+ * @param c Code point to get the numeric value for.
3123
+ * @return Numeric value of c, or U_NO_NUMERIC_VALUE if none is defined.
3124
+ *
3125
+ * @see U_NO_NUMERIC_VALUE
3126
+ * @stable ICU 2.2
3127
+ */
3128
+ U_CAPI double U_EXPORT2
3129
+ u_getNumericValue(UChar32 c);
3130
+
3131
+ /**
3132
+ * Special value that is returned by u_getNumericValue when
3133
+ * no numeric value is defined for a code point.
3134
+ *
3135
+ * @see u_getNumericValue
3136
+ * @stable ICU 2.2
3137
+ */
3138
+ #define U_NO_NUMERIC_VALUE ((double)-123456789.)
3139
+
3140
+ /**
3141
+ * Determines whether the specified code point has the general category "Ll"
3142
+ * (lowercase letter).
3143
+ *
3144
+ * Same as java.lang.Character.isLowerCase().
3145
+ *
3146
+ * This misses some characters that are also lowercase but
3147
+ * have a different general category value.
3148
+ * In order to include those, use UCHAR_LOWERCASE.
3149
+ *
3150
+ * In addition to being equivalent to a Java function, this also serves
3151
+ * as a C/POSIX migration function.
3152
+ * See the comments about C/POSIX character classification functions in the
3153
+ * documentation at the top of this header file.
3154
+ *
3155
+ * @param c the code point to be tested
3156
+ * @return true if the code point is an Ll lowercase letter
3157
+ *
3158
+ * @see UCHAR_LOWERCASE
3159
+ * @see u_isupper
3160
+ * @see u_istitle
3161
+ * @stable ICU 2.0
3162
+ */
3163
+ U_CAPI UBool U_EXPORT2
3164
+ u_islower(UChar32 c);
3165
+
3166
+ /**
3167
+ * Determines whether the specified code point has the general category "Lu"
3168
+ * (uppercase letter).
3169
+ *
3170
+ * Same as java.lang.Character.isUpperCase().
3171
+ *
3172
+ * This misses some characters that are also uppercase but
3173
+ * have a different general category value.
3174
+ * In order to include those, use UCHAR_UPPERCASE.
3175
+ *
3176
+ * In addition to being equivalent to a Java function, this also serves
3177
+ * as a C/POSIX migration function.
3178
+ * See the comments about C/POSIX character classification functions in the
3179
+ * documentation at the top of this header file.
3180
+ *
3181
+ * @param c the code point to be tested
3182
+ * @return true if the code point is an Lu uppercase letter
3183
+ *
3184
+ * @see UCHAR_UPPERCASE
3185
+ * @see u_islower
3186
+ * @see u_istitle
3187
+ * @see u_tolower
3188
+ * @stable ICU 2.0
3189
+ */
3190
+ U_CAPI UBool U_EXPORT2
3191
+ u_isupper(UChar32 c);
3192
+
3193
+ /**
3194
+ * Determines whether the specified code point is a titlecase letter.
3195
+ * True for general category "Lt" (titlecase letter).
3196
+ *
3197
+ * Same as java.lang.Character.isTitleCase().
3198
+ *
3199
+ * @param c the code point to be tested
3200
+ * @return true if the code point is an Lt titlecase letter
3201
+ *
3202
+ * @see u_isupper
3203
+ * @see u_islower
3204
+ * @see u_totitle
3205
+ * @stable ICU 2.0
3206
+ */
3207
+ U_CAPI UBool U_EXPORT2
3208
+ u_istitle(UChar32 c);
3209
+
3210
+ /**
3211
+ * Determines whether the specified code point is a digit character according to Java.
3212
+ * True for characters with general category "Nd" (decimal digit numbers).
3213
+ * Beginning with Unicode 4, this is the same as
3214
+ * testing for the Numeric_Type of Decimal.
3215
+ *
3216
+ * Same as java.lang.Character.isDigit().
3217
+ *
3218
+ * In addition to being equivalent to a Java function, this also serves
3219
+ * as a C/POSIX migration function.
3220
+ * See the comments about C/POSIX character classification functions in the
3221
+ * documentation at the top of this header file.
3222
+ *
3223
+ * @param c the code point to be tested
3224
+ * @return true if the code point is a digit character according to Character.isDigit()
3225
+ *
3226
+ * @stable ICU 2.0
3227
+ */
3228
+ U_CAPI UBool U_EXPORT2
3229
+ u_isdigit(UChar32 c);
3230
+
3231
+ /**
3232
+ * Determines whether the specified code point is a letter character.
3233
+ * True for general categories "L" (letters).
3234
+ *
3235
+ * Same as java.lang.Character.isLetter().
3236
+ *
3237
+ * In addition to being equivalent to a Java function, this also serves
3238
+ * as a C/POSIX migration function.
3239
+ * See the comments about C/POSIX character classification functions in the
3240
+ * documentation at the top of this header file.
3241
+ *
3242
+ * @param c the code point to be tested
3243
+ * @return true if the code point is a letter character
3244
+ *
3245
+ * @see u_isdigit
3246
+ * @see u_isalnum
3247
+ * @stable ICU 2.0
3248
+ */
3249
+ U_CAPI UBool U_EXPORT2
3250
+ u_isalpha(UChar32 c);
3251
+
3252
+ /**
3253
+ * Determines whether the specified code point is an alphanumeric character
3254
+ * (letter or digit) according to Java.
3255
+ * True for characters with general categories
3256
+ * "L" (letters) and "Nd" (decimal digit numbers).
3257
+ *
3258
+ * Same as java.lang.Character.isLetterOrDigit().
3259
+ *
3260
+ * In addition to being equivalent to a Java function, this also serves
3261
+ * as a C/POSIX migration function.
3262
+ * See the comments about C/POSIX character classification functions in the
3263
+ * documentation at the top of this header file.
3264
+ *
3265
+ * @param c the code point to be tested
3266
+ * @return true if the code point is an alphanumeric character according to Character.isLetterOrDigit()
3267
+ *
3268
+ * @stable ICU 2.0
3269
+ */
3270
+ U_CAPI UBool U_EXPORT2
3271
+ u_isalnum(UChar32 c);
3272
+
3273
+ /**
3274
+ * Determines whether the specified code point is a hexadecimal digit.
3275
+ * This is equivalent to u_digit(c, 16)>=0.
3276
+ * True for characters with general category "Nd" (decimal digit numbers)
3277
+ * as well as Latin letters a-f and A-F in both ASCII and Fullwidth ASCII.
3278
+ * (That is, for letters with code points
3279
+ * 0041..0046, 0061..0066, FF21..FF26, FF41..FF46.)
3280
+ *
3281
+ * In order to narrow the definition of hexadecimal digits to only ASCII
3282
+ * characters, use (c<=0x7f && u_isxdigit(c)).
3283
+ *
3284
+ * This is a C/POSIX migration function.
3285
+ * See the comments about C/POSIX character classification functions in the
3286
+ * documentation at the top of this header file.
3287
+ *
3288
+ * @param c the code point to be tested
3289
+ * @return true if the code point is a hexadecimal digit
3290
+ *
3291
+ * @stable ICU 2.6
3292
+ */
3293
+ U_CAPI UBool U_EXPORT2
3294
+ u_isxdigit(UChar32 c);
3295
+
3296
+ /**
3297
+ * Determines whether the specified code point is a punctuation character.
3298
+ * True for characters with general categories "P" (punctuation).
3299
+ *
3300
+ * This is a C/POSIX migration function.
3301
+ * See the comments about C/POSIX character classification functions in the
3302
+ * documentation at the top of this header file.
3303
+ *
3304
+ * @param c the code point to be tested
3305
+ * @return true if the code point is a punctuation character
3306
+ *
3307
+ * @stable ICU 2.6
3308
+ */
3309
+ U_CAPI UBool U_EXPORT2
3310
+ u_ispunct(UChar32 c);
3311
+
3312
+ /**
3313
+ * Determines whether the specified code point is a "graphic" character
3314
+ * (printable, excluding spaces).
3315
+ * true for all characters except those with general categories
3316
+ * "Cc" (control codes), "Cf" (format controls), "Cs" (surrogates),
3317
+ * "Cn" (unassigned), and "Z" (separators).
3318
+ *
3319
+ * This is a C/POSIX migration function.
3320
+ * See the comments about C/POSIX character classification functions in the
3321
+ * documentation at the top of this header file.
3322
+ *
3323
+ * @param c the code point to be tested
3324
+ * @return true if the code point is a "graphic" character
3325
+ *
3326
+ * @stable ICU 2.6
3327
+ */
3328
+ U_CAPI UBool U_EXPORT2
3329
+ u_isgraph(UChar32 c);
3330
+
3331
+ /**
3332
+ * Determines whether the specified code point is a "blank" or "horizontal space",
3333
+ * a character that visibly separates words on a line.
3334
+ * The following are equivalent definitions:
3335
+ *
3336
+ * true for Unicode White_Space characters except for "vertical space controls"
3337
+ * where "vertical space controls" are the following characters:
3338
+ * U+000A (LF) U+000B (VT) U+000C (FF) U+000D (CR) U+0085 (NEL) U+2028 (LS) U+2029 (PS)
3339
+ *
3340
+ * same as
3341
+ *
3342
+ * true for U+0009 (TAB) and characters with general category "Zs" (space separators).
3343
+ *
3344
+ * Note: There are several ICU whitespace functions; please see the uchar.h
3345
+ * file documentation for a detailed comparison.
3346
+ *
3347
+ * This is a C/POSIX migration function.
3348
+ * See the comments about C/POSIX character classification functions in the
3349
+ * documentation at the top of this header file.
3350
+ *
3351
+ * @param c the code point to be tested
3352
+ * @return true if the code point is a "blank"
3353
+ *
3354
+ * @stable ICU 2.6
3355
+ */
3356
+ U_CAPI UBool U_EXPORT2
3357
+ u_isblank(UChar32 c);
3358
+
3359
+ /**
3360
+ * Determines whether the specified code point is "defined",
3361
+ * which usually means that it is assigned a character.
3362
+ * True for general categories other than "Cn" (other, not assigned),
3363
+ * i.e., true for all code points mentioned in UnicodeData.txt.
3364
+ *
3365
+ * Note that non-character code points (e.g., U+FDD0) are not "defined"
3366
+ * (they are Cn), but surrogate code points are "defined" (Cs).
3367
+ *
3368
+ * Same as java.lang.Character.isDefined().
3369
+ *
3370
+ * @param c the code point to be tested
3371
+ * @return true if the code point is assigned a character
3372
+ *
3373
+ * @see u_isdigit
3374
+ * @see u_isalpha
3375
+ * @see u_isalnum
3376
+ * @see u_isupper
3377
+ * @see u_islower
3378
+ * @see u_istitle
3379
+ * @stable ICU 2.0
3380
+ */
3381
+ U_CAPI UBool U_EXPORT2
3382
+ u_isdefined(UChar32 c);
3383
+
3384
+ /**
3385
+ * Determines if the specified character is a space character or not.
3386
+ *
3387
+ * Note: There are several ICU whitespace functions; please see the uchar.h
3388
+ * file documentation for a detailed comparison.
3389
+ *
3390
+ * This is a C/POSIX migration function.
3391
+ * See the comments about C/POSIX character classification functions in the
3392
+ * documentation at the top of this header file.
3393
+ *
3394
+ * @param c the character to be tested
3395
+ * @return true if the character is a space character; false otherwise.
3396
+ *
3397
+ * @see u_isJavaSpaceChar
3398
+ * @see u_isWhitespace
3399
+ * @see u_isUWhiteSpace
3400
+ * @stable ICU 2.0
3401
+ */
3402
+ U_CAPI UBool U_EXPORT2
3403
+ u_isspace(UChar32 c);
3404
+
3405
+ /**
3406
+ * Determine if the specified code point is a space character according to Java.
3407
+ * True for characters with general categories "Z" (separators),
3408
+ * which does not include control codes (e.g., TAB or Line Feed).
3409
+ *
3410
+ * Same as java.lang.Character.isSpaceChar().
3411
+ *
3412
+ * Note: There are several ICU whitespace functions; please see the uchar.h
3413
+ * file documentation for a detailed comparison.
3414
+ *
3415
+ * @param c the code point to be tested
3416
+ * @return true if the code point is a space character according to Character.isSpaceChar()
3417
+ *
3418
+ * @see u_isspace
3419
+ * @see u_isWhitespace
3420
+ * @see u_isUWhiteSpace
3421
+ * @stable ICU 2.6
3422
+ */
3423
+ U_CAPI UBool U_EXPORT2
3424
+ u_isJavaSpaceChar(UChar32 c);
3425
+
3426
+ /**
3427
+ * Determines if the specified code point is a whitespace character according to Java/ICU.
3428
+ * A character is considered to be a Java whitespace character if and only
3429
+ * if it satisfies one of the following criteria:
3430
+ *
3431
+ * - It is a Unicode Separator character (categories "Z" = "Zs" or "Zl" or "Zp"), but is not
3432
+ * also a non-breaking space (U+00A0 NBSP or U+2007 Figure Space or U+202F Narrow NBSP).
3433
+ * - It is U+0009 HORIZONTAL TABULATION.
3434
+ * - It is U+000A LINE FEED.
3435
+ * - It is U+000B VERTICAL TABULATION.
3436
+ * - It is U+000C FORM FEED.
3437
+ * - It is U+000D CARRIAGE RETURN.
3438
+ * - It is U+001C FILE SEPARATOR.
3439
+ * - It is U+001D GROUP SEPARATOR.
3440
+ * - It is U+001E RECORD SEPARATOR.
3441
+ * - It is U+001F UNIT SEPARATOR.
3442
+ *
3443
+ * This API tries to sync with the semantics of Java's
3444
+ * java.lang.Character.isWhitespace(), but it may not return
3445
+ * the exact same results because of the Unicode version
3446
+ * difference.
3447
+ *
3448
+ * Note: Unicode 4.0.1 changed U+200B ZERO WIDTH SPACE from a Space Separator (Zs)
3449
+ * to a Format Control (Cf). Since then, isWhitespace(0x200b) returns false.
3450
+ * See http://www.unicode.org/versions/Unicode4.0.1/
3451
+ *
3452
+ * Note: There are several ICU whitespace functions; please see the uchar.h
3453
+ * file documentation for a detailed comparison.
3454
+ *
3455
+ * @param c the code point to be tested
3456
+ * @return true if the code point is a whitespace character according to Java/ICU
3457
+ *
3458
+ * @see u_isspace
3459
+ * @see u_isJavaSpaceChar
3460
+ * @see u_isUWhiteSpace
3461
+ * @stable ICU 2.0
3462
+ */
3463
+ U_CAPI UBool U_EXPORT2
3464
+ u_isWhitespace(UChar32 c);
3465
+
3466
+ /**
3467
+ * Determines whether the specified code point is a control character
3468
+ * (as defined by this function).
3469
+ * A control character is one of the following:
3470
+ * - ISO 8-bit control character (U+0000..U+001f and U+007f..U+009f)
3471
+ * - U_CONTROL_CHAR (Cc)
3472
+ * - U_FORMAT_CHAR (Cf)
3473
+ * - U_LINE_SEPARATOR (Zl)
3474
+ * - U_PARAGRAPH_SEPARATOR (Zp)
3475
+ *
3476
+ * This is a C/POSIX migration function.
3477
+ * See the comments about C/POSIX character classification functions in the
3478
+ * documentation at the top of this header file.
3479
+ *
3480
+ * @param c the code point to be tested
3481
+ * @return true if the code point is a control character
3482
+ *
3483
+ * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
3484
+ * @see u_isprint
3485
+ * @stable ICU 2.0
3486
+ */
3487
+ U_CAPI UBool U_EXPORT2
3488
+ u_iscntrl(UChar32 c);
3489
+
3490
+ /**
3491
+ * Determines whether the specified code point is an ISO control code.
3492
+ * True for U+0000..U+001f and U+007f..U+009f (general category "Cc").
3493
+ *
3494
+ * Same as java.lang.Character.isISOControl().
3495
+ *
3496
+ * @param c the code point to be tested
3497
+ * @return true if the code point is an ISO control code
3498
+ *
3499
+ * @see u_iscntrl
3500
+ * @stable ICU 2.6
3501
+ */
3502
+ U_CAPI UBool U_EXPORT2
3503
+ u_isISOControl(UChar32 c);
3504
+
3505
+ /**
3506
+ * Determines whether the specified code point is a printable character.
3507
+ * True for general categories <em>other</em> than "C" (controls).
3508
+ *
3509
+ * This is a C/POSIX migration function.
3510
+ * See the comments about C/POSIX character classification functions in the
3511
+ * documentation at the top of this header file.
3512
+ *
3513
+ * @param c the code point to be tested
3514
+ * @return true if the code point is a printable character
3515
+ *
3516
+ * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
3517
+ * @see u_iscntrl
3518
+ * @stable ICU 2.0
3519
+ */
3520
+ U_CAPI UBool U_EXPORT2
3521
+ u_isprint(UChar32 c);
3522
+
3523
+ /**
3524
+ * Non-standard: Determines whether the specified code point is a base character.
3525
+ * True for general categories "L" (letters), "N" (numbers),
3526
+ * "Mc" (spacing combining marks), and "Me" (enclosing marks).
3527
+ *
3528
+ * Note that this is different from the Unicode Standard definition in
3529
+ * chapter 3.6, conformance clause D51 “Base character”,
3530
+ * which defines base characters as the code points with general categories
3531
+ * Letter (L), Number (N), Punctuation (P), Symbol (S), or Space Separator (Zs).
3532
+ *
3533
+ * @param c the code point to be tested
3534
+ * @return true if the code point is a base character according to this function
3535
+ *
3536
+ * @see u_isalpha
3537
+ * @see u_isdigit
3538
+ * @stable ICU 2.0
3539
+ */
3540
+ U_CAPI UBool U_EXPORT2
3541
+ u_isbase(UChar32 c);
3542
+
3543
+ /**
3544
+ * Returns the bidirectional category value for the code point,
3545
+ * which is used in the Unicode bidirectional algorithm
3546
+ * (UAX #9 http://www.unicode.org/reports/tr9/).
3547
+ * Note that some <em>unassigned</em> code points have bidi values
3548
+ * of R or AL because they are in blocks that are reserved
3549
+ * for Right-To-Left scripts.
3550
+ *
3551
+ * Same as java.lang.Character.getDirectionality()
3552
+ *
3553
+ * @param c the code point to be tested
3554
+ * @return the bidirectional category (UCharDirection) value
3555
+ *
3556
+ * @see UCharDirection
3557
+ * @stable ICU 2.0
3558
+ */
3559
+ U_CAPI UCharDirection U_EXPORT2
3560
+ u_charDirection(UChar32 c);
3561
+
3562
+ /**
3563
+ * Determines whether the code point has the Bidi_Mirrored property.
3564
+ * This property is set for characters that are commonly used in
3565
+ * Right-To-Left contexts and need to be displayed with a "mirrored"
3566
+ * glyph.
3567
+ *
3568
+ * Same as java.lang.Character.isMirrored().
3569
+ * Same as UCHAR_BIDI_MIRRORED
3570
+ *
3571
+ * @param c the code point to be tested
3572
+ * @return true if the character has the Bidi_Mirrored property
3573
+ *
3574
+ * @see UCHAR_BIDI_MIRRORED
3575
+ * @stable ICU 2.0
3576
+ */
3577
+ U_CAPI UBool U_EXPORT2
3578
+ u_isMirrored(UChar32 c);
3579
+
3580
+ /**
3581
+ * Maps the specified character to a "mirror-image" character.
3582
+ * For characters with the Bidi_Mirrored property, implementations
3583
+ * sometimes need a "poor man's" mapping to another Unicode
3584
+ * character (code point) such that the default glyph may serve
3585
+ * as the mirror-image of the default glyph of the specified
3586
+ * character. This is useful for text conversion to and from
3587
+ * codepages with visual order, and for displays without glyph
3588
+ * selection capabilities.
3589
+ *
3590
+ * @param c the code point to be mapped
3591
+ * @return another Unicode code point that may serve as a mirror-image
3592
+ * substitute, or c itself if there is no such mapping or c
3593
+ * does not have the Bidi_Mirrored property
3594
+ *
3595
+ * @see UCHAR_BIDI_MIRRORED
3596
+ * @see u_isMirrored
3597
+ * @stable ICU 2.0
3598
+ */
3599
+ U_CAPI UChar32 U_EXPORT2
3600
+ u_charMirror(UChar32 c);
3601
+
3602
+ /**
3603
+ * Maps the specified character to its paired bracket character.
3604
+ * For Bidi_Paired_Bracket_Type!=None, this is the same as u_charMirror().
3605
+ * Otherwise c itself is returned.
3606
+ * See http://www.unicode.org/reports/tr9/
3607
+ *
3608
+ * @param c the code point to be mapped
3609
+ * @return the paired bracket code point,
3610
+ * or c itself if there is no such mapping
3611
+ * (Bidi_Paired_Bracket_Type=None)
3612
+ *
3613
+ * @see UCHAR_BIDI_PAIRED_BRACKET
3614
+ * @see UCHAR_BIDI_PAIRED_BRACKET_TYPE
3615
+ * @see u_charMirror
3616
+ * @stable ICU 52
3617
+ */
3618
+ U_CAPI UChar32 U_EXPORT2
3619
+ u_getBidiPairedBracket(UChar32 c);
3620
+
3621
+ /**
3622
+ * Returns the general category value for the code point.
3623
+ *
3624
+ * Same as java.lang.Character.getType().
3625
+ *
3626
+ * @param c the code point to be tested
3627
+ * @return the general category (UCharCategory) value
3628
+ *
3629
+ * @see UCharCategory
3630
+ * @stable ICU 2.0
3631
+ */
3632
+ U_CAPI int8_t U_EXPORT2
3633
+ u_charType(UChar32 c);
3634
+
3635
+ /**
3636
+ * Get a single-bit bit set for the general category of a character.
3637
+ * This bit set can be compared bitwise with U_GC_SM_MASK, U_GC_L_MASK, etc.
3638
+ * Same as U_MASK(u_charType(c)).
3639
+ *
3640
+ * @param c the code point to be tested
3641
+ * @return a single-bit mask corresponding to the general category (UCharCategory) value
3642
+ *
3643
+ * @see u_charType
3644
+ * @see UCharCategory
3645
+ * @see U_GC_CN_MASK
3646
+ * @stable ICU 2.1
3647
+ */
3648
+ #define U_GET_GC_MASK(c) U_MASK(u_charType(c))
3649
+
3650
+ /**
3651
+ * Callback from u_enumCharTypes(), is called for each contiguous range
3652
+ * of code points c (where start<=c<limit)
3653
+ * with the same Unicode general category ("character type").
3654
+ *
3655
+ * The callback function can stop the enumeration by returning false.
3656
+ *
3657
+ * @param context an opaque pointer, as passed into utrie_enum()
3658
+ * @param start the first code point in a contiguous range with value
3659
+ * @param limit one past the last code point in a contiguous range with value
3660
+ * @param type the general category for all code points in [start..limit[
3661
+ * @return false to stop the enumeration
3662
+ *
3663
+ * @stable ICU 2.1
3664
+ * @see UCharCategory
3665
+ * @see u_enumCharTypes
3666
+ */
3667
+ typedef UBool U_CALLCONV
3668
+ UCharEnumTypeRange(const void *context, UChar32 start, UChar32 limit, UCharCategory type);
3669
+
3670
+ /**
3671
+ * Enumerate efficiently all code points with their Unicode general categories.
3672
+ *
3673
+ * This is useful for building data structures (e.g., UnicodeSet's),
3674
+ * for enumerating all assigned code points (type!=U_UNASSIGNED), etc.
3675
+ *
3676
+ * For each contiguous range of code points with a given general category ("character type"),
3677
+ * the UCharEnumTypeRange function is called.
3678
+ * Adjacent ranges have different types.
3679
+ * The Unicode Standard guarantees that the numeric value of the type is 0..31.
3680
+ *
3681
+ * @param enumRange a pointer to a function that is called for each contiguous range
3682
+ * of code points with the same general category
3683
+ * @param context an opaque pointer that is passed on to the callback function
3684
+ *
3685
+ * @stable ICU 2.1
3686
+ * @see UCharCategory
3687
+ * @see UCharEnumTypeRange
3688
+ */
3689
+ U_CAPI void U_EXPORT2
3690
+ u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context);
3691
+
3692
+ #if !UCONFIG_NO_NORMALIZATION
3693
+
3694
+ /**
3695
+ * Returns the combining class of the code point as specified in UnicodeData.txt.
3696
+ *
3697
+ * @param c the code point of the character
3698
+ * @return the combining class of the character
3699
+ * @stable ICU 2.0
3700
+ */
3701
+ U_CAPI uint8_t U_EXPORT2
3702
+ u_getCombiningClass(UChar32 c);
3703
+
3704
+ #endif
3705
+
3706
+ /**
3707
+ * Returns the decimal digit value of a decimal digit character.
3708
+ * Such characters have the general category "Nd" (decimal digit numbers)
3709
+ * and a Numeric_Type of Decimal.
3710
+ *
3711
+ * Unlike ICU releases before 2.6, no digit values are returned for any
3712
+ * Han characters because Han number characters are often used with a special
3713
+ * Chinese-style number format (with characters for powers of 10 in between)
3714
+ * instead of in decimal-positional notation.
3715
+ * Unicode 4 explicitly assigns Han number characters the Numeric_Type
3716
+ * Numeric instead of Decimal.
3717
+ * See Jitterbug 1483 for more details.
3718
+ *
3719
+ * Use u_getIntPropertyValue(c, UCHAR_NUMERIC_TYPE) and u_getNumericValue()
3720
+ * for complete numeric Unicode properties.
3721
+ *
3722
+ * @param c the code point for which to get the decimal digit value
3723
+ * @return the decimal digit value of c,
3724
+ * or -1 if c is not a decimal digit character
3725
+ *
3726
+ * @see u_getNumericValue
3727
+ * @stable ICU 2.0
3728
+ */
3729
+ U_CAPI int32_t U_EXPORT2
3730
+ u_charDigitValue(UChar32 c);
3731
+
3732
+ /**
3733
+ * Returns the Unicode allocation block that contains the character.
3734
+ *
3735
+ * @param c the code point to be tested
3736
+ * @return the block value (UBlockCode) for c
3737
+ *
3738
+ * @see UBlockCode
3739
+ * @stable ICU 2.0
3740
+ */
3741
+ U_CAPI UBlockCode U_EXPORT2
3742
+ ublock_getCode(UChar32 c);
3743
+
3744
+ /**
3745
+ * Retrieve the name of a Unicode character.
3746
+ * Depending on <code>nameChoice</code>, the character name written
3747
+ * into the buffer is the "modern" name or the name that was defined
3748
+ * in Unicode version 1.0.
3749
+ * The name contains only "invariant" characters
3750
+ * like A-Z, 0-9, space, and '-'.
3751
+ * Unicode 1.0 names are only retrieved if they are different from the modern
3752
+ * names and if the data file contains the data for them. gennames may or may
3753
+ * not be called with a command line option to include 1.0 names in unames.dat.
3754
+ *
3755
+ * @param code The character (code point) for which to get the name.
3756
+ * It must be <code>0<=code<=0x10ffff</code>.
3757
+ * @param nameChoice Selector for which name to get.
3758
+ * @param buffer Destination address for copying the name.
3759
+ * The name will always be zero-terminated.
3760
+ * If there is no name, then the buffer will be set to the empty string.
3761
+ * @param bufferLength <code>==sizeof(buffer)</code>
3762
+ * @param pErrorCode Pointer to a UErrorCode variable;
3763
+ * check for <code>U_SUCCESS()</code> after <code>u_charName()</code>
3764
+ * returns.
3765
+ * @return The length of the name, or 0 if there is no name for this character.
3766
+ * If the bufferLength is less than or equal to the length, then the buffer
3767
+ * contains the truncated name and the returned length indicates the full
3768
+ * length of the name.
3769
+ * The length does not include the zero-termination.
3770
+ *
3771
+ * @see UCharNameChoice
3772
+ * @see u_charFromName
3773
+ * @see u_enumCharNames
3774
+ * @stable ICU 2.0
3775
+ */
3776
+ U_CAPI int32_t U_EXPORT2
3777
+ u_charName(UChar32 code, UCharNameChoice nameChoice,
3778
+ char *buffer, int32_t bufferLength,
3779
+ UErrorCode *pErrorCode);
3780
+
3781
+ #ifndef U_HIDE_DEPRECATED_API
3782
+ /**
3783
+ * Returns an empty string.
3784
+ * Used to return the ISO 10646 comment for a character.
3785
+ * The Unicode ISO_Comment property is deprecated and has no values.
3786
+ *
3787
+ * @param c The character (code point) for which to get the ISO comment.
3788
+ * It must be <code>0<=c<=0x10ffff</code>.
3789
+ * @param dest Destination address for copying the comment.
3790
+ * The comment will be zero-terminated if possible.
3791
+ * If there is no comment, then the buffer will be set to the empty string.
3792
+ * @param destCapacity <code>==sizeof(dest)</code>
3793
+ * @param pErrorCode Pointer to a UErrorCode variable;
3794
+ * check for <code>U_SUCCESS()</code> after <code>u_getISOComment()</code>
3795
+ * returns.
3796
+ * @return 0
3797
+ *
3798
+ * @deprecated ICU 49
3799
+ */
3800
+ U_DEPRECATED int32_t U_EXPORT2
3801
+ u_getISOComment(UChar32 c,
3802
+ char *dest, int32_t destCapacity,
3803
+ UErrorCode *pErrorCode);
3804
+ #endif /* U_HIDE_DEPRECATED_API */
3805
+
3806
+ /**
3807
+ * Find a Unicode character by its name and return its code point value.
3808
+ * The name is matched exactly and completely.
3809
+ * If the name does not correspond to a code point, <i>pErrorCode</i>
3810
+ * is set to <code>U_INVALID_CHAR_FOUND</code>.
3811
+ * A Unicode 1.0 name is matched only if it differs from the modern name.
3812
+ * Unicode names are all uppercase. Extended names are lowercase followed
3813
+ * by an uppercase hexadecimal number, and within angle brackets.
3814
+ *
3815
+ * @param nameChoice Selector for which name to match.
3816
+ * @param name The name to match.
3817
+ * @param pErrorCode Pointer to a UErrorCode variable
3818
+ * @return The Unicode value of the code point with the given name,
3819
+ * or an undefined value if there is no such code point.
3820
+ *
3821
+ * @see UCharNameChoice
3822
+ * @see u_charName
3823
+ * @see u_enumCharNames
3824
+ * @stable ICU 1.7
3825
+ */
3826
+ U_CAPI UChar32 U_EXPORT2
3827
+ u_charFromName(UCharNameChoice nameChoice,
3828
+ const char *name,
3829
+ UErrorCode *pErrorCode);
3830
+
3831
+ /**
3832
+ * Type of a callback function for u_enumCharNames() that gets called
3833
+ * for each Unicode character with the code point value and
3834
+ * the character name.
3835
+ * If such a function returns false, then the enumeration is stopped.
3836
+ *
3837
+ * @param context The context pointer that was passed to u_enumCharNames().
3838
+ * @param code The Unicode code point for the character with this name.
3839
+ * @param nameChoice Selector for which kind of names is enumerated.
3840
+ * @param name The character's name, zero-terminated.
3841
+ * @param length The length of the name.
3842
+ * @return true if the enumeration should continue, false to stop it.
3843
+ *
3844
+ * @see UCharNameChoice
3845
+ * @see u_enumCharNames
3846
+ * @stable ICU 1.7
3847
+ */
3848
+ typedef UBool U_CALLCONV UEnumCharNamesFn(void *context,
3849
+ UChar32 code,
3850
+ UCharNameChoice nameChoice,
3851
+ const char *name,
3852
+ int32_t length);
3853
+
3854
+ /**
3855
+ * Enumerate all assigned Unicode characters between the start and limit
3856
+ * code points (start inclusive, limit exclusive) and call a function
3857
+ * for each, passing the code point value and the character name.
3858
+ * For Unicode 1.0 names, only those are enumerated that differ from the
3859
+ * modern names.
3860
+ *
3861
+ * @param start The first code point in the enumeration range.
3862
+ * @param limit One more than the last code point in the enumeration range
3863
+ * (the first one after the range).
3864
+ * @param fn The function that is to be called for each character name.
3865
+ * @param context An arbitrary pointer that is passed to the function.
3866
+ * @param nameChoice Selector for which kind of names to enumerate.
3867
+ * @param pErrorCode Pointer to a UErrorCode variable
3868
+ *
3869
+ * @see UCharNameChoice
3870
+ * @see UEnumCharNamesFn
3871
+ * @see u_charName
3872
+ * @see u_charFromName
3873
+ * @stable ICU 1.7
3874
+ */
3875
+ U_CAPI void U_EXPORT2
3876
+ u_enumCharNames(UChar32 start, UChar32 limit,
3877
+ UEnumCharNamesFn *fn,
3878
+ void *context,
3879
+ UCharNameChoice nameChoice,
3880
+ UErrorCode *pErrorCode);
3881
+
3882
+ /**
3883
+ * Return the Unicode name for a given property, as given in the
3884
+ * Unicode database file PropertyAliases.txt.
3885
+ *
3886
+ * In addition, this function maps the property
3887
+ * UCHAR_GENERAL_CATEGORY_MASK to the synthetic names "gcm" /
3888
+ * "General_Category_Mask". These names are not in
3889
+ * PropertyAliases.txt.
3890
+ *
3891
+ * @param property UProperty selector other than UCHAR_INVALID_CODE.
3892
+ * If out of range, NULL is returned.
3893
+ *
3894
+ * @param nameChoice selector for which name to get. If out of range,
3895
+ * NULL is returned. All properties have a long name. Most
3896
+ * have a short name, but some do not. Unicode allows for
3897
+ * additional names; if present these will be returned by
3898
+ * U_LONG_PROPERTY_NAME + i, where i=1, 2,...
3899
+ *
3900
+ * @return a pointer to the name, or NULL if either the
3901
+ * property or the nameChoice is out of range. If a given
3902
+ * nameChoice returns NULL, then all larger values of
3903
+ * nameChoice will return NULL, with one exception: if NULL is
3904
+ * returned for U_SHORT_PROPERTY_NAME, then
3905
+ * U_LONG_PROPERTY_NAME (and higher) may still return a
3906
+ * non-NULL value. The returned pointer is valid until
3907
+ * u_cleanup() is called.
3908
+ *
3909
+ * @see UProperty
3910
+ * @see UPropertyNameChoice
3911
+ * @stable ICU 2.4
3912
+ */
3913
+ U_CAPI const char* U_EXPORT2
3914
+ u_getPropertyName(UProperty property,
3915
+ UPropertyNameChoice nameChoice);
3916
+
3917
+ /**
3918
+ * Return the UProperty enum for a given property name, as specified
3919
+ * in the Unicode database file PropertyAliases.txt. Short, long, and
3920
+ * any other variants are recognized.
3921
+ *
3922
+ * In addition, this function maps the synthetic names "gcm" /
3923
+ * "General_Category_Mask" to the property
3924
+ * UCHAR_GENERAL_CATEGORY_MASK. These names are not in
3925
+ * PropertyAliases.txt.
3926
+ *
3927
+ * @param alias the property name to be matched. The name is compared
3928
+ * using "loose matching" as described in PropertyAliases.txt.
3929
+ *
3930
+ * @return a UProperty enum, or UCHAR_INVALID_CODE if the given name
3931
+ * does not match any property.
3932
+ *
3933
+ * @see UProperty
3934
+ * @stable ICU 2.4
3935
+ */
3936
+ U_CAPI UProperty U_EXPORT2
3937
+ u_getPropertyEnum(const char* alias);
3938
+
3939
+ /**
3940
+ * Return the Unicode name for a given property value, as given in the
3941
+ * Unicode database file PropertyValueAliases.txt.
3942
+ *
3943
+ * Note: Some of the names in PropertyValueAliases.txt can only be
3944
+ * retrieved using UCHAR_GENERAL_CATEGORY_MASK, not
3945
+ * UCHAR_GENERAL_CATEGORY. These include: "C" / "Other", "L" /
3946
+ * "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P"
3947
+ * / "Punctuation", "S" / "Symbol", and "Z" / "Separator".
3948
+ *
3949
+ * @param property UProperty selector constant.
3950
+ * Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3951
+ * or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
3952
+ * or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
3953
+ * If out of range, NULL is returned.
3954
+ *
3955
+ * @param value selector for a value for the given property. If out
3956
+ * of range, NULL is returned. In general, valid values range
3957
+ * from 0 up to some maximum. There are a few exceptions:
3958
+ * (1.) UCHAR_BLOCK values begin at the non-zero value
3959
+ * UBLOCK_BASIC_LATIN. (2.) UCHAR_CANONICAL_COMBINING_CLASS
3960
+ * values are not contiguous and range from 0..240. (3.)
3961
+ * UCHAR_GENERAL_CATEGORY_MASK values are not values of
3962
+ * UCharCategory, but rather mask values produced by
3963
+ * U_GET_GC_MASK(). This allows grouped categories such as
3964
+ * [:L:] to be represented. Mask values range
3965
+ * non-contiguously from 1..U_GC_P_MASK.
3966
+ *
3967
+ * @param nameChoice selector for which name to get. If out of range,
3968
+ * NULL is returned. All values have a long name. Most have
3969
+ * a short name, but some do not. Unicode allows for
3970
+ * additional names; if present these will be returned by
3971
+ * U_LONG_PROPERTY_NAME + i, where i=1, 2,...
3972
+
3973
+ * @return a pointer to the name, or NULL if either the
3974
+ * property or the nameChoice is out of range. If a given
3975
+ * nameChoice returns NULL, then all larger values of
3976
+ * nameChoice will return NULL, with one exception: if NULL is
3977
+ * returned for U_SHORT_PROPERTY_NAME, then
3978
+ * U_LONG_PROPERTY_NAME (and higher) may still return a
3979
+ * non-NULL value. The returned pointer is valid until
3980
+ * u_cleanup() is called.
3981
+ *
3982
+ * @see UProperty
3983
+ * @see UPropertyNameChoice
3984
+ * @stable ICU 2.4
3985
+ */
3986
+ U_CAPI const char* U_EXPORT2
3987
+ u_getPropertyValueName(UProperty property,
3988
+ int32_t value,
3989
+ UPropertyNameChoice nameChoice);
3990
+
3991
+ /**
3992
+ * Return the property value integer for a given value name, as
3993
+ * specified in the Unicode database file PropertyValueAliases.txt.
3994
+ * Short, long, and any other variants are recognized.
3995
+ *
3996
+ * Note: Some of the names in PropertyValueAliases.txt will only be
3997
+ * recognized with UCHAR_GENERAL_CATEGORY_MASK, not
3998
+ * UCHAR_GENERAL_CATEGORY. These include: "C" / "Other", "L" /
3999
+ * "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P"
4000
+ * / "Punctuation", "S" / "Symbol", and "Z" / "Separator".
4001
+ *
4002
+ * @param property UProperty selector constant.
4003
+ * Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
4004
+ * or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
4005
+ * or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
4006
+ * If out of range, UCHAR_INVALID_CODE is returned.
4007
+ *
4008
+ * @param alias the value name to be matched. The name is compared
4009
+ * using "loose matching" as described in
4010
+ * PropertyValueAliases.txt.
4011
+ *
4012
+ * @return a value integer or UCHAR_INVALID_CODE if the given name
4013
+ * does not match any value of the given property, or if the
4014
+ * property is invalid. Note: UCHAR_GENERAL_CATEGORY_MASK values
4015
+ * are not values of UCharCategory, but rather mask values
4016
+ * produced by U_GET_GC_MASK(). This allows grouped
4017
+ * categories such as [:L:] to be represented.
4018
+ *
4019
+ * @see UProperty
4020
+ * @stable ICU 2.4
4021
+ */
4022
+ U_CAPI int32_t U_EXPORT2
4023
+ u_getPropertyValueEnum(UProperty property,
4024
+ const char* alias);
4025
+
4026
+ /**
4027
+ * Determines if the specified character is permissible as the first character in an identifier
4028
+ * according to UAX #31 Unicode Identifier and Pattern Syntax.
4029
+ *
4030
+ * Same as Unicode ID_Start (UCHAR_ID_START).
4031
+ *
4032
+ * @param c the code point to be tested
4033
+ * @return true if the code point may start an identifier
4034
+ *
4035
+ * @see UCHAR_ID_START
4036
+ * @see u_isalpha
4037
+ * @see u_isIDPart
4038
+ * @stable ICU 2.0
4039
+ */
4040
+ U_CAPI UBool U_EXPORT2
4041
+ u_isIDStart(UChar32 c);
4042
+
4043
+ /**
4044
+ * Determines if the specified character is permissible as a non-initial character of an identifier
4045
+ * according to UAX #31 Unicode Identifier and Pattern Syntax.
4046
+ *
4047
+ * Same as Unicode ID_Continue (UCHAR_ID_CONTINUE).
4048
+ *
4049
+ * @param c the code point to be tested
4050
+ * @return true if the code point may occur as a non-initial character of an identifier
4051
+ *
4052
+ * @see UCHAR_ID_CONTINUE
4053
+ * @see u_isIDStart
4054
+ * @see u_isIDIgnorable
4055
+ * @stable ICU 2.0
4056
+ */
4057
+ U_CAPI UBool U_EXPORT2
4058
+ u_isIDPart(UChar32 c);
4059
+
4060
+ #ifndef U_HIDE_DRAFT_API
4061
+ /**
4062
+ * Does the set of Identifier_Type values code point c contain the given type?
4063
+ *
4064
+ * Used for UTS #39 General Security Profile for Identifiers
4065
+ * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
4066
+ *
4067
+ * Each code point maps to a <i>set</i> of UIdentifierType values.
4068
+ *
4069
+ * @param c code point
4070
+ * @param type Identifier_Type to check
4071
+ * @return true if type is in Identifier_Type(c)
4072
+ * @draft ICU 75
4073
+ */
4074
+ U_CAPI bool U_EXPORT2
4075
+ u_hasIDType(UChar32 c, UIdentifierType type);
4076
+
4077
+ /**
4078
+ * Writes code point c's Identifier_Type as a list of UIdentifierType values
4079
+ * to the output types array and returns the number of types.
4080
+ *
4081
+ * Used for UTS #39 General Security Profile for Identifiers
4082
+ * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
4083
+ *
4084
+ * Each code point maps to a <i>set</i> of UIdentifierType values.
4085
+ * There is always at least one type.
4086
+ * The order of output values is undefined.
4087
+ * Each type is output at most once;
4088
+ * there cannot be more output values than UIdentifierType constants.
4089
+ * In addition, only some of the types can be combined with others,
4090
+ * and usually only a small number of types occur together.
4091
+ * Future versions might add additional types.
4092
+ * See UTS #39 and its data files for details.
4093
+ *
4094
+ * If there are more than capacity types to be written, then
4095
+ * U_BUFFER_OVERFLOW_ERROR is set and the number of types is returned.
4096
+ * (Usual ICU buffer handling behavior.)
4097
+ *
4098
+ * @param c code point
4099
+ * @param types output array
4100
+ * @param capacity capacity of the array
4101
+ * @param pErrorCode Standard ICU error code. Its input value must
4102
+ * pass the U_SUCCESS() test, or else the function returns
4103
+ * immediately. Check for U_FAILURE() on output or use with
4104
+ * function chaining. (See User Guide for details.)
4105
+ * @return number of values in c's Identifier_Type,
4106
+ * written to types unless U_BUFFER_OVERFLOW_ERROR indicates insufficient capacity
4107
+ * @draft ICU 75
4108
+ */
4109
+ U_CAPI int32_t U_EXPORT2
4110
+ u_getIDTypes(UChar32 c, UIdentifierType *types, int32_t capacity, UErrorCode *pErrorCode);
4111
+ #endif // U_HIDE_DRAFT_API
4112
+
4113
+ /**
4114
+ * Determines if the specified character should be regarded
4115
+ * as an ignorable character in an identifier,
4116
+ * according to Java.
4117
+ * True for characters with general category "Cf" (format controls) as well as
4118
+ * non-whitespace ISO controls
4119
+ * (U+0000..U+0008, U+000E..U+001B, U+007F..U+009F).
4120
+ *
4121
+ * Same as java.lang.Character.isIdentifierIgnorable().
4122
+ *
4123
+ * Note that Unicode just recommends to ignore Cf (format controls).
4124
+ *
4125
+ * @param c the code point to be tested
4126
+ * @return true if the code point is ignorable in identifiers according to Java
4127
+ *
4128
+ * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
4129
+ * @see u_isIDStart
4130
+ * @see u_isIDPart
4131
+ * @stable ICU 2.0
4132
+ */
4133
+ U_CAPI UBool U_EXPORT2
4134
+ u_isIDIgnorable(UChar32 c);
4135
+
4136
+ /**
4137
+ * Determines if the specified character is permissible as the
4138
+ * first character in a Java identifier.
4139
+ * In addition to u_isIDStart(c), true for characters with
4140
+ * general categories "Sc" (currency symbols) and "Pc" (connecting punctuation).
4141
+ *
4142
+ * Same as java.lang.Character.isJavaIdentifierStart().
4143
+ *
4144
+ * @param c the code point to be tested
4145
+ * @return true if the code point may start a Java identifier
4146
+ *
4147
+ * @see u_isJavaIDPart
4148
+ * @see u_isalpha
4149
+ * @see u_isIDStart
4150
+ * @stable ICU 2.0
4151
+ */
4152
+ U_CAPI UBool U_EXPORT2
4153
+ u_isJavaIDStart(UChar32 c);
4154
+
4155
+ /**
4156
+ * Determines if the specified character is permissible
4157
+ * in a Java identifier.
4158
+ * In addition to u_isIDPart(c), true for characters with
4159
+ * general category "Sc" (currency symbols).
4160
+ *
4161
+ * Same as java.lang.Character.isJavaIdentifierPart().
4162
+ *
4163
+ * @param c the code point to be tested
4164
+ * @return true if the code point may occur in a Java identifier
4165
+ *
4166
+ * @see u_isIDIgnorable
4167
+ * @see u_isJavaIDStart
4168
+ * @see u_isalpha
4169
+ * @see u_isdigit
4170
+ * @see u_isIDPart
4171
+ * @stable ICU 2.0
4172
+ */
4173
+ U_CAPI UBool U_EXPORT2
4174
+ u_isJavaIDPart(UChar32 c);
4175
+
4176
+ /**
4177
+ * The given character is mapped to its lowercase equivalent according to
4178
+ * UnicodeData.txt; if the character has no lowercase equivalent, the character
4179
+ * itself is returned.
4180
+ *
4181
+ * Same as java.lang.Character.toLowerCase().
4182
+ *
4183
+ * This function only returns the simple, single-code point case mapping.
4184
+ * Full case mappings should be used whenever possible because they produce
4185
+ * better results by working on whole strings.
4186
+ * They take into account the string context and the language and can map
4187
+ * to a result string with a different length as appropriate.
4188
+ * Full case mappings are applied by the string case mapping functions,
4189
+ * see ustring.h and the UnicodeString class.
4190
+ * See also the User Guide chapter on C/POSIX migration:
4191
+ * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4192
+ *
4193
+ * @param c the code point to be mapped
4194
+ * @return the Simple_Lowercase_Mapping of the code point, if any;
4195
+ * otherwise the code point itself.
4196
+ * @stable ICU 2.0
4197
+ */
4198
+ U_CAPI UChar32 U_EXPORT2
4199
+ u_tolower(UChar32 c);
4200
+
4201
+ /**
4202
+ * The given character is mapped to its uppercase equivalent according to UnicodeData.txt;
4203
+ * if the character has no uppercase equivalent, the character itself is
4204
+ * returned.
4205
+ *
4206
+ * Same as java.lang.Character.toUpperCase().
4207
+ *
4208
+ * This function only returns the simple, single-code point case mapping.
4209
+ * Full case mappings should be used whenever possible because they produce
4210
+ * better results by working on whole strings.
4211
+ * They take into account the string context and the language and can map
4212
+ * to a result string with a different length as appropriate.
4213
+ * Full case mappings are applied by the string case mapping functions,
4214
+ * see ustring.h and the UnicodeString class.
4215
+ * See also the User Guide chapter on C/POSIX migration:
4216
+ * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4217
+ *
4218
+ * @param c the code point to be mapped
4219
+ * @return the Simple_Uppercase_Mapping of the code point, if any;
4220
+ * otherwise the code point itself.
4221
+ * @stable ICU 2.0
4222
+ */
4223
+ U_CAPI UChar32 U_EXPORT2
4224
+ u_toupper(UChar32 c);
4225
+
4226
+ /**
4227
+ * The given character is mapped to its titlecase equivalent
4228
+ * according to UnicodeData.txt;
4229
+ * if none is defined, the character itself is returned.
4230
+ *
4231
+ * Same as java.lang.Character.toTitleCase().
4232
+ *
4233
+ * This function only returns the simple, single-code point case mapping.
4234
+ * Full case mappings should be used whenever possible because they produce
4235
+ * better results by working on whole strings.
4236
+ * They take into account the string context and the language and can map
4237
+ * to a result string with a different length as appropriate.
4238
+ * Full case mappings are applied by the string case mapping functions,
4239
+ * see ustring.h and the UnicodeString class.
4240
+ * See also the User Guide chapter on C/POSIX migration:
4241
+ * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4242
+ *
4243
+ * @param c the code point to be mapped
4244
+ * @return the Simple_Titlecase_Mapping of the code point, if any;
4245
+ * otherwise the code point itself.
4246
+ * @stable ICU 2.0
4247
+ */
4248
+ U_CAPI UChar32 U_EXPORT2
4249
+ u_totitle(UChar32 c);
4250
+
4251
+ /**
4252
+ * The given character is mapped to its case folding equivalent according to
4253
+ * UnicodeData.txt and CaseFolding.txt;
4254
+ * if the character has no case folding equivalent, the character
4255
+ * itself is returned.
4256
+ *
4257
+ * This function only returns the simple, single-code point case mapping.
4258
+ * Full case mappings should be used whenever possible because they produce
4259
+ * better results by working on whole strings.
4260
+ * They take into account the string context and the language and can map
4261
+ * to a result string with a different length as appropriate.
4262
+ * Full case mappings are applied by the string case mapping functions,
4263
+ * see ustring.h and the UnicodeString class.
4264
+ * See also the User Guide chapter on C/POSIX migration:
4265
+ * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4266
+ *
4267
+ * @param c the code point to be mapped
4268
+ * @param options Either U_FOLD_CASE_DEFAULT or U_FOLD_CASE_EXCLUDE_SPECIAL_I
4269
+ * @return the Simple_Case_Folding of the code point, if any;
4270
+ * otherwise the code point itself.
4271
+ * @stable ICU 2.0
4272
+ */
4273
+ U_CAPI UChar32 U_EXPORT2
4274
+ u_foldCase(UChar32 c, uint32_t options);
4275
+
4276
+ /**
4277
+ * Returns the decimal digit value of the code point in the
4278
+ * specified radix.
4279
+ *
4280
+ * If the radix is not in the range <code>2<=radix<=36</code> or if the
4281
+ * value of <code>c</code> is not a valid digit in the specified
4282
+ * radix, <code>-1</code> is returned. A character is a valid digit
4283
+ * if at least one of the following is true:
4284
+ * <ul>
4285
+ * <li>The character has a decimal digit value.
4286
+ * Such characters have the general category "Nd" (decimal digit numbers)
4287
+ * and a Numeric_Type of Decimal.
4288
+ * In this case the value is the character's decimal digit value.</li>
4289
+ * <li>The character is one of the uppercase Latin letters
4290
+ * <code>'A'</code> through <code>'Z'</code>.
4291
+ * In this case the value is <code>c-'A'+10</code>.</li>
4292
+ * <li>The character is one of the lowercase Latin letters
4293
+ * <code>'a'</code> through <code>'z'</code>.
4294
+ * In this case the value is <code>ch-'a'+10</code>.</li>
4295
+ * <li>Latin letters from both the ASCII range (0061..007A, 0041..005A)
4296
+ * as well as from the Fullwidth ASCII range (FF41..FF5A, FF21..FF3A)
4297
+ * are recognized.</li>
4298
+ * </ul>
4299
+ *
4300
+ * Same as java.lang.Character.digit().
4301
+ *
4302
+ * @param ch the code point to be tested.
4303
+ * @param radix the radix.
4304
+ * @return the numeric value represented by the character in the
4305
+ * specified radix,
4306
+ * or -1 if there is no value or if the value exceeds the radix.
4307
+ *
4308
+ * @see UCHAR_NUMERIC_TYPE
4309
+ * @see u_forDigit
4310
+ * @see u_charDigitValue
4311
+ * @see u_isdigit
4312
+ * @stable ICU 2.0
4313
+ */
4314
+ U_CAPI int32_t U_EXPORT2
4315
+ u_digit(UChar32 ch, int8_t radix);
4316
+
4317
+ /**
4318
+ * Determines the character representation for a specific digit in
4319
+ * the specified radix. If the value of <code>radix</code> is not a
4320
+ * valid radix, or the value of <code>digit</code> is not a valid
4321
+ * digit in the specified radix, the null character
4322
+ * (<code>U+0000</code>) is returned.
4323
+ * <p>
4324
+ * The <code>radix</code> argument is valid if it is greater than or
4325
+ * equal to 2 and less than or equal to 36.
4326
+ * The <code>digit</code> argument is valid if
4327
+ * <code>0 <= digit < radix</code>.
4328
+ * <p>
4329
+ * If the digit is less than 10, then
4330
+ * <code>'0' + digit</code> is returned. Otherwise, the value
4331
+ * <code>'a' + digit - 10</code> is returned.
4332
+ *
4333
+ * Same as java.lang.Character.forDigit().
4334
+ *
4335
+ * @param digit the number to convert to a character.
4336
+ * @param radix the radix.
4337
+ * @return the <code>char</code> representation of the specified digit
4338
+ * in the specified radix.
4339
+ *
4340
+ * @see u_digit
4341
+ * @see u_charDigitValue
4342
+ * @see u_isdigit
4343
+ * @stable ICU 2.0
4344
+ */
4345
+ U_CAPI UChar32 U_EXPORT2
4346
+ u_forDigit(int32_t digit, int8_t radix);
4347
+
4348
+ /**
4349
+ * Get the "age" of the code point.
4350
+ * The "age" is the Unicode version when the code point was first
4351
+ * designated (as a non-character or for Private Use)
4352
+ * or assigned a character.
4353
+ * This can be useful to avoid emitting code points to receiving
4354
+ * processes that do not accept newer characters.
4355
+ * The data is from the UCD file DerivedAge.txt.
4356
+ *
4357
+ * @param c The code point.
4358
+ * @param versionArray The Unicode version number array, to be filled in.
4359
+ *
4360
+ * @stable ICU 2.1
4361
+ */
4362
+ U_CAPI void U_EXPORT2
4363
+ u_charAge(UChar32 c, UVersionInfo versionArray);
4364
+
4365
+ /**
4366
+ * Gets the Unicode version information.
4367
+ * The version array is filled in with the version information
4368
+ * for the Unicode standard that is currently used by ICU.
4369
+ * For example, Unicode version 3.1.1 is represented as an array with
4370
+ * the values { 3, 1, 1, 0 }.
4371
+ *
4372
+ * @param versionArray an output array that will be filled in with
4373
+ * the Unicode version number
4374
+ * @stable ICU 2.0
4375
+ */
4376
+ U_CAPI void U_EXPORT2
4377
+ u_getUnicodeVersion(UVersionInfo versionArray);
4378
+
4379
+ #if !UCONFIG_NO_NORMALIZATION
4380
+ /**
4381
+ * Get the FC_NFKC_Closure property string for a character.
4382
+ * See Unicode Standard Annex #15 for details, search for "FC_NFKC_Closure"
4383
+ * or for "FNC": http://www.unicode.org/reports/tr15/
4384
+ *
4385
+ * @param c The character (code point) for which to get the FC_NFKC_Closure string.
4386
+ * It must be <code>0<=c<=0x10ffff</code>.
4387
+ * @param dest Destination address for copying the string.
4388
+ * The string will be zero-terminated if possible.
4389
+ * If there is no FC_NFKC_Closure string,
4390
+ * then the buffer will be set to the empty string.
4391
+ * @param destCapacity <code>==sizeof(dest)</code>
4392
+ * @param pErrorCode Pointer to a UErrorCode variable.
4393
+ * @return The length of the string, or 0 if there is no FC_NFKC_Closure string for this character.
4394
+ * If the destCapacity is less than or equal to the length, then the buffer
4395
+ * contains the truncated name and the returned length indicates the full
4396
+ * length of the name.
4397
+ * The length does not include the zero-termination.
4398
+ *
4399
+ * @stable ICU 2.2
4400
+ */
4401
+ U_CAPI int32_t U_EXPORT2
4402
+ u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode);
4403
+
4404
+ #endif
4405
+
4406
+
4407
+ U_CDECL_END
4408
+
4409
+ #endif /*_UCHAR*/
4410
+ /*eof*/