@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,902 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ ***************************************************************************
5
+ * Copyright (C) 1999-2016 International Business Machines Corporation *
6
+ * and others. All rights reserved. *
7
+ ***************************************************************************
8
+
9
+ **********************************************************************
10
+ * Date Name Description
11
+ * 10/22/99 alan Creation.
12
+ * 11/11/99 rgillam Complete port from Java.
13
+ **********************************************************************
14
+ */
15
+
16
+ #ifndef RBBI_H
17
+ #define RBBI_H
18
+
19
+ #include <_foundation_unicode/utypes.h>
20
+
21
+ #if U_SHOW_CPLUSPLUS_API
22
+
23
+ /**
24
+ * \file
25
+ * \brief C++ API: Rule Based Break Iterator
26
+ */
27
+
28
+ #if !UCONFIG_NO_BREAK_ITERATION
29
+
30
+ #include <_foundation_unicode/brkiter.h>
31
+ #include <_foundation_unicode/udata.h>
32
+ #include <_foundation_unicode/parseerr.h>
33
+ #include <_foundation_unicode/schriter.h>
34
+ #if APPLE_ICU_CHANGES
35
+ // rdar://35946337 (Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough)
36
+ #include <_foundation_unicode/urbtok.h>
37
+ #endif // APPLE_ICU_CHANGES
38
+
39
+ struct UCPTrie;
40
+
41
+ U_NAMESPACE_BEGIN
42
+
43
+ /** @internal */
44
+ class LanguageBreakEngine;
45
+ struct RBBIDataHeader;
46
+ class RBBIDataWrapper;
47
+ class UnhandledEngine;
48
+ class UStack;
49
+
50
+
51
+ #ifndef U_HIDE_INTERNAL_API
52
+ /**
53
+ * The ExternalBreakEngine class define an abstract interface for the host environment
54
+ * to provide a low level facility to break text for unicode text in script that the text boundary
55
+ * cannot be handled by upper level rule based logic, for example, for Chinese and Japanese
56
+ * word breaking, Thai, Khmer, Burmese, Lao and other Southeast Asian scripts.
57
+ * The host environment implement one or more subclass of ExternalBreakEngine and
58
+ * register them in the initialization time by calling
59
+ * RuleBasedBreakIterator::registerExternalBreakEngine(). ICU adopt and own the engine and will
60
+ * delete the registered external engine in proper time during the clean up
61
+ * event.
62
+ * @internal ICU 74 technology preview
63
+ */
64
+ class ExternalBreakEngine : public UObject {
65
+ public:
66
+ /**
67
+ * destructor
68
+ * @internal ICU 74 technology preview
69
+ */
70
+ virtual ~ExternalBreakEngine() {}
71
+
72
+ /**
73
+ * <p>Indicate whether this engine handles a particular character when
74
+ * the RuleBasedBreakIterator is used for a particular locale. This method is used
75
+ * by the RuleBasedBreakIterator to find a break engine.</p>
76
+ * @param c A character which begins a run that the engine might handle.
77
+ * @param locale The locale.
78
+ * @return true if this engine handles the particular character for that locale.
79
+ * @internal ICU 74 technology preview
80
+ */
81
+ virtual bool isFor(UChar32 c, const char* locale) const = 0;
82
+
83
+ /**
84
+ * <p>Indicate whether this engine handles a particular character.This method is
85
+ * used by the RuleBasedBreakIterator after it already find a break engine to see which
86
+ * characters after the first one can be handled by this break engine.</p>
87
+ * @param c A character that the engine might handle.
88
+ * @return true if this engine handles the particular character.
89
+ * @internal ICU 74 technology preview
90
+ */
91
+ virtual bool handles(UChar32 c) const = 0;
92
+
93
+ /**
94
+ * <p>Divide up a range of text handled by this break engine.</p>
95
+ *
96
+ * @param text A UText representing the text
97
+ * @param start The start of the range of known characters
98
+ * @param end The end of the range of known characters
99
+ * @param foundBreaks Output of C array of int32_t break positions, or
100
+ * nullptr
101
+ * @param foundBreaksCapacity The capacity of foundBreaks
102
+ * @param status Information on any errors encountered.
103
+ * @return The number of breaks found
104
+ * @internal ICU 74 technology preview
105
+ */
106
+ virtual int32_t fillBreaks(UText* text, int32_t start, int32_t end,
107
+ int32_t* foundBreaks, int32_t foundBreaksCapacity,
108
+ UErrorCode& status) const = 0;
109
+ };
110
+ #endif /* U_HIDE_INTERNAL_API */
111
+
112
+
113
+ /**
114
+ *
115
+ * A subclass of BreakIterator whose behavior is specified using a list of rules.
116
+ * <p>Instances of this class are most commonly created by the factory methods of
117
+ * BreakIterator::createWordInstance(), BreakIterator::createLineInstance(), etc.,
118
+ * and then used via the abstract API in class BreakIterator</p>
119
+ *
120
+ * <p>See the ICU User Guide for information on Break Iterator Rules.</p>
121
+ *
122
+ * <p>This class is not intended to be subclassed.</p>
123
+ */
124
+ class U_COMMON_API RuleBasedBreakIterator /*final*/ : public BreakIterator {
125
+
126
+ private:
127
+ /**
128
+ * The UText through which this BreakIterator accesses the text
129
+ * @internal (private)
130
+ */
131
+ UText fText = UTEXT_INITIALIZER;
132
+
133
+ #ifndef U_HIDE_INTERNAL_API
134
+ public:
135
+ #endif /* U_HIDE_INTERNAL_API */
136
+ /**
137
+ * The rule data for this BreakIterator instance.
138
+ * Not for general use; Public only for testing purposes.
139
+ * @internal
140
+ */
141
+ RBBIDataWrapper *fData = nullptr;
142
+
143
+ private:
144
+ /**
145
+ * The saved error code associated with this break iterator.
146
+ * This is the value to be returned by copyErrorTo().
147
+ */
148
+ UErrorCode fErrorCode = U_ZERO_ERROR;
149
+
150
+ #if APPLE_ICU_CHANGES
151
+ // rdar://35946337 Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough
152
+ /**
153
+ * Character categories for the Latin1 subset of Unicode
154
+ * @internal Apple-only
155
+ */
156
+ uint16_t *fLatin1Cat;
157
+
158
+ // rdar://51193810 for line break, remap locale delimiters that are QU to OP/CL as appropriate
159
+ /**
160
+ * Character category overrides
161
+ * @internal Apple-only
162
+ */
163
+ typedef struct {
164
+ UChar32 c;
165
+ uint16_t category;
166
+ } CategoryOverride;
167
+ CategoryOverride *fCatOverrides;
168
+ int32_t fCatOverrideCount;
169
+ #endif // APPLE_ICU_CHANGES
170
+
171
+ /**
172
+ * The current position of the iterator. Pinned, 0 < fPosition <= text.length.
173
+ * Never has the value UBRK_DONE (-1).
174
+ */
175
+ int32_t fPosition = 0;
176
+
177
+ /**
178
+ * TODO:
179
+ */
180
+ int32_t fRuleStatusIndex = 0;
181
+
182
+ /**
183
+ * Cache of previously determined boundary positions.
184
+ */
185
+ class BreakCache;
186
+ BreakCache *fBreakCache = nullptr;
187
+
188
+ /**
189
+ * Cache of boundary positions within a region of text that has been
190
+ * sub-divided by dictionary based breaking.
191
+ */
192
+ class DictionaryCache;
193
+ DictionaryCache *fDictionaryCache = nullptr;
194
+
195
+ /**
196
+ *
197
+ * If present, UStack of LanguageBreakEngine objects that might handle
198
+ * dictionary characters. Searched from top to bottom to find an object to
199
+ * handle a given character.
200
+ * @internal (private)
201
+ */
202
+ UStack *fLanguageBreakEngines = nullptr;
203
+
204
+ /**
205
+ *
206
+ * If present, the special LanguageBreakEngine used for handling
207
+ * characters that are in the dictionary set, but not handled by any
208
+ * LanguageBreakEngine.
209
+ * @internal (private)
210
+ */
211
+ UnhandledEngine *fUnhandledBreakEngine = nullptr;
212
+
213
+ /**
214
+ * Counter for the number of characters encountered with the "dictionary"
215
+ * flag set.
216
+ * @internal (private)
217
+ */
218
+ uint32_t fDictionaryCharCount = 0;
219
+
220
+ /**
221
+ * A character iterator that refers to the same text as the UText, above.
222
+ * Only included for compatibility with old API, which was based on CharacterIterators.
223
+ * Value may be adopted from outside, or one of fSCharIter or fDCharIter, below.
224
+ */
225
+ CharacterIterator *fCharIter = &fSCharIter;
226
+
227
+ /**
228
+ * When the input text is provided by a UnicodeString, this will point to
229
+ * a characterIterator that wraps that data. Needed only for the
230
+ * implementation of getText(), a backwards compatibility issue.
231
+ */
232
+ UCharCharacterIterator fSCharIter {u"", 0};
233
+
234
+ /**
235
+ * True when iteration has run off the end, and iterator functions should return UBRK_DONE.
236
+ */
237
+ bool fDone = false;
238
+
239
+ /**
240
+ * Array of look-ahead tentative results.
241
+ */
242
+ int32_t *fLookAheadMatches = nullptr;
243
+
244
+ /**
245
+ * A flag to indicate if phrase based breaking is enabled.
246
+ */
247
+ UBool fIsPhraseBreaking = false;
248
+
249
+ //=======================================================================
250
+ // constructors
251
+ //=======================================================================
252
+
253
+ #if APPLE_ICU_CHANGES
254
+ // rdar://35946337 Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough
255
+ // The following is intended to be private in open-source.
256
+ // However Apple needs it to be public for urbtok.cpp
257
+ public:
258
+ #endif // APPLE_ICU_CHANGES
259
+ /**
260
+ * Constructor from a flattened set of RBBI data in malloced memory.
261
+ * RulesBasedBreakIterators built from a custom set of rules
262
+ * are created via this constructor; the rules are compiled
263
+ * into memory, then the break iterator is constructed here.
264
+ *
265
+ * The break iterator adopts the memory, and will
266
+ * free it when done.
267
+ * @internal (private)
268
+ */
269
+ RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
270
+ #if APPLE_ICU_CHANGES
271
+ // rdar://35946337 Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough
272
+ // resume private status
273
+ private:
274
+ #endif // APPLE_ICU_CHANGES
275
+
276
+ /**
277
+ * This constructor uses the udata interface to create a BreakIterator
278
+ * whose internal tables live in a memory-mapped file. "image" is an
279
+ * ICU UDataMemory handle for the pre-compiled break iterator tables.
280
+ * @param image handle to the memory image for the break iterator data.
281
+ * Ownership of the UDataMemory handle passes to the Break Iterator,
282
+ * which will be responsible for closing it when it is no longer needed.
283
+ * @param status Information on any errors encountered.
284
+ * @param isPhraseBreaking true if phrase based breaking is required, otherwise false.
285
+ * @see udata_open
286
+ * @see #getBinaryRules
287
+ * @internal (private)
288
+ */
289
+ RuleBasedBreakIterator(UDataMemory* image, UBool isPhraseBreaking, UErrorCode &status);
290
+
291
+ /** @internal */
292
+ friend class RBBIRuleBuilder;
293
+ /** @internal */
294
+ friend class BreakIterator;
295
+
296
+ /**
297
+ * Default constructor with an error code parameter.
298
+ * Aside from error handling, otherwise identical to the default constructor.
299
+ * Internally, handles common initialization for other constructors.
300
+ * @internal (private)
301
+ */
302
+ RuleBasedBreakIterator(UErrorCode *status);
303
+
304
+ public:
305
+
306
+ /** Default constructor. Creates an empty shell of an iterator, with no
307
+ * rules or text to iterate over. Object can subsequently be assigned to,
308
+ * but is otherwise unusable.
309
+ * @stable ICU 2.2
310
+ */
311
+ RuleBasedBreakIterator();
312
+
313
+ /**
314
+ * Copy constructor. Will produce a break iterator with the same behavior,
315
+ * and which iterates over the same text, as the one passed in.
316
+ * @param that The RuleBasedBreakIterator passed to be copied
317
+ * @stable ICU 2.0
318
+ */
319
+ RuleBasedBreakIterator(const RuleBasedBreakIterator& that);
320
+
321
+ /**
322
+ * Construct a RuleBasedBreakIterator from a set of rules supplied as a string.
323
+ * @param rules The break rules to be used.
324
+ * @param parseError In the event of a syntax error in the rules, provides the location
325
+ * within the rules of the problem.
326
+ * @param status Information on any errors encountered.
327
+ * @stable ICU 2.2
328
+ */
329
+ RuleBasedBreakIterator( const UnicodeString &rules,
330
+ UParseError &parseError,
331
+ UErrorCode &status);
332
+
333
+ /**
334
+ * Construct a RuleBasedBreakIterator from a set of precompiled binary rules.
335
+ * Binary rules are obtained from RulesBasedBreakIterator::getBinaryRules().
336
+ * Construction of a break iterator in this way is substantially faster than
337
+ * construction from source rules.
338
+ *
339
+ * Ownership of the storage containing the compiled rules remains with the
340
+ * caller of this function. The compiled rules must not be modified or
341
+ * deleted during the life of the break iterator.
342
+ *
343
+ * The compiled rules are not compatible across different major versions of ICU.
344
+ * The compiled rules are compatible only between machines with the same
345
+ * byte ordering (little or big endian) and the same base character set family
346
+ * (ASCII or EBCDIC).
347
+ *
348
+ * @see #getBinaryRules
349
+ * @param compiledRules A pointer to the compiled break rules to be used.
350
+ * @param ruleLength The length of the compiled break rules, in bytes. This
351
+ * corresponds to the length value produced by getBinaryRules().
352
+ * @param status Information on any errors encountered, including invalid
353
+ * binary rules.
354
+ * @stable ICU 4.8
355
+ */
356
+ RuleBasedBreakIterator(const uint8_t *compiledRules,
357
+ uint32_t ruleLength,
358
+ UErrorCode &status);
359
+
360
+ /**
361
+ * This constructor uses the udata interface to create a BreakIterator
362
+ * whose internal tables live in a memory-mapped file. "image" is an
363
+ * ICU UDataMemory handle for the pre-compiled break iterator tables.
364
+ * @param image handle to the memory image for the break iterator data.
365
+ * Ownership of the UDataMemory handle passes to the Break Iterator,
366
+ * which will be responsible for closing it when it is no longer needed.
367
+ * @param status Information on any errors encountered.
368
+ * @see udata_open
369
+ * @see #getBinaryRules
370
+ * @stable ICU 2.8
371
+ */
372
+ RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
373
+
374
+ /**
375
+ * Destructor
376
+ * @stable ICU 2.0
377
+ */
378
+ virtual ~RuleBasedBreakIterator();
379
+
380
+ /**
381
+ * Assignment operator. Sets this iterator to have the same behavior,
382
+ * and iterate over the same text, as the one passed in.
383
+ * @param that The RuleBasedBreakItertor passed in
384
+ * @return the newly created RuleBasedBreakIterator
385
+ * @stable ICU 2.0
386
+ */
387
+ RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that);
388
+
389
+ /**
390
+ * Equality operator. Returns true if both BreakIterators are of the
391
+ * same class, have the same behavior, and iterate over the same text.
392
+ * @param that The BreakIterator to be compared for equality
393
+ * @return true if both BreakIterators are of the
394
+ * same class, have the same behavior, and iterate over the same text.
395
+ * @stable ICU 2.0
396
+ */
397
+ virtual bool operator==(const BreakIterator& that) const override;
398
+
399
+ /**
400
+ * Not-equal operator. If operator== returns true, this returns false,
401
+ * and vice versa.
402
+ * @param that The BreakIterator to be compared for inequality
403
+ * @return true if both BreakIterators are not same.
404
+ * @stable ICU 2.0
405
+ */
406
+ inline bool operator!=(const BreakIterator& that) const {
407
+ return !operator==(that);
408
+ }
409
+
410
+ /**
411
+ * Returns a newly-constructed RuleBasedBreakIterator with the same
412
+ * behavior, and iterating over the same text, as this one.
413
+ * Differs from the copy constructor in that it is polymorphic, and
414
+ * will correctly clone (copy) a derived class.
415
+ * clone() is thread safe. Multiple threads may simultaneously
416
+ * clone the same source break iterator.
417
+ * @return a newly-constructed RuleBasedBreakIterator
418
+ * @stable ICU 2.0
419
+ */
420
+ virtual RuleBasedBreakIterator* clone() const override;
421
+
422
+ /**
423
+ * Compute a hash code for this BreakIterator
424
+ * @return A hash code
425
+ * @stable ICU 2.0
426
+ */
427
+ virtual int32_t hashCode() const;
428
+
429
+ /**
430
+ * Returns the description used to create this iterator
431
+ * @return the description used to create this iterator
432
+ * @stable ICU 2.0
433
+ */
434
+ virtual const UnicodeString& getRules() const;
435
+
436
+ //=======================================================================
437
+ // BreakIterator overrides
438
+ //=======================================================================
439
+
440
+ /**
441
+ * <p>
442
+ * Return a CharacterIterator over the text being analyzed.
443
+ * The returned character iterator is owned by the break iterator, and must
444
+ * not be deleted by the caller. Repeated calls to this function may
445
+ * return the same CharacterIterator.
446
+ * </p>
447
+ * <p>
448
+ * The returned character iterator must not be used concurrently with
449
+ * the break iterator. If concurrent operation is needed, clone the
450
+ * returned character iterator first and operate on the clone.
451
+ * </p>
452
+ * <p>
453
+ * When the break iterator is operating on text supplied via a UText,
454
+ * this function will fail, returning a CharacterIterator containing no text.
455
+ * The function getUText() provides similar functionality,
456
+ * is reliable, and is more efficient.
457
+ * </p>
458
+ *
459
+ * TODO: deprecate this function?
460
+ *
461
+ * @return An iterator over the text being analyzed.
462
+ * @stable ICU 2.0
463
+ */
464
+ virtual CharacterIterator& getText() const override;
465
+
466
+ /**
467
+ * Get a UText for the text being analyzed.
468
+ * The returned UText is a shallow clone of the UText used internally
469
+ * by the break iterator implementation. It can safely be used to
470
+ * access the text without impacting any break iterator operations,
471
+ * but the underlying text itself must not be altered.
472
+ *
473
+ * @param fillIn A UText to be filled in. If nullptr, a new UText will be
474
+ * allocated to hold the result.
475
+ * @param status receives any error codes.
476
+ * @return The current UText for this break iterator. If an input
477
+ * UText was provided, it will always be returned.
478
+ * @stable ICU 3.4
479
+ */
480
+ virtual UText *getUText(UText *fillIn, UErrorCode &status) const override;
481
+
482
+ /**
483
+ * Set the iterator to analyze a new piece of text. This function resets
484
+ * the current iteration position to the beginning of the text.
485
+ * @param newText An iterator over the text to analyze. The BreakIterator
486
+ * takes ownership of the character iterator. The caller MUST NOT delete it!
487
+ * @stable ICU 2.0
488
+ */
489
+ virtual void adoptText(CharacterIterator* newText) override;
490
+
491
+ /**
492
+ * Set the iterator to analyze a new piece of text. This function resets
493
+ * the current iteration position to the beginning of the text.
494
+ *
495
+ * The BreakIterator will retain a reference to the supplied string.
496
+ * The caller must not modify or delete the text while the BreakIterator
497
+ * retains the reference.
498
+ *
499
+ * @param newText The text to analyze.
500
+ * @stable ICU 2.0
501
+ */
502
+ virtual void setText(const UnicodeString& newText) override;
503
+
504
+ /**
505
+ * Reset the break iterator to operate over the text represented by
506
+ * the UText. The iterator position is reset to the start.
507
+ *
508
+ * This function makes a shallow clone of the supplied UText. This means
509
+ * that the caller is free to immediately close or otherwise reuse the
510
+ * Utext that was passed as a parameter, but that the underlying text itself
511
+ * must not be altered while being referenced by the break iterator.
512
+ *
513
+ * @param text The UText used to change the text.
514
+ * @param status Receives any error codes.
515
+ * @stable ICU 3.4
516
+ */
517
+ virtual void setText(UText *text, UErrorCode &status) override;
518
+
519
+ /**
520
+ * Sets the current iteration position to the beginning of the text, position zero.
521
+ * @return The offset of the beginning of the text, zero.
522
+ * @stable ICU 2.0
523
+ */
524
+ virtual int32_t first() override;
525
+
526
+ /**
527
+ * Sets the current iteration position to the end of the text.
528
+ * @return The text's past-the-end offset.
529
+ * @stable ICU 2.0
530
+ */
531
+ virtual int32_t last() override;
532
+
533
+ /**
534
+ * Advances the iterator either forward or backward the specified number of steps.
535
+ * Negative values move backward, and positive values move forward. This is
536
+ * equivalent to repeatedly calling next() or previous().
537
+ * @param n The number of steps to move. The sign indicates the direction
538
+ * (negative is backwards, and positive is forwards).
539
+ * @return The character offset of the boundary position n boundaries away from
540
+ * the current one.
541
+ * @stable ICU 2.0
542
+ */
543
+ virtual int32_t next(int32_t n) override;
544
+
545
+ /**
546
+ * Advances the iterator to the next boundary position.
547
+ * @return The position of the first boundary after this one.
548
+ * @stable ICU 2.0
549
+ */
550
+ virtual int32_t next() override;
551
+
552
+ /**
553
+ * Moves the iterator backwards, to the last boundary preceding this one.
554
+ * @return The position of the last boundary position preceding this one.
555
+ * @stable ICU 2.0
556
+ */
557
+ virtual int32_t previous() override;
558
+
559
+ /**
560
+ * Sets the iterator to refer to the first boundary position following
561
+ * the specified position.
562
+ * @param offset The position from which to begin searching for a break position.
563
+ * @return The position of the first break after the current position.
564
+ * @stable ICU 2.0
565
+ */
566
+ virtual int32_t following(int32_t offset) override;
567
+
568
+ /**
569
+ * Sets the iterator to refer to the last boundary position before the
570
+ * specified position.
571
+ * @param offset The position to begin searching for a break from.
572
+ * @return The position of the last boundary before the starting position.
573
+ * @stable ICU 2.0
574
+ */
575
+ virtual int32_t preceding(int32_t offset) override;
576
+
577
+ /**
578
+ * Returns true if the specified position is a boundary position. As a side
579
+ * effect, leaves the iterator pointing to the first boundary position at
580
+ * or after "offset".
581
+ * @param offset the offset to check.
582
+ * @return True if "offset" is a boundary position.
583
+ * @stable ICU 2.0
584
+ */
585
+ virtual UBool isBoundary(int32_t offset) override;
586
+
587
+ /**
588
+ * Returns the current iteration position. Note that UBRK_DONE is never
589
+ * returned from this function; if iteration has run to the end of a
590
+ * string, current() will return the length of the string while
591
+ * next() will return UBRK_DONE).
592
+ * @return The current iteration position.
593
+ * @stable ICU 2.0
594
+ */
595
+ virtual int32_t current() const override;
596
+
597
+ /**
598
+ * Return the status tag from the break rule that determined the boundary at
599
+ * the current iteration position. For break rules that do not specify a
600
+ * status, a default value of 0 is returned. If more than one break rule
601
+ * would cause a boundary to be located at some position in the text,
602
+ * the numerically largest of the applicable status values is returned.
603
+ * <p>
604
+ * Of the standard types of ICU break iterators, only word break and
605
+ * line break provide status values. The values are defined in
606
+ * the header file ubrk.h. For Word breaks, the status allows distinguishing between words
607
+ * that contain alphabetic letters, "words" that appear to be numbers,
608
+ * punctuation and spaces, words containing ideographic characters, and
609
+ * more. For Line Break, the status distinguishes between hard (mandatory) breaks
610
+ * and soft (potential) break positions.
611
+ * <p>
612
+ * <code>getRuleStatus()</code> can be called after obtaining a boundary
613
+ * position from <code>next()</code>, <code>previous()</code>, or
614
+ * any other break iterator functions that returns a boundary position.
615
+ * <p>
616
+ * Note that <code>getRuleStatus()</code> returns the value corresponding to
617
+ * <code>current()</code> index even after <code>next()</code> has returned DONE.
618
+ * <p>
619
+ * When creating custom break rules, one is free to define whatever
620
+ * status values may be convenient for the application.
621
+ * <p>
622
+ * @return the status from the break rule that determined the boundary
623
+ * at the current iteration position.
624
+ *
625
+ * @see UWordBreak
626
+ * @stable ICU 2.2
627
+ */
628
+ virtual int32_t getRuleStatus() const override;
629
+
630
+ /**
631
+ * Get the status (tag) values from the break rule(s) that determined the boundary
632
+ * at the current iteration position.
633
+ * <p>
634
+ * The returned status value(s) are stored into an array provided by the caller.
635
+ * The values are stored in sorted (ascending) order.
636
+ * If the capacity of the output array is insufficient to hold the data,
637
+ * the output will be truncated to the available length, and a
638
+ * U_BUFFER_OVERFLOW_ERROR will be signaled.
639
+ *
640
+ * @param fillInVec an array to be filled in with the status values.
641
+ * @param capacity the length of the supplied vector. A length of zero causes
642
+ * the function to return the number of status values, in the
643
+ * normal way, without attempting to store any values.
644
+ * @param status receives error codes.
645
+ * @return The number of rule status values from the rules that determined
646
+ * the boundary at the current iteration position.
647
+ * In the event of a U_BUFFER_OVERFLOW_ERROR, the return value
648
+ * is the total number of status values that were available,
649
+ * not the reduced number that were actually returned.
650
+ * @see getRuleStatus
651
+ * @stable ICU 3.0
652
+ */
653
+ virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity, UErrorCode &status) override;
654
+
655
+ #if APPLE_ICU_CHANGES
656
+ // rdar://35946337 Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough
657
+ /**
658
+ * Apple custom extension
659
+ * Initializes Latin1 category
660
+ * @internal
661
+ */
662
+ void initLatin1Cat(void);
663
+
664
+ // rdar://35946337 Rewrite urbtok_tokenize & other urbtok_ interfaces to work with new RBBI but be fast enough
665
+ /**
666
+ * Apple custom extension
667
+ * Fetch the next set of tokens.
668
+ * @param maxTokens The maximum number of tokens to return.
669
+ * @param outTokenRanges Pointer to output array of token ranges.
670
+ * @param outTokenFlags (optional) pointer to output array of token flags.
671
+ * @internal
672
+ */
673
+ int32_t tokenize(int32_t maxTokens, RuleBasedTokenRange *outTokenRanges, unsigned long *outTokenFlags);
674
+ #endif // APPLE_ICU_CHANGES
675
+
676
+ /**
677
+ * Returns a unique class ID POLYMORPHICALLY. Pure virtual override.
678
+ * This method is to implement a simple version of RTTI, since not all
679
+ * C++ compilers support genuine RTTI. Polymorphic operator==() and
680
+ * clone() methods call this method.
681
+ *
682
+ * @return The class ID for this object. All objects of a
683
+ * given class have the same class ID. Objects of
684
+ * other classes have different class IDs.
685
+ * @stable ICU 2.0
686
+ */
687
+ virtual UClassID getDynamicClassID() const override;
688
+
689
+ /**
690
+ * Returns the class ID for this class. This is useful only for
691
+ * comparing to a return value from getDynamicClassID(). For example:
692
+ *
693
+ * Base* polymorphic_pointer = createPolymorphicObject();
694
+ * if (polymorphic_pointer->getDynamicClassID() ==
695
+ * Derived::getStaticClassID()) ...
696
+ *
697
+ * @return The class ID for all objects of this class.
698
+ * @stable ICU 2.0
699
+ */
700
+ static UClassID U_EXPORT2 getStaticClassID();
701
+
702
+ #ifndef U_FORCE_HIDE_DEPRECATED_API
703
+ /**
704
+ * Deprecated functionality. Use clone() instead.
705
+ *
706
+ * Create a clone (copy) of this break iterator in memory provided
707
+ * by the caller. The idea is to increase performance by avoiding
708
+ * a storage allocation. Use of this function is NOT RECOMMENDED.
709
+ * Performance gains are minimal, and correct buffer management is
710
+ * tricky. Use clone() instead.
711
+ *
712
+ * @param stackBuffer The pointer to the memory into which the cloned object
713
+ * should be placed. If nullptr, allocate heap memory
714
+ * for the cloned object.
715
+ * @param BufferSize The size of the buffer. If zero, return the required
716
+ * buffer size, but do not clone the object. If the
717
+ * size was too small (but not zero), allocate heap
718
+ * storage for the cloned object.
719
+ *
720
+ * @param status Error status. U_SAFECLONE_ALLOCATED_WARNING will be
721
+ * returned if the provided buffer was too small, and
722
+ * the clone was therefore put on the heap.
723
+ *
724
+ * @return Pointer to the clone object. This may differ from the stackBuffer
725
+ * address if the byte alignment of the stack buffer was not suitable
726
+ * or if the stackBuffer was too small to hold the clone.
727
+ * @deprecated ICU 52. Use clone() instead.
728
+ */
729
+ virtual RuleBasedBreakIterator *createBufferClone(void *stackBuffer,
730
+ int32_t &BufferSize,
731
+ UErrorCode &status) override;
732
+ #endif // U_FORCE_HIDE_DEPRECATED_API
733
+
734
+ /**
735
+ * Return the binary form of compiled break rules,
736
+ * which can then be used to create a new break iterator at some
737
+ * time in the future. Creating a break iterator from pre-compiled rules
738
+ * is much faster than building one from the source form of the
739
+ * break rules.
740
+ *
741
+ * The binary data can only be used with the same version of ICU
742
+ * and on the same platform type (processor endian-ness)
743
+ *
744
+ * @param length Returns the length of the binary data. (Out parameter.)
745
+ *
746
+ * @return A pointer to the binary (compiled) rule data. The storage
747
+ * belongs to the RulesBasedBreakIterator object, not the
748
+ * caller, and must not be modified or deleted.
749
+ * @stable ICU 4.8
750
+ */
751
+ virtual const uint8_t *getBinaryRules(uint32_t &length);
752
+
753
+ /**
754
+ * Set the subject text string upon which the break iterator is operating
755
+ * without changing any other aspect of the matching state.
756
+ * The new and previous text strings must have the same content.
757
+ *
758
+ * This function is intended for use in environments where ICU is operating on
759
+ * strings that may move around in memory. It provides a mechanism for notifying
760
+ * ICU that the string has been relocated, and providing a new UText to access the
761
+ * string in its new position.
762
+ *
763
+ * Note that the break iterator implementation never copies the underlying text
764
+ * of a string being processed, but always operates directly on the original text
765
+ * provided by the user. Refreshing simply drops the references to the old text
766
+ * and replaces them with references to the new.
767
+ *
768
+ * Caution: this function is normally used only by very specialized,
769
+ * system-level code. One example use case is with garbage collection that moves
770
+ * the text in memory.
771
+ *
772
+ * @param input The new (moved) text string.
773
+ * @param status Receives errors detected by this function.
774
+ * @return *this
775
+ *
776
+ * @stable ICU 49
777
+ */
778
+ virtual RuleBasedBreakIterator &refreshInputText(UText *input, UErrorCode &status) override;
779
+
780
+ #if APPLE_ICU_CHANGES
781
+ // rdar://51193810 for line break, remap locale delimiters that are QU to OP/CL as appropriate
782
+ #ifndef U_HIDE_INTERNAL_API
783
+ /**
784
+ * Set the break category overrides for this break iterator, based on delimiter data.
785
+ * @param locale The locale whose delimiters to use.
786
+ * @internal Apple only
787
+ */
788
+ virtual void setCategoryOverrides(Locale locale);
789
+ #endif /* U_HIDE_INTERNAL_API */
790
+ #endif // APPLE_ICU_CHANGES
791
+
792
+ private:
793
+ //=======================================================================
794
+ // implementation
795
+ //=======================================================================
796
+ /**
797
+ * Iterate backwards from an arbitrary position in the input text using the
798
+ * synthesized Safe Reverse rules.
799
+ * This locates a "Safe Position" from which the forward break rules
800
+ * will operate correctly. A Safe Position is not necessarily a boundary itself.
801
+ *
802
+ * @param fromPosition the position in the input text to begin the iteration.
803
+ * @internal (private)
804
+ */
805
+ int32_t handleSafePrevious(int32_t fromPosition);
806
+
807
+ /**
808
+ * Find a rule-based boundary by running the state machine.
809
+ * Input
810
+ * fPosition, the position in the text to begin from.
811
+ * Output
812
+ * fPosition: the boundary following the starting position.
813
+ * fDictionaryCharCount the number of dictionary characters encountered.
814
+ * If > 0, the segment will be further subdivided
815
+ * fRuleStatusIndex Info from the state table indicating which rules caused the boundary.
816
+ *
817
+ * @internal (private)
818
+ */
819
+ int32_t handleNext();
820
+ #if APPLE_ICU_CHANGES
821
+ // rdar://29855043 051a058c9a.. Merge OSS changes for ICU 60.1 + Apple loc adds from Import_ibm > master; temp skip rbtok, urbtok uses rbbi
822
+ // (modified with import of OSICU version)
823
+ int32_t handleNextInternal();
824
+ #endif // APPLE_ICU_CHANGES
825
+
826
+ /*
827
+ * Templatized version of handleNext() and handleSafePrevious().
828
+ *
829
+ * There will be exactly four instantiations, two each for 8 and 16 bit tables,
830
+ * two each for 8 and 16 bit trie.
831
+ * Having separate instantiations for the table types keeps conditional tests of
832
+ * the table type out of the inner loops, at the expense of replicated code.
833
+ *
834
+ * The template parameter for the Trie access function is a value, not a type.
835
+ * Doing it this way, the compiler will inline the Trie function in the
836
+ * expanded functions. (Both the 8 and 16 bit access functions have the same type
837
+ * signature)
838
+ */
839
+
840
+ typedef uint16_t (*PTrieFunc)(const UCPTrie *, UChar32);
841
+
842
+ template<typename RowType, PTrieFunc trieFunc>
843
+ int32_t handleSafePrevious(int32_t fromPosition);
844
+
845
+ template<typename RowType, PTrieFunc trieFunc>
846
+ int32_t handleNext();
847
+
848
+ #if APPLE_ICU_CHANGES
849
+ // rdar://70367682 #163 Integrate open-source ICU 68.2 into Apple ICU sources
850
+ // (modified with import of OSICU version)
851
+ template<typename RowType, PTrieFunc trieFunc>
852
+ int32_t handleNextInternal();
853
+ #endif // APPLE_ICU_CHANGES
854
+
855
+ /**
856
+ * This function returns the appropriate LanguageBreakEngine for a
857
+ * given character c.
858
+ * @param c A character in the dictionary set
859
+ * @param locale The locale.
860
+ * @internal (private)
861
+ */
862
+ const LanguageBreakEngine *getLanguageBreakEngine(UChar32 c, const char* locale);
863
+
864
+ public:
865
+ #ifndef U_HIDE_INTERNAL_API
866
+ /**
867
+ * Debugging function only.
868
+ * @internal
869
+ */
870
+ void dumpCache();
871
+
872
+ /**
873
+ * Debugging function only.
874
+ * @internal
875
+ */
876
+ void dumpTables();
877
+ #endif /* U_HIDE_INTERNAL_API */
878
+
879
+ #ifndef U_HIDE_INTERNAL_API
880
+ /**
881
+ * Register a new external break engine. The external break engine will be adopted.
882
+ * Because ICU may choose to cache break engine internally, this must
883
+ * be called at application startup, prior to any calls to
884
+ * object methods of RuleBasedBreakIterator to avoid undefined behavior.
885
+ * @param toAdopt the ExternalBreakEngine instance to be adopted
886
+ * @param status the in/out status code, no special meanings are assigned
887
+ * @internal ICU 74 technology preview
888
+ */
889
+ static void U_EXPORT2 registerExternalBreakEngine(
890
+ ExternalBreakEngine* toAdopt, UErrorCode& status);
891
+ #endif /* U_HIDE_INTERNAL_API */
892
+
893
+ };
894
+
895
+
896
+ U_NAMESPACE_END
897
+
898
+ #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
899
+
900
+ #endif /* U_SHOW_CPLUSPLUS_API */
901
+
902
+ #endif