@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,886 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ ******************************************************************************
5
+ * Copyright (C) 1996-2016, International Business Machines Corporation and
6
+ * others. All Rights Reserved.
7
+ ******************************************************************************
8
+ */
9
+
10
+ /**
11
+ * \file
12
+ * \brief C++ API: The RuleBasedCollator class implements the Collator abstract base class.
13
+ */
14
+
15
+ /**
16
+ * File tblcoll.h
17
+ *
18
+ * Created by: Helena Shih
19
+ *
20
+ * Modification History:
21
+ *
22
+ * Date Name Description
23
+ * 2/5/97 aliu Added streamIn and streamOut methods. Added
24
+ * constructor which reads RuleBasedCollator object from
25
+ * a binary file. Added writeToFile method which streams
26
+ * RuleBasedCollator out to a binary file. The streamIn
27
+ * and streamOut methods use istream and ostream objects
28
+ * in binary mode.
29
+ * 2/12/97 aliu Modified to use TableCollationData sub-object to
30
+ * hold invariant data.
31
+ * 2/13/97 aliu Moved several methods into this class from Collation.
32
+ * Added a private RuleBasedCollator(Locale&) constructor,
33
+ * to be used by Collator::createDefault(). General
34
+ * clean up.
35
+ * 2/20/97 helena Added clone, operator==, operator!=, operator=, and copy
36
+ * constructor and getDynamicClassID.
37
+ * 3/5/97 aliu Modified constructFromFile() to add parameter
38
+ * specifying whether or not binary loading is to be
39
+ * attempted. This is required for dynamic rule loading.
40
+ * 05/07/97 helena Added memory allocation error detection.
41
+ * 6/17/97 helena Added IDENTICAL strength for compare, changed getRules to
42
+ * use MergeCollation::getPattern.
43
+ * 6/20/97 helena Java class name change.
44
+ * 8/18/97 helena Added internal API documentation.
45
+ * 09/03/97 helena Added createCollationKeyValues().
46
+ * 02/10/98 damiba Added compare with "length" parameter
47
+ * 08/05/98 erm Synched with 1.2 version of RuleBasedCollator.java
48
+ * 04/23/99 stephen Removed EDecompositionMode, merged with
49
+ * Normalizer::EMode
50
+ * 06/14/99 stephen Removed kResourceBundleSuffix
51
+ * 11/02/99 helena Collator performance enhancements. Eliminates the
52
+ * UnicodeString construction and special case for NO_OP.
53
+ * 11/23/99 srl More performance enhancements. Updates to NormalizerIterator
54
+ * internal state management.
55
+ * 12/15/99 aliu Update to support Thai collation. Move NormalizerIterator
56
+ * to implementation file.
57
+ * 01/29/01 synwee Modified into a C++ wrapper which calls C API
58
+ * (ucol.h)
59
+ * 2012-2014 markus Rewritten in C++ again.
60
+ */
61
+
62
+ #ifndef TBLCOLL_H
63
+ #define TBLCOLL_H
64
+
65
+ #include <_foundation_unicode/utypes.h>
66
+
67
+ #if U_SHOW_CPLUSPLUS_API
68
+
69
+ #if !UCONFIG_NO_COLLATION
70
+
71
+ #include <_foundation_unicode/coll.h>
72
+ #include <_foundation_unicode/locid.h>
73
+ #include <_foundation_unicode/uiter.h>
74
+ #include <_foundation_unicode/ucol.h>
75
+
76
+ U_NAMESPACE_BEGIN
77
+
78
+ struct CollationCacheEntry;
79
+ struct CollationData;
80
+ struct CollationSettings;
81
+ struct CollationTailoring;
82
+ /**
83
+ * @stable ICU 2.0
84
+ */
85
+ class StringSearch;
86
+ /**
87
+ * @stable ICU 2.0
88
+ */
89
+ class CollationElementIterator;
90
+ class CollationKey;
91
+ class SortKeyByteSink;
92
+ class UnicodeSet;
93
+ class UnicodeString;
94
+ class UVector64;
95
+
96
+ /**
97
+ * The RuleBasedCollator class provides the implementation of
98
+ * Collator, using data-driven tables. The user can create a customized
99
+ * table-based collation.
100
+ * <p>
101
+ * For more information about the collation service see
102
+ * <a href="https://unicode-org.github.io/icu/userguide/collation">the User Guide</a>.
103
+ * <p>
104
+ * Collation service provides correct sorting orders for most locales supported in ICU.
105
+ * If specific data for a locale is not available, the orders eventually falls back
106
+ * to the <a href="http://www.unicode.org/reports/tr35/tr35-collation.html#Root_Collation">CLDR root sort order</a>.
107
+ * <p>
108
+ * Sort ordering may be customized by providing your own set of rules. For more on
109
+ * this subject see the <a href="https://unicode-org.github.io/icu/userguide/collation/customization">
110
+ * Collation Customization</a> section of the User Guide.
111
+ * <p>
112
+ * Note, RuleBasedCollator is not to be subclassed.
113
+ * @see Collator
114
+ */
115
+ class U_I18N_API RuleBasedCollator final : public Collator {
116
+ public:
117
+ /**
118
+ * RuleBasedCollator constructor. This takes the table rules and builds a
119
+ * collation table out of them. Please see RuleBasedCollator class
120
+ * description for more details on the collation rule syntax.
121
+ * @param rules the collation rules to build the collation table from.
122
+ * @param status reporting a success or an error.
123
+ * @stable ICU 2.0
124
+ */
125
+ RuleBasedCollator(const UnicodeString& rules, UErrorCode& status);
126
+
127
+ /**
128
+ * RuleBasedCollator constructor. This takes the table rules and builds a
129
+ * collation table out of them. Please see RuleBasedCollator class
130
+ * description for more details on the collation rule syntax.
131
+ * @param rules the collation rules to build the collation table from.
132
+ * @param collationStrength strength for comparison
133
+ * @param status reporting a success or an error.
134
+ * @stable ICU 2.0
135
+ */
136
+ RuleBasedCollator(const UnicodeString& rules,
137
+ ECollationStrength collationStrength,
138
+ UErrorCode& status);
139
+
140
+ /**
141
+ * RuleBasedCollator constructor. This takes the table rules and builds a
142
+ * collation table out of them. Please see RuleBasedCollator class
143
+ * description for more details on the collation rule syntax.
144
+ * @param rules the collation rules to build the collation table from.
145
+ * @param decompositionMode the normalisation mode
146
+ * @param status reporting a success or an error.
147
+ * @stable ICU 2.0
148
+ */
149
+ RuleBasedCollator(const UnicodeString& rules,
150
+ UColAttributeValue decompositionMode,
151
+ UErrorCode& status);
152
+
153
+ /**
154
+ * RuleBasedCollator constructor. This takes the table rules and builds a
155
+ * collation table out of them. Please see RuleBasedCollator class
156
+ * description for more details on the collation rule syntax.
157
+ * @param rules the collation rules to build the collation table from.
158
+ * @param collationStrength strength for comparison
159
+ * @param decompositionMode the normalisation mode
160
+ * @param status reporting a success or an error.
161
+ * @stable ICU 2.0
162
+ */
163
+ RuleBasedCollator(const UnicodeString& rules,
164
+ ECollationStrength collationStrength,
165
+ UColAttributeValue decompositionMode,
166
+ UErrorCode& status);
167
+
168
+ #ifndef U_HIDE_INTERNAL_API
169
+ /**
170
+ * TODO: document & propose as public API
171
+ * @internal
172
+ */
173
+ RuleBasedCollator(const UnicodeString &rules,
174
+ UParseError &parseError, UnicodeString &reason,
175
+ UErrorCode &errorCode);
176
+ #endif /* U_HIDE_INTERNAL_API */
177
+
178
+ /**
179
+ * Copy constructor.
180
+ * @param other the RuleBasedCollator object to be copied
181
+ * @stable ICU 2.0
182
+ */
183
+ RuleBasedCollator(const RuleBasedCollator& other);
184
+
185
+
186
+ /** Opens a collator from a collator binary image created using
187
+ * cloneBinary. Binary image used in instantiation of the
188
+ * collator remains owned by the user and should stay around for
189
+ * the lifetime of the collator. The API also takes a base collator
190
+ * which must be the root collator.
191
+ * @param bin binary image owned by the user and required through the
192
+ * lifetime of the collator
193
+ * @param length size of the image. If negative, the API will try to
194
+ * figure out the length of the image
195
+ * @param base Base collator, for lookup of untailored characters.
196
+ * Must be the root collator, must not be nullptr.
197
+ * The base is required to be present through the lifetime of the collator.
198
+ * @param status for catching errors
199
+ * @return newly created collator
200
+ * @see cloneBinary
201
+ * @stable ICU 3.4
202
+ */
203
+ RuleBasedCollator(const uint8_t *bin, int32_t length,
204
+ const RuleBasedCollator *base,
205
+ UErrorCode &status);
206
+
207
+ /**
208
+ * Destructor.
209
+ * @stable ICU 2.0
210
+ */
211
+ virtual ~RuleBasedCollator();
212
+
213
+ /**
214
+ * Assignment operator.
215
+ * @param other other RuleBasedCollator object to copy from.
216
+ * @stable ICU 2.0
217
+ */
218
+ RuleBasedCollator& operator=(const RuleBasedCollator& other);
219
+
220
+ /**
221
+ * Returns true if argument is the same as this object.
222
+ * @param other Collator object to be compared.
223
+ * @return true if arguments is the same as this object.
224
+ * @stable ICU 2.0
225
+ */
226
+ virtual bool operator==(const Collator& other) const override;
227
+
228
+ /**
229
+ * Makes a copy of this object.
230
+ * @return a copy of this object, owned by the caller
231
+ * @stable ICU 2.0
232
+ */
233
+ virtual RuleBasedCollator* clone() const override;
234
+
235
+ /**
236
+ * Creates a collation element iterator for the source string. The caller of
237
+ * this method is responsible for the memory management of the return
238
+ * pointer.
239
+ * @param source the string over which the CollationElementIterator will
240
+ * iterate.
241
+ * @return the collation element iterator of the source string using this as
242
+ * the based Collator.
243
+ * @stable ICU 2.2
244
+ */
245
+ virtual CollationElementIterator* createCollationElementIterator(
246
+ const UnicodeString& source) const;
247
+
248
+ /**
249
+ * Creates a collation element iterator for the source. The caller of this
250
+ * method is responsible for the memory management of the returned pointer.
251
+ * @param source the CharacterIterator which produces the characters over
252
+ * which the CollationElementItgerator will iterate.
253
+ * @return the collation element iterator of the source using this as the
254
+ * based Collator.
255
+ * @stable ICU 2.2
256
+ */
257
+ virtual CollationElementIterator* createCollationElementIterator(
258
+ const CharacterIterator& source) const;
259
+
260
+ // Make deprecated versions of Collator::compare() visible.
261
+ using Collator::compare;
262
+
263
+ /**
264
+ * The comparison function compares the character data stored in two
265
+ * different strings. Returns information about whether a string is less
266
+ * than, greater than or equal to another string.
267
+ * @param source the source string to be compared with.
268
+ * @param target the string that is to be compared with the source string.
269
+ * @param status possible error code
270
+ * @return Returns an enum value. UCOL_GREATER if source is greater
271
+ * than target; UCOL_EQUAL if source is equal to target; UCOL_LESS if source is less
272
+ * than target
273
+ * @stable ICU 2.6
274
+ **/
275
+ virtual UCollationResult compare(const UnicodeString& source,
276
+ const UnicodeString& target,
277
+ UErrorCode &status) const override;
278
+
279
+ /**
280
+ * Does the same thing as compare but limits the comparison to a specified
281
+ * length
282
+ * @param source the source string to be compared with.
283
+ * @param target the string that is to be compared with the source string.
284
+ * @param length the length the comparison is limited to
285
+ * @param status possible error code
286
+ * @return Returns an enum value. UCOL_GREATER if source (up to the specified
287
+ * length) is greater than target; UCOL_EQUAL if source (up to specified
288
+ * length) is equal to target; UCOL_LESS if source (up to the specified
289
+ * length) is less than target.
290
+ * @stable ICU 2.6
291
+ */
292
+ virtual UCollationResult compare(const UnicodeString& source,
293
+ const UnicodeString& target,
294
+ int32_t length,
295
+ UErrorCode &status) const override;
296
+
297
+ /**
298
+ * The comparison function compares the character data stored in two
299
+ * different string arrays. Returns information about whether a string array
300
+ * is less than, greater than or equal to another string array.
301
+ * @param source the source string array to be compared with.
302
+ * @param sourceLength the length of the source string array. If this value
303
+ * is equal to -1, the string array is null-terminated.
304
+ * @param target the string that is to be compared with the source string.
305
+ * @param targetLength the length of the target string array. If this value
306
+ * is equal to -1, the string array is null-terminated.
307
+ * @param status possible error code
308
+ * @return Returns an enum value. UCOL_GREATER if source is greater
309
+ * than target; UCOL_EQUAL if source is equal to target; UCOL_LESS if source is less
310
+ * than target
311
+ * @stable ICU 2.6
312
+ */
313
+ virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
314
+ const char16_t* target, int32_t targetLength,
315
+ UErrorCode &status) const override;
316
+
317
+ /**
318
+ * Compares two strings using the Collator.
319
+ * Returns whether the first one compares less than/equal to/greater than
320
+ * the second one.
321
+ * This version takes UCharIterator input.
322
+ * @param sIter the first ("source") string iterator
323
+ * @param tIter the second ("target") string iterator
324
+ * @param status ICU status
325
+ * @return UCOL_LESS, UCOL_EQUAL or UCOL_GREATER
326
+ * @stable ICU 4.2
327
+ */
328
+ virtual UCollationResult compare(UCharIterator &sIter,
329
+ UCharIterator &tIter,
330
+ UErrorCode &status) const override;
331
+
332
+ /**
333
+ * Compares two UTF-8 strings using the Collator.
334
+ * Returns whether the first one compares less than/equal to/greater than
335
+ * the second one.
336
+ * This version takes UTF-8 input.
337
+ * Note that a StringPiece can be implicitly constructed
338
+ * from a std::string or a NUL-terminated const char * string.
339
+ * @param source the first UTF-8 string
340
+ * @param target the second UTF-8 string
341
+ * @param status ICU status
342
+ * @return UCOL_LESS, UCOL_EQUAL or UCOL_GREATER
343
+ * @stable ICU 51
344
+ */
345
+ virtual UCollationResult compareUTF8(const StringPiece &source,
346
+ const StringPiece &target,
347
+ UErrorCode &status) const override;
348
+
349
+ /**
350
+ * Transforms the string into a series of characters
351
+ * that can be compared with CollationKey.compare().
352
+ *
353
+ * Note that sort keys are often less efficient than simply doing comparison.
354
+ * For more details, see the ICU User Guide.
355
+ *
356
+ * @param source the source string.
357
+ * @param key the transformed key of the source string.
358
+ * @param status the error code status.
359
+ * @return the transformed key.
360
+ * @see CollationKey
361
+ * @stable ICU 2.0
362
+ */
363
+ virtual CollationKey& getCollationKey(const UnicodeString& source,
364
+ CollationKey& key,
365
+ UErrorCode& status) const override;
366
+
367
+ /**
368
+ * Transforms a specified region of the string into a series of characters
369
+ * that can be compared with CollationKey.compare.
370
+ *
371
+ * Note that sort keys are often less efficient than simply doing comparison.
372
+ * For more details, see the ICU User Guide.
373
+ *
374
+ * @param source the source string.
375
+ * @param sourceLength the length of the source string.
376
+ * @param key the transformed key of the source string.
377
+ * @param status the error code status.
378
+ * @return the transformed key.
379
+ * @see CollationKey
380
+ * @stable ICU 2.0
381
+ */
382
+ virtual CollationKey& getCollationKey(const char16_t *source,
383
+ int32_t sourceLength,
384
+ CollationKey& key,
385
+ UErrorCode& status) const override;
386
+
387
+ /**
388
+ * Generates the hash code for the rule-based collation object.
389
+ * @return the hash code.
390
+ * @stable ICU 2.0
391
+ */
392
+ virtual int32_t hashCode() const override;
393
+
394
+ #ifndef U_FORCE_HIDE_DEPRECATED_API
395
+ /**
396
+ * Gets the locale of the Collator
397
+ * @param type can be either requested, valid or actual locale. For more
398
+ * information see the definition of ULocDataLocaleType in
399
+ * uloc.h
400
+ * @param status the error code status.
401
+ * @return locale where the collation data lives. If the collator
402
+ * was instantiated from rules, locale is empty.
403
+ * @deprecated ICU 2.8 likely to change in ICU 3.0, based on feedback
404
+ */
405
+ virtual Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const override;
406
+ #endif // U_FORCE_HIDE_DEPRECATED_API
407
+
408
+ /**
409
+ * Gets the tailoring rules for this collator.
410
+ * @return the collation tailoring from which this collator was created
411
+ * @stable ICU 2.0
412
+ */
413
+ const UnicodeString& getRules() const;
414
+
415
+ /**
416
+ * Gets the version information for a Collator.
417
+ * @param info the version # information, the result will be filled in
418
+ * @stable ICU 2.0
419
+ */
420
+ virtual void getVersion(UVersionInfo info) const override;
421
+
422
+ #ifndef U_HIDE_DEPRECATED_API
423
+ /**
424
+ * Returns the maximum length of any expansion sequences that end with the
425
+ * specified comparison order.
426
+ *
427
+ * This is specific to the kind of collation element values and sequences
428
+ * returned by the CollationElementIterator.
429
+ * Call CollationElementIterator::getMaxExpansion() instead.
430
+ *
431
+ * @param order a collation order returned by CollationElementIterator::previous
432
+ * or CollationElementIterator::next.
433
+ * @return maximum size of the expansion sequences ending with the collation
434
+ * element, or 1 if the collation element does not occur at the end of
435
+ * any expansion sequence
436
+ * @see CollationElementIterator#getMaxExpansion
437
+ * @deprecated ICU 51 Use CollationElementIterator::getMaxExpansion() instead.
438
+ */
439
+ int32_t getMaxExpansion(int32_t order) const;
440
+ #endif /* U_HIDE_DEPRECATED_API */
441
+
442
+ /**
443
+ * Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This
444
+ * method is to implement a simple version of RTTI, since not all C++
445
+ * compilers support genuine RTTI. Polymorphic operator==() and clone()
446
+ * methods call this method.
447
+ * @return The class ID for this object. All objects of a given class have
448
+ * the same class ID. Objects of other classes have different class
449
+ * IDs.
450
+ * @stable ICU 2.0
451
+ */
452
+ virtual UClassID getDynamicClassID() const override;
453
+
454
+ /**
455
+ * Returns the class ID for this class. This is useful only for comparing to
456
+ * a return value from getDynamicClassID(). For example:
457
+ * <pre>
458
+ * Base* polymorphic_pointer = createPolymorphicObject();
459
+ * if (polymorphic_pointer->getDynamicClassID() ==
460
+ * Derived::getStaticClassID()) ...
461
+ * </pre>
462
+ * @return The class ID for all objects of this class.
463
+ * @stable ICU 2.0
464
+ */
465
+ static UClassID U_EXPORT2 getStaticClassID();
466
+
467
+ #ifndef U_HIDE_DEPRECATED_API
468
+ /**
469
+ * Do not use this method: The caller and the ICU library might use different heaps.
470
+ * Use cloneBinary() instead which writes to caller-provided memory.
471
+ *
472
+ * Returns a binary format of this collator.
473
+ * @param length Returns the length of the data, in bytes
474
+ * @param status the error code status.
475
+ * @return memory, owned by the caller, of size 'length' bytes.
476
+ * @deprecated ICU 52. Use cloneBinary() instead.
477
+ */
478
+ uint8_t *cloneRuleData(int32_t &length, UErrorCode &status) const;
479
+ #endif /* U_HIDE_DEPRECATED_API */
480
+
481
+ /** Creates a binary image of a collator. This binary image can be stored and
482
+ * later used to instantiate a collator using ucol_openBinary.
483
+ * This API supports preflighting.
484
+ * @param buffer a fill-in buffer to receive the binary image
485
+ * @param capacity capacity of the destination buffer
486
+ * @param status for catching errors
487
+ * @return size of the image
488
+ * @see ucol_openBinary
489
+ * @stable ICU 3.4
490
+ */
491
+ int32_t cloneBinary(uint8_t *buffer, int32_t capacity, UErrorCode &status) const;
492
+
493
+ /**
494
+ * Returns current rules. Delta defines whether full rules are returned or
495
+ * just the tailoring.
496
+ *
497
+ * getRules(void) should normally be used instead.
498
+ * See https://unicode-org.github.io/icu/userguide/collation/customization#building-on-existing-locales
499
+ * @param delta one of UCOL_TAILORING_ONLY, UCOL_FULL_RULES.
500
+ * @param buffer UnicodeString to store the result rules
501
+ * @stable ICU 2.2
502
+ * @see UCOL_FULL_RULES
503
+ */
504
+ void getRules(UColRuleOption delta, UnicodeString &buffer) const;
505
+
506
+ /**
507
+ * Universal attribute setter
508
+ * @param attr attribute type
509
+ * @param value attribute value
510
+ * @param status to indicate whether the operation went on smoothly or there were errors
511
+ * @stable ICU 2.2
512
+ */
513
+ virtual void setAttribute(UColAttribute attr, UColAttributeValue value,
514
+ UErrorCode &status) override;
515
+
516
+ /**
517
+ * Universal attribute getter.
518
+ * @param attr attribute type
519
+ * @param status to indicate whether the operation went on smoothly or there were errors
520
+ * @return attribute value
521
+ * @stable ICU 2.2
522
+ */
523
+ virtual UColAttributeValue getAttribute(UColAttribute attr,
524
+ UErrorCode &status) const override;
525
+
526
+ /**
527
+ * Sets the variable top to the top of the specified reordering group.
528
+ * The variable top determines the highest-sorting character
529
+ * which is affected by UCOL_ALTERNATE_HANDLING.
530
+ * If that attribute is set to UCOL_NON_IGNORABLE, then the variable top has no effect.
531
+ * @param group one of UCOL_REORDER_CODE_SPACE, UCOL_REORDER_CODE_PUNCTUATION,
532
+ * UCOL_REORDER_CODE_SYMBOL, UCOL_REORDER_CODE_CURRENCY;
533
+ * or UCOL_REORDER_CODE_DEFAULT to restore the default max variable group
534
+ * @param errorCode Standard ICU error code. Its input value must
535
+ * pass the U_SUCCESS() test, or else the function returns
536
+ * immediately. Check for U_FAILURE() on output or use with
537
+ * function chaining. (See User Guide for details.)
538
+ * @return *this
539
+ * @see getMaxVariable
540
+ * @stable ICU 53
541
+ */
542
+ virtual Collator &setMaxVariable(UColReorderCode group, UErrorCode &errorCode) override;
543
+
544
+ /**
545
+ * Returns the maximum reordering group whose characters are affected by UCOL_ALTERNATE_HANDLING.
546
+ * @return the maximum variable reordering group.
547
+ * @see setMaxVariable
548
+ * @stable ICU 53
549
+ */
550
+ virtual UColReorderCode getMaxVariable() const override;
551
+
552
+ #ifndef U_FORCE_HIDE_DEPRECATED_API
553
+ /**
554
+ * Sets the variable top to the primary weight of the specified string.
555
+ *
556
+ * Beginning with ICU 53, the variable top is pinned to
557
+ * the top of one of the supported reordering groups,
558
+ * and it must not be beyond the last of those groups.
559
+ * See setMaxVariable().
560
+ * @param varTop one or more (if contraction) char16_ts to which the variable top should be set
561
+ * @param len length of variable top string. If -1 it is considered to be zero terminated.
562
+ * @param status error code. If error code is set, the return value is undefined. Errors set by this function are: <br>
563
+ * U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such contraction<br>
564
+ * U_ILLEGAL_ARGUMENT_ERROR if the variable top is beyond
565
+ * the last reordering group supported by setMaxVariable()
566
+ * @return variable top primary weight
567
+ * @deprecated ICU 53 Call setMaxVariable() instead.
568
+ */
569
+ virtual uint32_t setVariableTop(const char16_t *varTop, int32_t len, UErrorCode &status) override;
570
+
571
+ /**
572
+ * Sets the variable top to the primary weight of the specified string.
573
+ *
574
+ * Beginning with ICU 53, the variable top is pinned to
575
+ * the top of one of the supported reordering groups,
576
+ * and it must not be beyond the last of those groups.
577
+ * See setMaxVariable().
578
+ * @param varTop a UnicodeString size 1 or more (if contraction) of char16_ts to which the variable top should be set
579
+ * @param status error code. If error code is set, the return value is undefined. Errors set by this function are: <br>
580
+ * U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such contraction<br>
581
+ * U_ILLEGAL_ARGUMENT_ERROR if the variable top is beyond
582
+ * the last reordering group supported by setMaxVariable()
583
+ * @return variable top primary weight
584
+ * @deprecated ICU 53 Call setMaxVariable() instead.
585
+ */
586
+ virtual uint32_t setVariableTop(const UnicodeString &varTop, UErrorCode &status) override;
587
+
588
+ /**
589
+ * Sets the variable top to the specified primary weight.
590
+ *
591
+ * Beginning with ICU 53, the variable top is pinned to
592
+ * the top of one of the supported reordering groups,
593
+ * and it must not be beyond the last of those groups.
594
+ * See setMaxVariable().
595
+ * @param varTop primary weight, as returned by setVariableTop or ucol_getVariableTop
596
+ * @param status error code
597
+ * @deprecated ICU 53 Call setMaxVariable() instead.
598
+ */
599
+ virtual void setVariableTop(uint32_t varTop, UErrorCode &status) override;
600
+ #endif // U_FORCE_HIDE_DEPRECATED_API
601
+
602
+ /**
603
+ * Gets the variable top value of a Collator.
604
+ * @param status error code (not changed by function). If error code is set, the return value is undefined.
605
+ * @return the variable top primary weight
606
+ * @see getMaxVariable
607
+ * @stable ICU 2.0
608
+ */
609
+ virtual uint32_t getVariableTop(UErrorCode &status) const override;
610
+
611
+ /**
612
+ * Get a UnicodeSet that contains all the characters and sequences tailored in
613
+ * this collator.
614
+ * @param status error code of the operation
615
+ * @return a pointer to a UnicodeSet object containing all the
616
+ * code points and sequences that may sort differently than
617
+ * in the root collator. The object must be disposed of by using delete
618
+ * @stable ICU 2.4
619
+ */
620
+ virtual UnicodeSet *getTailoredSet(UErrorCode &status) const override;
621
+
622
+ /**
623
+ * Get the sort key as an array of bytes from a UnicodeString.
624
+ *
625
+ * Note that sort keys are often less efficient than simply doing comparison.
626
+ * For more details, see the ICU User Guide.
627
+ *
628
+ * @param source string to be processed.
629
+ * @param result buffer to store result in. If nullptr, number of bytes needed
630
+ * will be returned.
631
+ * @param resultLength length of the result buffer. If if not enough the
632
+ * buffer will be filled to capacity.
633
+ * @return Number of bytes needed for storing the sort key
634
+ * @stable ICU 2.0
635
+ */
636
+ virtual int32_t getSortKey(const UnicodeString& source, uint8_t *result,
637
+ int32_t resultLength) const override;
638
+
639
+ /**
640
+ * Get the sort key as an array of bytes from a char16_t buffer.
641
+ *
642
+ * Note that sort keys are often less efficient than simply doing comparison.
643
+ * For more details, see the ICU User Guide.
644
+ *
645
+ * @param source string to be processed.
646
+ * @param sourceLength length of string to be processed. If -1, the string
647
+ * is 0 terminated and length will be decided by the function.
648
+ * @param result buffer to store result in. If nullptr, number of bytes needed
649
+ * will be returned.
650
+ * @param resultLength length of the result buffer. If if not enough the
651
+ * buffer will be filled to capacity.
652
+ * @return Number of bytes needed for storing the sort key
653
+ * @stable ICU 2.2
654
+ */
655
+ virtual int32_t getSortKey(const char16_t *source, int32_t sourceLength,
656
+ uint8_t *result, int32_t resultLength) const override;
657
+
658
+ /**
659
+ * Retrieves the reordering codes for this collator.
660
+ * @param dest The array to fill with the script ordering.
661
+ * @param destCapacity The length of dest. If it is 0, then dest may be nullptr and the function
662
+ * will only return the length of the result without writing any codes (pre-flighting).
663
+ * @param status A reference to an error code value, which must not indicate
664
+ * a failure before the function call.
665
+ * @return The length of the script ordering array.
666
+ * @see ucol_setReorderCodes
667
+ * @see Collator#getEquivalentReorderCodes
668
+ * @see Collator#setReorderCodes
669
+ * @stable ICU 4.8
670
+ */
671
+ virtual int32_t getReorderCodes(int32_t *dest,
672
+ int32_t destCapacity,
673
+ UErrorCode& status) const override;
674
+
675
+ /**
676
+ * Sets the ordering of scripts for this collator.
677
+ * @param reorderCodes An array of script codes in the new order. This can be nullptr if the
678
+ * length is also set to 0. An empty array will clear any reordering codes on the collator.
679
+ * @param reorderCodesLength The length of reorderCodes.
680
+ * @param status error code
681
+ * @see ucol_setReorderCodes
682
+ * @see Collator#getReorderCodes
683
+ * @see Collator#getEquivalentReorderCodes
684
+ * @stable ICU 4.8
685
+ */
686
+ virtual void setReorderCodes(const int32_t* reorderCodes,
687
+ int32_t reorderCodesLength,
688
+ UErrorCode& status) override;
689
+
690
+ /**
691
+ * Implements ucol_strcollUTF8().
692
+ * @internal
693
+ */
694
+ virtual UCollationResult internalCompareUTF8(
695
+ const char *left, int32_t leftLength,
696
+ const char *right, int32_t rightLength,
697
+ UErrorCode &errorCode) const override;
698
+
699
+ /** Get the short definition string for a collator. This internal API harvests the collator's
700
+ * locale and the attribute set and produces a string that can be used for opening
701
+ * a collator with the same attributes using the ucol_openFromShortString API.
702
+ * This string will be normalized.
703
+ * The structure and the syntax of the string is defined in the "Naming collators"
704
+ * section of the users guide:
705
+ * https://unicode-org.github.io/icu/userguide/collation/concepts#collator-naming-scheme
706
+ * This function supports preflighting.
707
+ *
708
+ * This is internal, and intended to be used with delegate converters.
709
+ *
710
+ * @param locale a locale that will appear as a collators locale in the resulting
711
+ * short string definition. If nullptr, the locale will be harvested
712
+ * from the collator.
713
+ * @param buffer space to hold the resulting string
714
+ * @param capacity capacity of the buffer
715
+ * @param status for returning errors. All the preflighting errors are featured
716
+ * @return length of the resulting string
717
+ * @see ucol_openFromShortString
718
+ * @see ucol_normalizeShortDefinitionString
719
+ * @see ucol_getShortDefinitionString
720
+ * @internal
721
+ */
722
+ virtual int32_t internalGetShortDefinitionString(const char *locale,
723
+ char *buffer,
724
+ int32_t capacity,
725
+ UErrorCode &status) const override;
726
+
727
+ /**
728
+ * Implements ucol_nextSortKeyPart().
729
+ * @internal
730
+ */
731
+ virtual int32_t internalNextSortKeyPart(
732
+ UCharIterator *iter, uint32_t state[2],
733
+ uint8_t *dest, int32_t count, UErrorCode &errorCode) const override;
734
+
735
+ // Do not enclose the default constructor with #ifndef U_HIDE_INTERNAL_API
736
+ /**
737
+ * Only for use in ucol_openRules().
738
+ * @internal
739
+ */
740
+ RuleBasedCollator();
741
+
742
+ #ifndef U_HIDE_INTERNAL_API
743
+ /**
744
+ * Implements ucol_getLocaleByType().
745
+ * Needed because the lifetime of the locale ID string must match that of the collator.
746
+ * getLocale() returns a copy of a Locale, with minimal lifetime in a C wrapper.
747
+ * @internal
748
+ */
749
+ const char *internalGetLocaleID(ULocDataLocaleType type, UErrorCode &errorCode) const;
750
+
751
+ /**
752
+ * Implements ucol_getContractionsAndExpansions().
753
+ * Gets this collator's sets of contraction strings and/or
754
+ * characters and strings that map to multiple collation elements (expansions).
755
+ * If addPrefixes is true, then contractions that are expressed as
756
+ * prefix/pre-context rules are included.
757
+ * @param contractions if not nullptr, the set to hold the contractions
758
+ * @param expansions if not nullptr, the set to hold the expansions
759
+ * @param addPrefixes include prefix contextual mappings
760
+ * @param errorCode in/out ICU error code
761
+ * @internal
762
+ */
763
+ void internalGetContractionsAndExpansions(
764
+ UnicodeSet *contractions, UnicodeSet *expansions,
765
+ UBool addPrefixes, UErrorCode &errorCode) const;
766
+
767
+ /**
768
+ * Adds the contractions that start with character c to the set.
769
+ * Ignores prefixes. Used by AlphabeticIndex.
770
+ * @internal
771
+ */
772
+ void internalAddContractions(UChar32 c, UnicodeSet &set, UErrorCode &errorCode) const;
773
+
774
+ /**
775
+ * Implements from-rule constructors, and ucol_openRules().
776
+ * @internal
777
+ */
778
+ void internalBuildTailoring(
779
+ const UnicodeString &rules,
780
+ int32_t strength,
781
+ UColAttributeValue decompositionMode,
782
+ UParseError *outParseError, UnicodeString *outReason,
783
+ UErrorCode &errorCode);
784
+
785
+ /** @internal */
786
+ static inline RuleBasedCollator *rbcFromUCollator(UCollator *uc) {
787
+ return dynamic_cast<RuleBasedCollator *>(fromUCollator(uc));
788
+ }
789
+ /** @internal */
790
+ static inline const RuleBasedCollator *rbcFromUCollator(const UCollator *uc) {
791
+ return dynamic_cast<const RuleBasedCollator *>(fromUCollator(uc));
792
+ }
793
+
794
+ /**
795
+ * Appends the CEs for the string to the vector.
796
+ * @internal for tests & tools
797
+ */
798
+ void internalGetCEs(const UnicodeString &str, UVector64 &ces, UErrorCode &errorCode) const;
799
+ #endif // U_HIDE_INTERNAL_API
800
+
801
+ protected:
802
+ /**
803
+ * Used internally by registration to define the requested and valid locales.
804
+ * @param requestedLocale the requested locale
805
+ * @param validLocale the valid locale
806
+ * @param actualLocale the actual locale
807
+ * @internal
808
+ */
809
+ virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& actualLocale) override;
810
+
811
+ private:
812
+ friend class CollationElementIterator;
813
+ friend class Collator;
814
+
815
+ RuleBasedCollator(const CollationCacheEntry *entry);
816
+
817
+ /**
818
+ * Enumeration of attributes that are relevant for short definition strings
819
+ * (e.g., ucol_getShortDefinitionString()).
820
+ * Effectively extends UColAttribute.
821
+ */
822
+ enum Attributes {
823
+ ATTR_VARIABLE_TOP = UCOL_ATTRIBUTE_COUNT,
824
+ ATTR_LIMIT
825
+ };
826
+
827
+ void adoptTailoring(CollationTailoring *t, UErrorCode &errorCode);
828
+
829
+ // Both lengths must be <0 or else both must be >=0.
830
+ UCollationResult doCompare(const char16_t *left, int32_t leftLength,
831
+ const char16_t *right, int32_t rightLength,
832
+ UErrorCode &errorCode) const;
833
+ UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
834
+ const uint8_t *right, int32_t rightLength,
835
+ UErrorCode &errorCode) const;
836
+
837
+ void writeSortKey(const char16_t *s, int32_t length,
838
+ SortKeyByteSink &sink, UErrorCode &errorCode) const;
839
+
840
+ void writeIdenticalLevel(const char16_t *s, const char16_t *limit,
841
+ SortKeyByteSink &sink, UErrorCode &errorCode) const;
842
+
843
+ const CollationSettings &getDefaultSettings() const;
844
+
845
+ void setAttributeDefault(int32_t attribute) {
846
+ explicitlySetAttributes &= ~(static_cast<uint32_t>(1) << attribute);
847
+ }
848
+ void setAttributeExplicitly(int32_t attribute) {
849
+ explicitlySetAttributes |= static_cast<uint32_t>(1) << attribute;
850
+ }
851
+ UBool attributeHasBeenSetExplicitly(int32_t attribute) const {
852
+ // assert(0 <= attribute < ATTR_LIMIT);
853
+ return (explicitlySetAttributes & (static_cast<uint32_t>(1) << attribute)) != 0;
854
+ }
855
+
856
+ /**
857
+ * Tests whether a character is "unsafe" for use as a collation starting point.
858
+ *
859
+ * @param c code point or code unit
860
+ * @return true if c is unsafe
861
+ * @see CollationElementIterator#setOffset(int)
862
+ */
863
+ UBool isUnsafe(UChar32 c) const;
864
+
865
+ static void U_CALLCONV computeMaxExpansions(const CollationTailoring *t, UErrorCode &errorCode);
866
+ UBool initMaxExpansions(UErrorCode &errorCode) const;
867
+
868
+ void setFastLatinOptions(CollationSettings &ownedSettings) const;
869
+
870
+ const CollationData *data;
871
+ const CollationSettings *settings; // reference-counted
872
+ const CollationTailoring *tailoring; // alias of cacheEntry->tailoring
873
+ const CollationCacheEntry *cacheEntry; // reference-counted
874
+ Locale validLocale;
875
+ uint32_t explicitlySetAttributes;
876
+
877
+ UBool actualLocaleIsSameAsValid;
878
+ };
879
+
880
+ U_NAMESPACE_END
881
+
882
+ #endif // !UCONFIG_NO_COLLATION
883
+
884
+ #endif /* U_SHOW_CPLUSPLUS_API */
885
+
886
+ #endif // TBLCOLL_H