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

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,766 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ *******************************************************************************
5
+ *
6
+ * Copyright (C) 2011-2014 International Business Machines
7
+ * Corporation and others. All Rights Reserved.
8
+ *
9
+ *******************************************************************************
10
+ */
11
+
12
+ #ifndef INDEXCHARS_H
13
+ #define INDEXCHARS_H
14
+
15
+ #include <_foundation_unicode/utypes.h>
16
+
17
+ #if U_SHOW_CPLUSPLUS_API
18
+
19
+ #include <_foundation_unicode/uobject.h>
20
+ #include <_foundation_unicode/locid.h>
21
+ #include <_foundation_unicode/unistr.h>
22
+
23
+ #if !UCONFIG_NO_COLLATION
24
+
25
+ /**
26
+ * \file
27
+ * \brief C++ API: Index Characters
28
+ */
29
+
30
+ U_CDECL_BEGIN
31
+
32
+ /**
33
+ * Constants for Alphabetic Index Label Types.
34
+ * The form of these enum constants anticipates having a plain C API
35
+ * for Alphabetic Indexes that will also use them.
36
+ * @stable ICU 4.8
37
+ */
38
+ typedef enum UAlphabeticIndexLabelType {
39
+ /**
40
+ * Normal Label, typically the starting letter of the names
41
+ * in the bucket with this label.
42
+ * @stable ICU 4.8
43
+ */
44
+ U_ALPHAINDEX_NORMAL = 0,
45
+
46
+ /**
47
+ * Underflow Label. The bucket with this label contains names
48
+ * in scripts that sort before any of the bucket labels in this index.
49
+ * @stable ICU 4.8
50
+ */
51
+ U_ALPHAINDEX_UNDERFLOW = 1,
52
+
53
+ /**
54
+ * Inflow Label. The bucket with this label contains names
55
+ * in scripts that sort between two of the bucket labels in this index.
56
+ * Inflow labels are created when an index contains normal labels for
57
+ * multiple scripts, and skips other scripts that sort between some of the
58
+ * included scripts.
59
+ * @stable ICU 4.8
60
+ */
61
+ U_ALPHAINDEX_INFLOW = 2,
62
+
63
+ /**
64
+ * Overflow Label. The bucket with this label contains names in scripts
65
+ * that sort after all of the bucket labels in this index.
66
+ * @stable ICU 4.8
67
+ */
68
+ U_ALPHAINDEX_OVERFLOW = 3
69
+ } UAlphabeticIndexLabelType;
70
+
71
+
72
+ struct UHashtable;
73
+ U_CDECL_END
74
+
75
+ U_NAMESPACE_BEGIN
76
+
77
+ // Forward Declarations
78
+
79
+ class BucketList;
80
+ class Collator;
81
+ class RuleBasedCollator;
82
+ class StringEnumeration;
83
+ class UnicodeSet;
84
+ class UVector;
85
+
86
+ /**
87
+ * AlphabeticIndex supports the creation of a UI index appropriate for a given language.
88
+ * It can support either direct use, or use with a client that doesn't support localized collation.
89
+ * The following is an example of what an index might look like in a UI:
90
+ *
91
+ * <pre>
92
+ * <b>... A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ...</b>
93
+ *
94
+ * <b>A</b>
95
+ * Addison
96
+ * Albertson
97
+ * Azensky
98
+ * <b>B</b>
99
+ * Baker
100
+ * ...
101
+ * </pre>
102
+ *
103
+ * The class can generate a list of labels for use as a UI "index", that is, a list of
104
+ * clickable characters (or character sequences) that allow the user to see a segment
105
+ * (bucket) of a larger "target" list. That is, each label corresponds to a bucket in
106
+ * the target list, where everything in the bucket is greater than or equal to the character
107
+ * (according to the locale's collation). Strings can be added to the index;
108
+ * they will be in sorted order in the right bucket.
109
+ * <p>
110
+ * The class also supports having buckets for strings before the first (underflow),
111
+ * after the last (overflow), and between scripts (inflow). For example, if the index
112
+ * is constructed with labels for Russian and English, Greek characters would fall
113
+ * into an inflow bucket between the other two scripts.
114
+ * <p>
115
+ * The AlphabeticIndex class is not intended for public subclassing.
116
+ *
117
+ * <p><em>Note:</em> If you expect to have a lot of ASCII or Latin characters
118
+ * as well as characters from the user's language,
119
+ * then it is a good idea to call addLabels(Locale::getEnglish(), status).</p>
120
+ *
121
+ * <h2>Direct Use</h2>
122
+ * <p>The following shows an example of building an index directly.
123
+ * The "show..." methods below are just to illustrate usage.
124
+ *
125
+ * <pre>
126
+ * // Create a simple index. "Item" is assumed to be an application
127
+ * // defined type that the application's UI and other processing knows about,
128
+ * // and that has a name.
129
+ *
130
+ * UErrorCode status = U_ZERO_ERROR;
131
+ * AlphabeticIndex index = new AlphabeticIndex(desiredLocale, status);
132
+ * index->addLabels(additionalLocale, status);
133
+ * for (Item *item in some source of Items ) {
134
+ * index->addRecord(item->name(), item, status);
135
+ * }
136
+ * ...
137
+ * // Show index at top. We could skip or gray out empty buckets
138
+ *
139
+ * while (index->nextBucket(status)) {
140
+ * if (showAll || index->getBucketRecordCount() != 0) {
141
+ * showLabelAtTop(UI, index->getBucketLabel());
142
+ * }
143
+ * }
144
+ * ...
145
+ * // Show the buckets with their contents, skipping empty buckets
146
+ *
147
+ * index->resetBucketIterator(status);
148
+ * while (index->nextBucket(status)) {
149
+ * if (index->getBucketRecordCount() != 0) {
150
+ * showLabelInList(UI, index->getBucketLabel());
151
+ * while (index->nextRecord(status)) {
152
+ * showIndexedItem(UI, static_cast<Item *>(index->getRecordData()))
153
+ * </pre>
154
+ *
155
+ * The caller can build different UIs using this class.
156
+ * For example, an index character could be omitted or grayed-out
157
+ * if its bucket is empty. Small buckets could also be combined based on size, such as:
158
+ *
159
+ * <pre>
160
+ * <b>... A-F G-N O-Z ...</b>
161
+ * </pre>
162
+ *
163
+ * <h2>Client Support</h2>
164
+ * <p>Callers can also use the AlphabeticIndex::ImmutableIndex, or the AlphabeticIndex itself,
165
+ * to support sorting on a client that doesn't support AlphabeticIndex functionality.
166
+ *
167
+ * <p>The ImmutableIndex is both immutable and thread-safe.
168
+ * The corresponding AlphabeticIndex methods are not thread-safe because
169
+ * they "lazily" build the index buckets.
170
+ * <ul>
171
+ * <li>ImmutableIndex.getBucket(index) provides random access to all
172
+ * buckets and their labels and label types.
173
+ * <li>The AlphabeticIndex bucket iterator or ImmutableIndex.getBucket(0..getBucketCount-1)
174
+ * can be used to get a list of the labels,
175
+ * such as "...", "A", "B",..., and send that list to the client.
176
+ * <li>When the client has a new name, it sends that name to the server.
177
+ * The server needs to call the following methods,
178
+ * and communicate the bucketIndex and collationKey back to the client.
179
+ *
180
+ * <pre>
181
+ * int32_t bucketIndex = index.getBucketIndex(name, status);
182
+ * const UnicodeString &label = immutableIndex.getBucket(bucketIndex)->getLabel(); // optional
183
+ * int32_t skLength = collator.getSortKey(name, sk, skCapacity);
184
+ * </pre>
185
+ *
186
+ * <li>The client would put the name (and associated information) into its bucket for bucketIndex. The sort key sk is a
187
+ * sequence of bytes that can be compared with a binary compare, and produce the right localized result.</li>
188
+ * </ul>
189
+ *
190
+ * @stable ICU 4.8
191
+ */
192
+ class U_I18N_API AlphabeticIndex: public UObject {
193
+ public:
194
+ /**
195
+ * An index "bucket" with a label string and type.
196
+ * It is referenced by getBucketIndex(),
197
+ * and returned by ImmutableIndex.getBucket().
198
+ *
199
+ * The Bucket class is not intended for public subclassing.
200
+ * @stable ICU 51
201
+ */
202
+ class U_I18N_API Bucket : public UObject {
203
+ public:
204
+ /**
205
+ * Destructor.
206
+ * @stable ICU 51
207
+ */
208
+ virtual ~Bucket();
209
+
210
+ /**
211
+ * Returns the label string.
212
+ *
213
+ * @return the label string for the bucket
214
+ * @stable ICU 51
215
+ */
216
+ const UnicodeString &getLabel() const { return label_; }
217
+ /**
218
+ * Returns whether this bucket is a normal, underflow, overflow, or inflow bucket.
219
+ *
220
+ * @return the bucket label type
221
+ * @stable ICU 51
222
+ */
223
+ UAlphabeticIndexLabelType getLabelType() const { return labelType_; }
224
+
225
+ private:
226
+ friend class AlphabeticIndex;
227
+ friend class BucketList;
228
+
229
+ UnicodeString label_;
230
+ UnicodeString lowerBoundary_;
231
+ UAlphabeticIndexLabelType labelType_;
232
+ Bucket *displayBucket_;
233
+ int32_t displayIndex_;
234
+ UVector *records_; // Records are owned by the inputList_ vector.
235
+
236
+ Bucket(const UnicodeString &label, // Parameter strings are copied.
237
+ const UnicodeString &lowerBoundary,
238
+ UAlphabeticIndexLabelType type);
239
+ };
240
+
241
+ /**
242
+ * Immutable, thread-safe version of AlphabeticIndex.
243
+ * This class provides thread-safe methods for bucketing,
244
+ * and random access to buckets and their properties,
245
+ * but does not offer adding records to the index.
246
+ *
247
+ * The ImmutableIndex class is not intended for public subclassing.
248
+ *
249
+ * @stable ICU 51
250
+ */
251
+ class U_I18N_API ImmutableIndex : public UObject {
252
+ public:
253
+ /**
254
+ * Destructor.
255
+ * @stable ICU 51
256
+ */
257
+ virtual ~ImmutableIndex();
258
+
259
+ /**
260
+ * Returns the number of index buckets and labels, including underflow/inflow/overflow.
261
+ *
262
+ * @return the number of index buckets
263
+ * @stable ICU 51
264
+ */
265
+ int32_t getBucketCount() const;
266
+
267
+ /**
268
+ * Finds the index bucket for the given name and returns the number of that bucket.
269
+ * Use getBucket() to get the bucket's properties.
270
+ *
271
+ * @param name the string to be sorted into an index bucket
272
+ * @param errorCode Error code, will be set with the reason if the
273
+ * operation fails.
274
+ * @return the bucket number for the name
275
+ * @stable ICU 51
276
+ */
277
+ int32_t getBucketIndex(const UnicodeString &name, UErrorCode &errorCode) const;
278
+
279
+ /**
280
+ * Returns the index-th bucket. Returns nullptr if the index is out of range.
281
+ *
282
+ * @param index bucket number
283
+ * @return the index-th bucket
284
+ * @stable ICU 51
285
+ */
286
+ const Bucket *getBucket(int32_t index) const;
287
+
288
+ private:
289
+ friend class AlphabeticIndex;
290
+
291
+ ImmutableIndex(BucketList *bucketList, Collator *collatorPrimaryOnly)
292
+ : buckets_(bucketList), collatorPrimaryOnly_(collatorPrimaryOnly) {}
293
+
294
+ BucketList *buckets_;
295
+ Collator *collatorPrimaryOnly_;
296
+ };
297
+
298
+ /**
299
+ * Construct an AlphabeticIndex object for the specified locale. If the locale's
300
+ * data does not include index characters, a set of them will be
301
+ * synthesized based on the locale's exemplar characters. The locale
302
+ * determines the sorting order for both the index characters and the
303
+ * user item names appearing under each Index character.
304
+ *
305
+ * @param locale the desired locale.
306
+ * @param status Error code, will be set with the reason if the construction
307
+ * of the AlphabeticIndex object fails.
308
+ * @stable ICU 4.8
309
+ */
310
+ AlphabeticIndex(const Locale &locale, UErrorCode &status);
311
+
312
+ /**
313
+ * Construct an AlphabeticIndex that uses a specific collator.
314
+ *
315
+ * The index will be created with no labels; the addLabels() function must be called
316
+ * after creation to add the desired labels to the index.
317
+ *
318
+ * The index adopts the collator, and is responsible for deleting it.
319
+ * The caller should make no further use of the collator after creating the index.
320
+ *
321
+ * @param collator The collator to use to order the contents of this index.
322
+ * @param status Error code, will be set with the reason if the
323
+ * operation fails.
324
+ * @stable ICU 51
325
+ */
326
+ AlphabeticIndex(RuleBasedCollator *collator, UErrorCode &status);
327
+
328
+ /**
329
+ * Add Labels to this Index. The labels are additions to those
330
+ * that are already in the index; they do not replace the existing
331
+ * ones.
332
+ * @param additions The additional characters to add to the index, such as A-Z.
333
+ * @param status Error code, will be set with the reason if the
334
+ * operation fails.
335
+ * @return this, for chaining
336
+ * @stable ICU 4.8
337
+ */
338
+ virtual AlphabeticIndex &addLabels(const UnicodeSet &additions, UErrorCode &status);
339
+
340
+ /**
341
+ * Add the index characters from a Locale to the index. The labels
342
+ * are added to those that are already in the index; they do not replace the
343
+ * existing index characters. The collation order for this index is not
344
+ * changed; it remains that of the locale that was originally specified
345
+ * when creating this Index.
346
+ *
347
+ * @param locale The locale whose index characters are to be added.
348
+ * @param status Error code, will be set with the reason if the
349
+ * operation fails.
350
+ * @return this, for chaining
351
+ * @stable ICU 4.8
352
+ */
353
+ virtual AlphabeticIndex &addLabels(const Locale &locale, UErrorCode &status);
354
+
355
+ /**
356
+ * Destructor
357
+ * @stable ICU 4.8
358
+ */
359
+ virtual ~AlphabeticIndex();
360
+
361
+ /**
362
+ * Builds an immutable, thread-safe version of this instance, without data records.
363
+ *
364
+ * @return an immutable index instance
365
+ * @stable ICU 51
366
+ */
367
+ ImmutableIndex *buildImmutableIndex(UErrorCode &errorCode);
368
+
369
+ /**
370
+ * Get the Collator that establishes the ordering of the items in this index.
371
+ * Ownership of the collator remains with the AlphabeticIndex instance.
372
+ *
373
+ * The returned collator is a reference to the internal collator used by this
374
+ * index. It may be safely used to compare the names of items or to get
375
+ * sort keys for names. However if any settings need to be changed,
376
+ * or other non-const methods called, a cloned copy must be made first.
377
+ *
378
+ * @return The collator
379
+ * @stable ICU 4.8
380
+ */
381
+ virtual const RuleBasedCollator &getCollator() const;
382
+
383
+
384
+ /**
385
+ * Get the default label used for abbreviated buckets *between* other index characters.
386
+ * For example, consider the labels when Latin (X Y Z) and Greek (Α Β Γ) are used:
387
+ *
388
+ * X Y Z ... Α Β Γ.
389
+ *
390
+ * @return inflow label
391
+ * @stable ICU 4.8
392
+ */
393
+ virtual const UnicodeString &getInflowLabel() const;
394
+
395
+ /**
396
+ * Set the default label used for abbreviated buckets <i>between</i> other index characters.
397
+ * An inflow label will be automatically inserted if two otherwise-adjacent label characters
398
+ * are from different scripts, e.g. Latin and Cyrillic, and a third script, e.g. Greek,
399
+ * sorts between the two. The default inflow character is an ellipsis (...)
400
+ *
401
+ * @param inflowLabel the new Inflow label.
402
+ * @param status Error code, will be set with the reason if the operation fails.
403
+ * @return this
404
+ * @stable ICU 4.8
405
+ */
406
+ virtual AlphabeticIndex &setInflowLabel(const UnicodeString &inflowLabel, UErrorCode &status);
407
+
408
+
409
+ /**
410
+ * Get the special label used for items that sort after the last normal label,
411
+ * and that would not otherwise have an appropriate label.
412
+ *
413
+ * @return the overflow label
414
+ * @stable ICU 4.8
415
+ */
416
+ virtual const UnicodeString &getOverflowLabel() const;
417
+
418
+
419
+ /**
420
+ * Set the label used for items that sort after the last normal label,
421
+ * and that would not otherwise have an appropriate label.
422
+ *
423
+ * @param overflowLabel the new overflow label.
424
+ * @param status Error code, will be set with the reason if the operation fails.
425
+ * @return this
426
+ * @stable ICU 4.8
427
+ */
428
+ virtual AlphabeticIndex &setOverflowLabel(const UnicodeString &overflowLabel, UErrorCode &status);
429
+
430
+ /**
431
+ * Get the special label used for items that sort before the first normal label,
432
+ * and that would not otherwise have an appropriate label.
433
+ *
434
+ * @return underflow label
435
+ * @stable ICU 4.8
436
+ */
437
+ virtual const UnicodeString &getUnderflowLabel() const;
438
+
439
+ /**
440
+ * Set the label used for items that sort before the first normal label,
441
+ * and that would not otherwise have an appropriate label.
442
+ *
443
+ * @param underflowLabel the new underflow label.
444
+ * @param status Error code, will be set with the reason if the operation fails.
445
+ * @return this
446
+ * @stable ICU 4.8
447
+ */
448
+ virtual AlphabeticIndex &setUnderflowLabel(const UnicodeString &underflowLabel, UErrorCode &status);
449
+
450
+
451
+ /**
452
+ * Get the limit on the number of labels permitted in the index.
453
+ * The number does not include over, under and inflow labels.
454
+ *
455
+ * @return maxLabelCount maximum number of labels.
456
+ * @stable ICU 4.8
457
+ */
458
+ virtual int32_t getMaxLabelCount() const;
459
+
460
+ /**
461
+ * Set a limit on the number of labels permitted in the index.
462
+ * The number does not include over, under and inflow labels.
463
+ * Currently, if the number is exceeded, then every
464
+ * nth item is removed to bring the count down.
465
+ * A more sophisticated mechanism may be available in the future.
466
+ *
467
+ * @param maxLabelCount the maximum number of labels.
468
+ * @param status error code
469
+ * @return This, for chaining
470
+ * @stable ICU 4.8
471
+ */
472
+ virtual AlphabeticIndex &setMaxLabelCount(int32_t maxLabelCount, UErrorCode &status);
473
+
474
+
475
+ /**
476
+ * Add a record to the index. Each record will be associated with an index Bucket
477
+ * based on the record's name. The list of records for each bucket will be sorted
478
+ * based on the collation ordering of the names in the index's locale.
479
+ * Records with duplicate names are permitted; they will be kept in the order
480
+ * that they were added.
481
+ *
482
+ * @param name The display name for the Record. The Record will be placed in
483
+ * a bucket based on this name.
484
+ * @param data An optional pointer to user data associated with this
485
+ * item. When iterating the contents of a bucket, both the
486
+ * data pointer the name will be available for each Record.
487
+ * @param status Error code, will be set with the reason if the operation fails.
488
+ * @return This, for chaining.
489
+ * @stable ICU 4.8
490
+ */
491
+ virtual AlphabeticIndex &addRecord(const UnicodeString &name, const void *data, UErrorCode &status);
492
+
493
+ /**
494
+ * Remove all Records from the Index. The set of Buckets, which define the headings under
495
+ * which records are classified, is not altered.
496
+ *
497
+ * @param status Error code, will be set with the reason if the operation fails.
498
+ * @return This, for chaining.
499
+ * @stable ICU 4.8
500
+ */
501
+ virtual AlphabeticIndex &clearRecords(UErrorCode &status);
502
+
503
+
504
+ /** Get the number of labels in this index.
505
+ * Note: may trigger lazy index construction.
506
+ *
507
+ * @param status Error code, will be set with the reason if the operation fails.
508
+ * @return The number of labels in this index, including any under, over or
509
+ * in-flow labels.
510
+ * @stable ICU 4.8
511
+ */
512
+ virtual int32_t getBucketCount(UErrorCode &status);
513
+
514
+
515
+ /** Get the total number of Records in this index, that is, the number
516
+ * of <name, data> pairs added.
517
+ *
518
+ * @param status Error code, will be set with the reason if the operation fails.
519
+ * @return The number of records in this index, that is, the total number
520
+ * of (name, data) items added with addRecord().
521
+ * @stable ICU 4.8
522
+ */
523
+ virtual int32_t getRecordCount(UErrorCode &status);
524
+
525
+
526
+
527
+ /**
528
+ * Given the name of a record, return the zero-based index of the Bucket
529
+ * in which the item should appear. The name need not be in the index.
530
+ * A Record will not be added to the index by this function.
531
+ * Bucket numbers are zero-based, in Bucket iteration order.
532
+ *
533
+ * @param itemName The name whose bucket position in the index is to be determined.
534
+ * @param status Error code, will be set with the reason if the operation fails.
535
+ * @return The bucket number for this name.
536
+ * @stable ICU 4.8
537
+ *
538
+ */
539
+ virtual int32_t getBucketIndex(const UnicodeString &itemName, UErrorCode &status);
540
+
541
+
542
+ /**
543
+ * Get the zero based index of the current Bucket from an iteration
544
+ * over the Buckets of this index. Return -1 if no iteration is in process.
545
+ * @return the index of the current Bucket
546
+ * @stable ICU 4.8
547
+ */
548
+ virtual int32_t getBucketIndex() const;
549
+
550
+
551
+ /**
552
+ * Advance the iteration over the Buckets of this index. Return false if
553
+ * there are no more Buckets.
554
+ *
555
+ * @param status Error code, will be set with the reason if the operation fails.
556
+ * U_ENUM_OUT_OF_SYNC_ERROR will be reported if the index is modified while
557
+ * an enumeration of its contents are in process.
558
+ *
559
+ * @return true if success, false if at end of iteration
560
+ * @stable ICU 4.8
561
+ */
562
+ virtual UBool nextBucket(UErrorCode &status);
563
+
564
+ /**
565
+ * Return the name of the Label of the current bucket from an iteration over the buckets.
566
+ * If the iteration is before the first Bucket (nextBucket() has not been called),
567
+ * or after the last, return an empty string.
568
+ *
569
+ * @return the bucket label.
570
+ * @stable ICU 4.8
571
+ */
572
+ virtual const UnicodeString &getBucketLabel() const;
573
+
574
+ /**
575
+ * Return the type of the label for the current Bucket (selected by the
576
+ * iteration over Buckets.)
577
+ *
578
+ * @return the label type.
579
+ * @stable ICU 4.8
580
+ */
581
+ virtual UAlphabeticIndexLabelType getBucketLabelType() const;
582
+
583
+ /**
584
+ * Get the number of <name, data> Records in the current Bucket.
585
+ * If the current bucket iteration position is before the first label or after the
586
+ * last, return 0.
587
+ *
588
+ * @return the number of Records.
589
+ * @stable ICU 4.8
590
+ */
591
+ virtual int32_t getBucketRecordCount() const;
592
+
593
+
594
+ /**
595
+ * Reset the Bucket iteration for this index. The next call to nextBucket()
596
+ * will restart the iteration at the first label.
597
+ *
598
+ * @param status Error code, will be set with the reason if the operation fails.
599
+ * @return this, for chaining.
600
+ * @stable ICU 4.8
601
+ */
602
+ virtual AlphabeticIndex &resetBucketIterator(UErrorCode &status);
603
+
604
+ /**
605
+ * Advance to the next record in the current Bucket.
606
+ * When nextBucket() is called, Record iteration is reset to just before the
607
+ * first Record in the new Bucket.
608
+ *
609
+ * @param status Error code, will be set with the reason if the operation fails.
610
+ * U_ENUM_OUT_OF_SYNC_ERROR will be reported if the index is modified while
611
+ * an enumeration of its contents are in process.
612
+ * @return true if successful, false when the iteration advances past the last item.
613
+ * @stable ICU 4.8
614
+ */
615
+ virtual UBool nextRecord(UErrorCode &status);
616
+
617
+ /**
618
+ * Get the name of the current Record.
619
+ * Return an empty string if the Record iteration position is before first
620
+ * or after the last.
621
+ *
622
+ * @return The name of the current index item.
623
+ * @stable ICU 4.8
624
+ */
625
+ virtual const UnicodeString &getRecordName() const;
626
+
627
+
628
+ /**
629
+ * Return the data pointer of the Record currently being iterated over.
630
+ * Return nullptr if the current iteration position before the first item in this Bucket,
631
+ * or after the last.
632
+ *
633
+ * @return The current Record's data pointer.
634
+ * @stable ICU 4.8
635
+ */
636
+ virtual const void *getRecordData() const;
637
+
638
+
639
+ /**
640
+ * Reset the Record iterator position to before the first Record in the current Bucket.
641
+ *
642
+ * @return This, for chaining.
643
+ * @stable ICU 4.8
644
+ */
645
+ virtual AlphabeticIndex &resetRecordIterator();
646
+
647
+ private:
648
+ /**
649
+ * No Copy constructor.
650
+ * @internal (private)
651
+ */
652
+ AlphabeticIndex(const AlphabeticIndex &other) = delete;
653
+
654
+ /**
655
+ * No assignment.
656
+ */
657
+ AlphabeticIndex &operator =(const AlphabeticIndex & /*other*/) { return *this;}
658
+
659
+ /**
660
+ * No Equality operators.
661
+ * @internal (private)
662
+ */
663
+ virtual bool operator==(const AlphabeticIndex& other) const;
664
+
665
+ /**
666
+ * Inequality operator.
667
+ * @internal (private)
668
+ */
669
+ virtual bool operator!=(const AlphabeticIndex& other) const;
670
+
671
+ // Common initialization, for use from all constructors.
672
+ void init(const Locale *locale, UErrorCode &status);
673
+
674
+ /**
675
+ * This method is called to get the index exemplars. Normally these come from the locale directly,
676
+ * but if they aren't available, we have to synthesize them.
677
+ */
678
+ void addIndexExemplars(const Locale &locale, UErrorCode &status);
679
+ /**
680
+ * Add Chinese index characters from the tailoring.
681
+ */
682
+ UBool addChineseIndexCharacters(UErrorCode &errorCode);
683
+
684
+ UVector *firstStringsInScript(UErrorCode &status);
685
+
686
+ static UnicodeString separated(const UnicodeString &item);
687
+
688
+ /**
689
+ * Determine the best labels to use.
690
+ * This is based on the exemplars, but we also process to make sure that they are unique,
691
+ * and sort differently, and that the overall list is small enough.
692
+ */
693
+ void initLabels(UVector &indexCharacters, UErrorCode &errorCode) const;
694
+ BucketList *createBucketList(UErrorCode &errorCode) const;
695
+ void initBuckets(UErrorCode &errorCode);
696
+ void clearBuckets();
697
+ void internalResetBucketIterator();
698
+
699
+ public:
700
+
701
+ // The Record is declared public only to allow access from
702
+ // implementation code written in plain C.
703
+ // It is not intended for public use.
704
+
705
+ #ifndef U_HIDE_INTERNAL_API
706
+ /**
707
+ * A (name, data) pair, to be sorted by name into one of the index buckets.
708
+ * The user data is not used by the index implementation.
709
+ * \cond
710
+ * @internal
711
+ */
712
+ struct Record: public UMemory {
713
+ const UnicodeString name_;
714
+ const void *data_;
715
+ Record(const UnicodeString &name, const void *data);
716
+ ~Record();
717
+ };
718
+ /** \endcond */
719
+ #endif /* U_HIDE_INTERNAL_API */
720
+
721
+ private:
722
+
723
+ /**
724
+ * Holds all user records before they are distributed into buckets.
725
+ * Type of contents is (Record *)
726
+ * @internal (private)
727
+ */
728
+ UVector *inputList_;
729
+
730
+ int32_t labelsIterIndex_; // Index of next item to return.
731
+ int32_t itemsIterIndex_;
732
+ Bucket *currentBucket_; // While an iteration of the index in underway,
733
+ // point to the bucket for the current label.
734
+ // nullptr when no iteration underway.
735
+
736
+ int32_t maxLabelCount_; // Limit on # of labels permitted in the index.
737
+
738
+ UnicodeSet *initialLabels_; // Initial (unprocessed) set of Labels. Union
739
+ // of those explicitly set by the user plus
740
+ // those from locales. Raw values, before
741
+ // crunching into bucket labels.
742
+
743
+ UVector *firstCharsInScripts_; // The first character from each script,
744
+ // in collation order.
745
+
746
+ RuleBasedCollator *collator_;
747
+ RuleBasedCollator *collatorPrimaryOnly_;
748
+
749
+ // Lazy evaluated: null means that we have not built yet.
750
+ BucketList *buckets_;
751
+
752
+ UnicodeString inflowLabel_;
753
+ UnicodeString overflowLabel_;
754
+ UnicodeString underflowLabel_;
755
+ UnicodeString overflowComparisonString_;
756
+
757
+ UnicodeString emptyString_;
758
+ };
759
+
760
+ U_NAMESPACE_END
761
+
762
+ #endif // !UCONFIG_NO_COLLATION
763
+
764
+ #endif /* U_SHOW_CPLUSPLUS_API */
765
+
766
+ #endif