@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,509 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ **********************************************************************
5
+ * Copyright (C) 2001-2014 IBM and others. All rights reserved.
6
+ **********************************************************************
7
+ * Date Name Description
8
+ * 03/22/2000 helena Creation.
9
+ **********************************************************************
10
+ */
11
+
12
+ #ifndef STSEARCH_H
13
+ #define STSEARCH_H
14
+
15
+ #include <_foundation_unicode/utypes.h>
16
+
17
+ #if U_SHOW_CPLUSPLUS_API
18
+
19
+ /**
20
+ * \file
21
+ * \brief C++ API: Service for searching text based on RuleBasedCollator.
22
+ */
23
+
24
+ #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
25
+
26
+ #include <_foundation_unicode/tblcoll.h>
27
+ #include <_foundation_unicode/coleitr.h>
28
+ #include <_foundation_unicode/search.h>
29
+
30
+ U_NAMESPACE_BEGIN
31
+
32
+ /**
33
+ *
34
+ * <tt>StringSearch</tt> is a <tt>SearchIterator</tt> that provides
35
+ * language-sensitive text searching based on the comparison rules defined
36
+ * in a {@link RuleBasedCollator} object.
37
+ * StringSearch ensures that language eccentricity can be
38
+ * handled, e.g. for the German collator, characters &szlig; and SS will be matched
39
+ * if case is chosen to be ignored.
40
+ * See the <a href="https://htmlpreview.github.io/?https://github.com/unicode-org/icu-docs/blob/main/design/collation/ICU_collation_design.htm">
41
+ * "ICU Collation Design Document"</a> for more information.
42
+ * <p>
43
+ * There are 2 match options for selection:<br>
44
+ * Let S' be the sub-string of a text string S between the offsets start and
45
+ * end [start, end].
46
+ * <br>
47
+ * A pattern string P matches a text string S at the offsets [start, end]
48
+ * if
49
+ * <pre>
50
+ * option 1. Some canonical equivalent of P matches some canonical equivalent
51
+ * of S'
52
+ * option 2. P matches S' and if P starts or ends with a combining mark,
53
+ * there exists no non-ignorable combining mark before or after S?
54
+ * in S respectively.
55
+ * </pre>
56
+ * Option 2. will be the default.
57
+ * <p>
58
+ * This search has APIs similar to that of other text iteration mechanisms
59
+ * such as the break iterators in <tt>BreakIterator</tt>. Using these
60
+ * APIs, it is easy to scan through text looking for all occurrences of
61
+ * a given pattern. This search iterator allows changing of direction by
62
+ * calling a <tt>reset</tt> followed by a <tt>next</tt> or <tt>previous</tt>.
63
+ * Though a direction change can occur without calling <tt>reset</tt> first,
64
+ * this operation comes with some speed penalty.
65
+ * Match results in the forward direction will match the result matches in
66
+ * the backwards direction in the reverse order
67
+ * <p>
68
+ * <tt>SearchIterator</tt> provides APIs to specify the starting position
69
+ * within the text string to be searched, e.g. <tt>setOffset</tt>,
70
+ * <tt>preceding</tt> and <tt>following</tt>. Since the
71
+ * starting position will be set as it is specified, please take note that
72
+ * there are some danger points which the search may render incorrect
73
+ * results:
74
+ * <ul>
75
+ * <li> The midst of a substring that requires normalization.
76
+ * <li> If the following match is to be found, the position should not be the
77
+ * second character which requires to be swapped with the preceding
78
+ * character. Vice versa, if the preceding match is to be found,
79
+ * position to search from should not be the first character which
80
+ * requires to be swapped with the next character. E.g certain Thai and
81
+ * Lao characters require swapping.
82
+ * <li> If a following pattern match is to be found, any position within a
83
+ * contracting sequence except the first will fail. Vice versa if a
84
+ * preceding pattern match is to be found, a invalid starting point
85
+ * would be any character within a contracting sequence except the last.
86
+ * </ul>
87
+ * <p>
88
+ * A <tt>BreakIterator</tt> can be used if only matches at logical breaks are desired.
89
+ * Using a <tt>BreakIterator</tt> will only give you results that exactly matches the
90
+ * boundaries given by the breakiterator. For instance the pattern "e" will
91
+ * not be found in the string "\u00e9" if a character break iterator is used.
92
+ * <p>
93
+ * Options are provided to handle overlapping matches.
94
+ * E.g. In English, overlapping matches produces the result 0 and 2
95
+ * for the pattern "abab" in the text "ababab", where else mutually
96
+ * exclusive matches only produce the result of 0.
97
+ * <p>
98
+ * Though collator attributes will be taken into consideration while
99
+ * performing matches, there are no APIs here for setting and getting the
100
+ * attributes. These attributes can be set by getting the collator
101
+ * from <tt>getCollator</tt> and using the APIs in <tt>coll.h</tt>.
102
+ * Lastly to update <tt>StringSearch</tt> to the new collator attributes,
103
+ * <tt>reset</tt> has to be called.
104
+ * <p>
105
+ * Restriction: <br>
106
+ * Currently there are no composite characters that consists of a
107
+ * character with combining class > 0 before a character with combining
108
+ * class == 0. However, if such a character exists in the future,
109
+ * <tt>StringSearch</tt> does not guarantee the results for option 1.
110
+ * <p>
111
+ * Consult the <tt>SearchIterator</tt> documentation for information on
112
+ * and examples of how to use instances of this class to implement text
113
+ * searching.
114
+ * <pre><code>
115
+ * UnicodeString target("The quick brown fox jumps over the lazy dog.");
116
+ * UnicodeString pattern("fox");
117
+ *
118
+ * UErrorCode error = U_ZERO_ERROR;
119
+ * StringSearch iter(pattern, target, Locale::getUS(), nullptr, status);
120
+ * for (int pos = iter.first(error);
121
+ * pos != USEARCH_DONE;
122
+ * pos = iter.next(error))
123
+ * {
124
+ * printf("Found match at %d pos, length is %d\n", pos, iter.getMatchedLength());
125
+ * }
126
+ * </code></pre>
127
+ * <p>
128
+ * Note, <tt>StringSearch</tt> is not to be subclassed.
129
+ * </p>
130
+ * @see SearchIterator
131
+ * @see RuleBasedCollator
132
+ * @since ICU 2.0
133
+ */
134
+
135
+ class U_I18N_API StringSearch final : public SearchIterator
136
+ {
137
+ public:
138
+
139
+ // public constructors and destructors --------------------------------
140
+
141
+ /**
142
+ * Creating a <tt>StringSearch</tt> instance using the argument locale
143
+ * language rule set. A collator will be created in the process, which
144
+ * will be owned by this instance and will be deleted during
145
+ * destruction
146
+ * @param pattern The text for which this object will search.
147
+ * @param text The text in which to search for the pattern.
148
+ * @param locale A locale which defines the language-sensitive
149
+ * comparison rules used to determine whether text in the
150
+ * pattern and target matches.
151
+ * @param breakiter A <tt>BreakIterator</tt> object used to constrain
152
+ * the matches that are found. Matches whose start and end
153
+ * indices in the target text are not boundaries as
154
+ * determined by the <tt>BreakIterator</tt> are
155
+ * ignored. If this behavior is not desired,
156
+ * <tt>nullptr</tt> can be passed in instead.
157
+ * @param status for errors if any. If pattern or text is nullptr, or if
158
+ * either the length of pattern or text is 0 then an
159
+ * U_ILLEGAL_ARGUMENT_ERROR is returned.
160
+ * @stable ICU 2.0
161
+ */
162
+ StringSearch(const UnicodeString &pattern, const UnicodeString &text,
163
+ const Locale &locale,
164
+ BreakIterator *breakiter,
165
+ UErrorCode &status);
166
+
167
+ /**
168
+ * Creating a <tt>StringSearch</tt> instance using the argument collator
169
+ * language rule set. Note, user retains the ownership of this collator,
170
+ * it does not get destroyed during this instance's destruction.
171
+ * @param pattern The text for which this object will search.
172
+ * @param text The text in which to search for the pattern.
173
+ * @param coll A <tt>RuleBasedCollator</tt> object which defines
174
+ * the language-sensitive comparison rules used to
175
+ * determine whether text in the pattern and target
176
+ * matches. User is responsible for the clearing of this
177
+ * object.
178
+ * @param breakiter A <tt>BreakIterator</tt> object used to constrain
179
+ * the matches that are found. Matches whose start and end
180
+ * indices in the target text are not boundaries as
181
+ * determined by the <tt>BreakIterator</tt> are
182
+ * ignored. If this behavior is not desired,
183
+ * <tt>nullptr</tt> can be passed in instead.
184
+ * @param status for errors if any. If either the length of pattern or
185
+ * text is 0 then an U_ILLEGAL_ARGUMENT_ERROR is returned.
186
+ * @stable ICU 2.0
187
+ */
188
+ StringSearch(const UnicodeString &pattern,
189
+ const UnicodeString &text,
190
+ RuleBasedCollator *coll,
191
+ BreakIterator *breakiter,
192
+ UErrorCode &status);
193
+
194
+ /**
195
+ * Creating a <tt>StringSearch</tt> instance using the argument locale
196
+ * language rule set. A collator will be created in the process, which
197
+ * will be owned by this instance and will be deleted during
198
+ * destruction
199
+ * <p>
200
+ * Note: No parsing of the text within the <tt>CharacterIterator</tt>
201
+ * will be done during searching for this version. The block of text
202
+ * in <tt>CharacterIterator</tt> will be used as it is.
203
+ * @param pattern The text for which this object will search.
204
+ * @param text The text iterator in which to search for the pattern.
205
+ * @param locale A locale which defines the language-sensitive
206
+ * comparison rules used to determine whether text in the
207
+ * pattern and target matches. User is responsible for
208
+ * the clearing of this object.
209
+ * @param breakiter A <tt>BreakIterator</tt> object used to constrain
210
+ * the matches that are found. Matches whose start and end
211
+ * indices in the target text are not boundaries as
212
+ * determined by the <tt>BreakIterator</tt> are
213
+ * ignored. If this behavior is not desired,
214
+ * <tt>nullptr</tt> can be passed in instead.
215
+ * @param status for errors if any. If either the length of pattern or
216
+ * text is 0 then an U_ILLEGAL_ARGUMENT_ERROR is returned.
217
+ * @stable ICU 2.0
218
+ */
219
+ StringSearch(const UnicodeString &pattern, CharacterIterator &text,
220
+ const Locale &locale,
221
+ BreakIterator *breakiter,
222
+ UErrorCode &status);
223
+
224
+ /**
225
+ * Creating a <tt>StringSearch</tt> instance using the argument collator
226
+ * language rule set. Note, user retains the ownership of this collator,
227
+ * it does not get destroyed during this instance's destruction.
228
+ * <p>
229
+ * Note: No parsing of the text within the <tt>CharacterIterator</tt>
230
+ * will be done during searching for this version. The block of text
231
+ * in <tt>CharacterIterator</tt> will be used as it is.
232
+ * @param pattern The text for which this object will search.
233
+ * @param text The text in which to search for the pattern.
234
+ * @param coll A <tt>RuleBasedCollator</tt> object which defines
235
+ * the language-sensitive comparison rules used to
236
+ * determine whether text in the pattern and target
237
+ * matches. User is responsible for the clearing of this
238
+ * object.
239
+ * @param breakiter A <tt>BreakIterator</tt> object used to constrain
240
+ * the matches that are found. Matches whose start and end
241
+ * indices in the target text are not boundaries as
242
+ * determined by the <tt>BreakIterator</tt> are
243
+ * ignored. If this behavior is not desired,
244
+ * <tt>nullptr</tt> can be passed in instead.
245
+ * @param status for errors if any. If either the length of pattern or
246
+ * text is 0 then an U_ILLEGAL_ARGUMENT_ERROR is returned.
247
+ * @stable ICU 2.0
248
+ */
249
+ StringSearch(const UnicodeString &pattern, CharacterIterator &text,
250
+ RuleBasedCollator *coll,
251
+ BreakIterator *breakiter,
252
+ UErrorCode &status);
253
+
254
+ /**
255
+ * Copy constructor that creates a StringSearch instance with the same
256
+ * behavior, and iterating over the same text.
257
+ * @param that StringSearch instance to be copied.
258
+ * @stable ICU 2.0
259
+ */
260
+ StringSearch(const StringSearch &that);
261
+
262
+ /**
263
+ * Destructor. Cleans up the search iterator data struct.
264
+ * If a collator is created in the constructor, it will be destroyed here.
265
+ * @stable ICU 2.0
266
+ */
267
+ virtual ~StringSearch();
268
+
269
+ /**
270
+ * Clone this object.
271
+ * Clones can be used concurrently in multiple threads.
272
+ * If an error occurs, then nullptr is returned.
273
+ * The caller must delete the clone.
274
+ *
275
+ * @return a clone of this object
276
+ *
277
+ * @see getDynamicClassID
278
+ * @stable ICU 2.8
279
+ */
280
+ StringSearch *clone() const;
281
+
282
+ // operator overloading ---------------------------------------------
283
+
284
+ /**
285
+ * Assignment operator. Sets this iterator to have the same behavior,
286
+ * and iterate over the same text, as the one passed in.
287
+ * @param that instance to be copied.
288
+ * @stable ICU 2.0
289
+ */
290
+ StringSearch & operator=(const StringSearch &that);
291
+
292
+ /**
293
+ * Equality operator.
294
+ * @param that instance to be compared.
295
+ * @return true if both instances have the same attributes,
296
+ * breakiterators, collators and iterate over the same text
297
+ * while looking for the same pattern.
298
+ * @stable ICU 2.0
299
+ */
300
+ virtual bool operator==(const SearchIterator &that) const override;
301
+
302
+ // public get and set methods ----------------------------------------
303
+
304
+ /**
305
+ * Sets the index to point to the given position, and clears any state
306
+ * that's affected.
307
+ * <p>
308
+ * This method takes the argument index and sets the position in the text
309
+ * string accordingly without checking if the index is pointing to a
310
+ * valid starting point to begin searching.
311
+ * @param position within the text to be set. If position is less
312
+ * than or greater than the text range for searching,
313
+ * an U_INDEX_OUTOFBOUNDS_ERROR will be returned
314
+ * @param status for errors if it occurs
315
+ * @stable ICU 2.0
316
+ */
317
+ virtual void setOffset(int32_t position, UErrorCode &status) override;
318
+
319
+ /**
320
+ * Return the current index in the text being searched.
321
+ * If the iteration has gone past the end of the text
322
+ * (or past the beginning for a backwards search), USEARCH_DONE
323
+ * is returned.
324
+ * @return current index in the text being searched.
325
+ * @stable ICU 2.0
326
+ */
327
+ virtual int32_t getOffset() const override;
328
+
329
+ /**
330
+ * Set the target text to be searched.
331
+ * Text iteration will hence begin at the start of the text string.
332
+ * This method is
333
+ * useful if you want to re-use an iterator to search for the same
334
+ * pattern within a different body of text.
335
+ * @param text text string to be searched
336
+ * @param status for errors if any. If the text length is 0 then an
337
+ * U_ILLEGAL_ARGUMENT_ERROR is returned.
338
+ * @stable ICU 2.0
339
+ */
340
+ virtual void setText(const UnicodeString &text, UErrorCode &status) override;
341
+
342
+ /**
343
+ * Set the target text to be searched.
344
+ * Text iteration will hence begin at the start of the text string.
345
+ * This method is
346
+ * useful if you want to re-use an iterator to search for the same
347
+ * pattern within a different body of text.
348
+ * Note: No parsing of the text within the <tt>CharacterIterator</tt>
349
+ * will be done during searching for this version. The block of text
350
+ * in <tt>CharacterIterator</tt> will be used as it is.
351
+ * @param text text string to be searched
352
+ * @param status for errors if any. If the text length is 0 then an
353
+ * U_ILLEGAL_ARGUMENT_ERROR is returned.
354
+ * @stable ICU 2.0
355
+ */
356
+ virtual void setText(CharacterIterator &text, UErrorCode &status) override;
357
+
358
+ /**
359
+ * Gets the collator used for the language rules.
360
+ * <p>
361
+ * Caller may modify but <b>must not</b> delete the <tt>RuleBasedCollator</tt>!
362
+ * Modifications to this collator will affect the original collator passed in to
363
+ * the <tt>StringSearch></tt> constructor or to setCollator, if any.
364
+ * @return collator used for string search
365
+ * @stable ICU 2.0
366
+ */
367
+ RuleBasedCollator * getCollator() const;
368
+
369
+ /**
370
+ * Sets the collator used for the language rules. User retains the
371
+ * ownership of this collator, thus the responsibility of deletion lies
372
+ * with the user. The iterator's position will not be changed by this method.
373
+ * @param coll collator
374
+ * @param status for errors if any
375
+ * @stable ICU 2.0
376
+ */
377
+ void setCollator(RuleBasedCollator *coll, UErrorCode &status);
378
+
379
+ /**
380
+ * Sets the pattern used for matching.
381
+ * The iterator's position will not be changed by this method.
382
+ * @param pattern search pattern to be found
383
+ * @param status for errors if any. If the pattern length is 0 then an
384
+ * U_ILLEGAL_ARGUMENT_ERROR is returned.
385
+ * @stable ICU 2.0
386
+ */
387
+ void setPattern(const UnicodeString &pattern, UErrorCode &status);
388
+
389
+ /**
390
+ * Gets the search pattern.
391
+ * @return pattern used for matching
392
+ * @stable ICU 2.0
393
+ */
394
+ const UnicodeString & getPattern() const;
395
+
396
+ // public methods ----------------------------------------------------
397
+
398
+ /**
399
+ * Reset the iteration.
400
+ * Search will begin at the start of the text string if a forward
401
+ * iteration is initiated before a backwards iteration. Otherwise if
402
+ * a backwards iteration is initiated before a forwards iteration, the
403
+ * search will begin at the end of the text string.
404
+ * @stable ICU 2.0
405
+ */
406
+ virtual void reset() override;
407
+
408
+ /**
409
+ * Returns a copy of StringSearch with the same behavior, and
410
+ * iterating over the same text, as this one. Note that all data will be
411
+ * replicated, except for the user-specified collator and the
412
+ * breakiterator.
413
+ * @return cloned object
414
+ * @stable ICU 2.0
415
+ */
416
+ virtual StringSearch * safeClone() const override;
417
+
418
+ /**
419
+ * ICU "poor man's RTTI", returns a UClassID for the actual class.
420
+ *
421
+ * @stable ICU 2.2
422
+ */
423
+ virtual UClassID getDynamicClassID() const override;
424
+
425
+ /**
426
+ * ICU "poor man's RTTI", returns a UClassID for this class.
427
+ *
428
+ * @stable ICU 2.2
429
+ */
430
+ static UClassID U_EXPORT2 getStaticClassID();
431
+
432
+ protected:
433
+
434
+ // protected method -------------------------------------------------
435
+
436
+ /**
437
+ * Search forward for matching text, starting at a given location.
438
+ * Clients should not call this method directly; instead they should
439
+ * call {@link SearchIterator#next }.
440
+ * <p>
441
+ * If a match is found, this method returns the index at which the match
442
+ * starts and calls {@link SearchIterator#setMatchLength } with the number
443
+ * of characters in the target text that make up the match. If no match
444
+ * is found, the method returns <tt>USEARCH_DONE</tt>.
445
+ * <p>
446
+ * The <tt>StringSearch</tt> is adjusted so that its current index
447
+ * (as returned by {@link #getOffset }) is the match position if one was
448
+ * found.
449
+ * If a match is not found, <tt>USEARCH_DONE</tt> will be returned and
450
+ * the <tt>StringSearch</tt> will be adjusted to the index USEARCH_DONE.
451
+ * @param position The index in the target text at which the search
452
+ * starts
453
+ * @param status for errors if any occurs
454
+ * @return The index at which the matched text in the target starts, or
455
+ * USEARCH_DONE if no match was found.
456
+ * @stable ICU 2.0
457
+ */
458
+ virtual int32_t handleNext(int32_t position, UErrorCode &status) override;
459
+
460
+ /**
461
+ * Search backward for matching text, starting at a given location.
462
+ * Clients should not call this method directly; instead they should call
463
+ * <tt>SearchIterator.previous()</tt>, which this method overrides.
464
+ * <p>
465
+ * If a match is found, this method returns the index at which the match
466
+ * starts and calls {@link SearchIterator#setMatchLength } with the number
467
+ * of characters in the target text that make up the match. If no match
468
+ * is found, the method returns <tt>USEARCH_DONE</tt>.
469
+ * <p>
470
+ * The <tt>StringSearch</tt> is adjusted so that its current index
471
+ * (as returned by {@link #getOffset }) is the match position if one was
472
+ * found.
473
+ * If a match is not found, <tt>USEARCH_DONE</tt> will be returned and
474
+ * the <tt>StringSearch</tt> will be adjusted to the index USEARCH_DONE.
475
+ * @param position The index in the target text at which the search
476
+ * starts.
477
+ * @param status for errors if any occurs
478
+ * @return The index at which the matched text in the target starts, or
479
+ * USEARCH_DONE if no match was found.
480
+ * @stable ICU 2.0
481
+ */
482
+ virtual int32_t handlePrev(int32_t position, UErrorCode &status) override;
483
+
484
+ private :
485
+ StringSearch() = delete; // default constructor not implemented
486
+
487
+ // private data members ----------------------------------------------
488
+
489
+ /**
490
+ * Pattern text
491
+ * @stable ICU 2.0
492
+ */
493
+ UnicodeString m_pattern_;
494
+ /**
495
+ * String search struct data
496
+ * @stable ICU 2.0
497
+ */
498
+ UStringSearch *m_strsrch_;
499
+
500
+ };
501
+
502
+ U_NAMESPACE_END
503
+
504
+ #endif /* #if !UCONFIG_NO_COLLATION */
505
+
506
+ #endif /* U_SHOW_CPLUSPLUS_API */
507
+
508
+ #endif
509
+
@@ -0,0 +1,119 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ **********************************************************************
5
+ * Copyright (c) 2000-2005, International Business Machines
6
+ * Corporation and others. All Rights Reserved.
7
+ **********************************************************************
8
+ * Date Name Description
9
+ * 02/04/00 aliu Creation.
10
+ **********************************************************************
11
+ */
12
+ #ifndef SYMTABLE_H
13
+ #define SYMTABLE_H
14
+
15
+ #include <_foundation_unicode/utypes.h>
16
+
17
+ #if U_SHOW_CPLUSPLUS_API
18
+
19
+ #include <_foundation_unicode/uobject.h>
20
+
21
+ /**
22
+ * \file
23
+ * \brief C++ API: An interface that defines both lookup protocol and parsing of
24
+ * symbolic names.
25
+ */
26
+
27
+ U_NAMESPACE_BEGIN
28
+
29
+ class ParsePosition;
30
+ class UnicodeFunctor;
31
+ class UnicodeSet;
32
+ class UnicodeString;
33
+
34
+ /**
35
+ * An interface that defines both lookup protocol and parsing of
36
+ * symbolic names.
37
+ *
38
+ * <p>A symbol table maintains two kinds of mappings. The first is
39
+ * between symbolic names and their values. For example, if the
40
+ * variable with the name "start" is set to the value "alpha"
41
+ * (perhaps, though not necessarily, through an expression such as
42
+ * "$start=alpha"), then the call lookup("start") will return the
43
+ * char[] array ['a', 'l', 'p', 'h', 'a'].
44
+ *
45
+ * <p>The second kind of mapping is between character values and
46
+ * UnicodeMatcher objects. This is used by RuleBasedTransliterator,
47
+ * which uses characters in the private use area to represent objects
48
+ * such as UnicodeSets. If U+E015 is mapped to the UnicodeSet [a-z],
49
+ * then lookupMatcher(0xE015) will return the UnicodeSet [a-z].
50
+ *
51
+ * <p>Finally, a symbol table defines parsing behavior for symbolic
52
+ * names. All symbolic names start with the SYMBOL_REF character.
53
+ * When a parser encounters this character, it calls parseReference()
54
+ * with the position immediately following the SYMBOL_REF. The symbol
55
+ * table parses the name, if there is one, and returns it.
56
+ *
57
+ * @stable ICU 2.8
58
+ */
59
+ class U_COMMON_API SymbolTable /* not : public UObject because this is an interface/mixin class */ {
60
+ public:
61
+
62
+ /**
63
+ * The character preceding a symbol reference name.
64
+ * @stable ICU 2.8
65
+ */
66
+ enum { SYMBOL_REF = 0x0024 /*$*/ };
67
+
68
+ /**
69
+ * Destructor.
70
+ * @stable ICU 2.8
71
+ */
72
+ virtual ~SymbolTable();
73
+
74
+ /**
75
+ * Lookup the characters associated with this string and return it.
76
+ * Return <tt>nullptr</tt> if no such name exists. The resultant
77
+ * string may have length zero.
78
+ * @param s the symbolic name to lookup
79
+ * @return a string containing the name's value, or <tt>nullptr</tt> if
80
+ * there is no mapping for s.
81
+ * @stable ICU 2.8
82
+ */
83
+ virtual const UnicodeString* lookup(const UnicodeString& s) const = 0;
84
+
85
+ /**
86
+ * Lookup the UnicodeMatcher associated with the given character, and
87
+ * return it. Return <tt>nullptr</tt> if not found.
88
+ * @param ch a 32-bit code point from 0 to 0x10FFFF inclusive.
89
+ * @return the UnicodeMatcher object represented by the given
90
+ * character, or nullptr if there is no mapping for ch.
91
+ * @stable ICU 2.8
92
+ */
93
+ virtual const UnicodeFunctor* lookupMatcher(UChar32 ch) const = 0;
94
+
95
+ /**
96
+ * Parse a symbol reference name from the given string, starting
97
+ * at the given position. If no valid symbol reference name is
98
+ * found, return the empty string and leave pos unchanged. That is, if the
99
+ * character at pos cannot start a name, or if pos is at or after
100
+ * text.length(), then return an empty string. This indicates an
101
+ * isolated SYMBOL_REF character.
102
+ * @param text the text to parse for the name
103
+ * @param pos on entry, the index of the first character to parse.
104
+ * This is the character following the SYMBOL_REF character. On
105
+ * exit, the index after the last parsed character. If the parse
106
+ * failed, pos is unchanged on exit.
107
+ * @param limit the index after the last character to be parsed.
108
+ * @return the parsed name, or an empty string if there is no
109
+ * valid symbolic name at the given position.
110
+ * @stable ICU 2.8
111
+ */
112
+ virtual UnicodeString parseReference(const UnicodeString& text,
113
+ ParsePosition& pos, int32_t limit) const = 0;
114
+ };
115
+ U_NAMESPACE_END
116
+
117
+ #endif /* U_SHOW_CPLUSPLUS_API */
118
+
119
+ #endif