@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,676 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ *******************************************************************************
5
+ * Copyright (C) 2007-2016, International Business Machines Corporation and
6
+ * others. All Rights Reserved.
7
+ *******************************************************************************
8
+ *
9
+ * File DTPTNGEN.H
10
+ *
11
+ *******************************************************************************
12
+ */
13
+
14
+ #ifndef __DTPTNGEN_H__
15
+ #define __DTPTNGEN_H__
16
+
17
+ #include <_foundation_unicode/utypes.h>
18
+
19
+ #if U_SHOW_CPLUSPLUS_API
20
+
21
+ #include <_foundation_unicode/datefmt.h>
22
+ #include <_foundation_unicode/locid.h>
23
+ #include <_foundation_unicode/udat.h>
24
+ #include <_foundation_unicode/udatpg.h>
25
+ #include <_foundation_unicode/unistr.h>
26
+
27
+ U_NAMESPACE_BEGIN
28
+
29
+ /**
30
+ * \file
31
+ * \brief C++ API: Date/Time Pattern Generator
32
+ */
33
+
34
+
35
+ class CharString;
36
+ class Hashtable;
37
+ class FormatParser;
38
+ class DateTimeMatcher;
39
+ class DistanceInfo;
40
+ class PatternMap;
41
+ class PtnSkeleton;
42
+ class SharedDateTimePatternGenerator;
43
+
44
+ /**
45
+ * This class provides flexible generation of date format patterns, like "yy-MM-dd".
46
+ * The user can build up the generator by adding successive patterns. Once that
47
+ * is done, a query can be made using a "skeleton", which is a pattern which just
48
+ * includes the desired fields and lengths. The generator will return the "best fit"
49
+ * pattern corresponding to that skeleton.
50
+ * <p>The main method people will use is getBestPattern(String skeleton),
51
+ * since normally this class is pre-built with data from a particular locale.
52
+ * However, generators can be built directly from other data as well.
53
+ * <p><i>Issue: may be useful to also have a function that returns the list of
54
+ * fields in a pattern, in order, since we have that internally.
55
+ * That would be useful for getting the UI order of field elements.</i>
56
+ * @stable ICU 3.8
57
+ **/
58
+ class U_I18N_API DateTimePatternGenerator : public UObject {
59
+ public:
60
+ /**
61
+ * Construct a flexible generator according to default locale.
62
+ * @param status Output param set to success/failure code on exit,
63
+ * which must not indicate a failure before the function call.
64
+ * @stable ICU 3.8
65
+ */
66
+ static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status);
67
+
68
+ /**
69
+ * Construct a flexible generator according to data for a given locale.
70
+ * @param uLocale
71
+ * @param status Output param set to success/failure code on exit,
72
+ * which must not indicate a failure before the function call.
73
+ * @stable ICU 3.8
74
+ */
75
+ #if APPLE_ICU_CHANGES
76
+ // rdar://
77
+ static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& status, UBool skipICUData = false);
78
+ #else
79
+ static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& status);
80
+ #endif // APPLE_ICU_CHANGES
81
+
82
+ #ifndef U_HIDE_INTERNAL_API
83
+
84
+ /**
85
+ * For ICU use only. Skips loading the standard date/time patterns (which is done via DateFormat).
86
+ *
87
+ * @internal
88
+ */
89
+ static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCode& status);
90
+
91
+ #endif /* U_HIDE_INTERNAL_API */
92
+
93
+ /**
94
+ * Create an empty generator, to be constructed with addPattern(...) etc.
95
+ * @param status Output param set to success/failure code on exit,
96
+ * which must not indicate a failure before the function call.
97
+ * @stable ICU 3.8
98
+ */
99
+ static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status);
100
+
101
+ /**
102
+ * Destructor.
103
+ * @stable ICU 3.8
104
+ */
105
+ virtual ~DateTimePatternGenerator();
106
+
107
+ /**
108
+ * Clone DateTimePatternGenerator object. Clients are responsible for
109
+ * deleting the DateTimePatternGenerator object cloned.
110
+ * @stable ICU 3.8
111
+ */
112
+ DateTimePatternGenerator* clone() const;
113
+
114
+ /**
115
+ * Return true if another object is semantically equal to this one.
116
+ *
117
+ * @param other the DateTimePatternGenerator object to be compared with.
118
+ * @return true if other is semantically equal to this.
119
+ * @stable ICU 3.8
120
+ */
121
+ bool operator==(const DateTimePatternGenerator& other) const;
122
+
123
+ /**
124
+ * Return true if another object is semantically unequal to this one.
125
+ *
126
+ * @param other the DateTimePatternGenerator object to be compared with.
127
+ * @return true if other is semantically unequal to this.
128
+ * @stable ICU 3.8
129
+ */
130
+ bool operator!=(const DateTimePatternGenerator& other) const;
131
+
132
+ /**
133
+ * Utility to return a unique skeleton from a given pattern. For example,
134
+ * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
135
+ *
136
+ * @param pattern Input pattern, such as "dd/MMM"
137
+ * @param status Output param set to success/failure code on exit,
138
+ * which must not indicate a failure before the function call.
139
+ * @return skeleton such as "MMMdd"
140
+ * @stable ICU 56
141
+ */
142
+ static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
143
+
144
+ /**
145
+ * Utility to return a unique skeleton from a given pattern. For example,
146
+ * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
147
+ * getSkeleton() works exactly like staticGetSkeleton().
148
+ * Use staticGetSkeleton() instead of getSkeleton().
149
+ *
150
+ * @param pattern Input pattern, such as "dd/MMM"
151
+ * @param status Output param set to success/failure code on exit,
152
+ * which must not indicate a failure before the function call.
153
+ * @return skeleton such as "MMMdd"
154
+ * @stable ICU 3.8
155
+ */
156
+ UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status); /* {
157
+ The function is commented out because it is a stable API calling a draft API.
158
+ After staticGetSkeleton becomes stable, staticGetSkeleton can be used and
159
+ these comments and the definition of getSkeleton in dtptngen.cpp should be removed.
160
+ return staticGetSkeleton(pattern, status);
161
+ }*/
162
+
163
+ /**
164
+ * Utility to return a unique base skeleton from a given pattern. This is
165
+ * the same as the skeleton, except that differences in length are minimized
166
+ * so as to only preserve the difference between string and numeric form. So
167
+ * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
168
+ * (notice the single d).
169
+ *
170
+ * @param pattern Input pattern, such as "dd/MMM"
171
+ * @param status Output param set to success/failure code on exit,
172
+ * which must not indicate a failure before the function call.
173
+ * @return base skeleton, such as "MMMd"
174
+ * @stable ICU 56
175
+ */
176
+ static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
177
+
178
+ /**
179
+ * Utility to return a unique base skeleton from a given pattern. This is
180
+ * the same as the skeleton, except that differences in length are minimized
181
+ * so as to only preserve the difference between string and numeric form. So
182
+ * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
183
+ * (notice the single d).
184
+ * getBaseSkeleton() works exactly like staticGetBaseSkeleton().
185
+ * Use staticGetBaseSkeleton() instead of getBaseSkeleton().
186
+ *
187
+ * @param pattern Input pattern, such as "dd/MMM"
188
+ * @param status Output param set to success/failure code on exit,
189
+ * which must not indicate a failure before the function call.
190
+ * @return base skeleton, such as "MMMd"
191
+ * @stable ICU 3.8
192
+ */
193
+ UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status); /* {
194
+ The function is commented out because it is a stable API calling a draft API.
195
+ After staticGetBaseSkeleton becomes stable, staticGetBaseSkeleton can be used and
196
+ these comments and the definition of getBaseSkeleton in dtptngen.cpp should be removed.
197
+ return staticGetBaseSkeleton(pattern, status);
198
+ }*/
199
+
200
+ /**
201
+ * Adds a pattern to the generator. If the pattern has the same skeleton as
202
+ * an existing pattern, and the override parameter is set, then the previous
203
+ * value is overridden. Otherwise, the previous value is retained. In either
204
+ * case, the conflicting status is set and previous vale is stored in
205
+ * conflicting pattern.
206
+ * <p>
207
+ * Note that single-field patterns (like "MMM") are automatically added, and
208
+ * don't need to be added explicitly!
209
+ *
210
+ * @param pattern Input pattern, such as "dd/MMM"
211
+ * @param override When existing values are to be overridden use true,
212
+ * otherwise use false.
213
+ * @param conflictingPattern Previous pattern with the same skeleton.
214
+ * @param status Output param set to success/failure code on exit,
215
+ * which must not indicate a failure before the function call.
216
+ * @return conflicting status. The value could be UDATPG_NO_CONFLICT,
217
+ * UDATPG_BASE_CONFLICT or UDATPG_CONFLICT.
218
+ * @stable ICU 3.8
219
+ */
220
+ UDateTimePatternConflict addPattern(const UnicodeString& pattern,
221
+ UBool override,
222
+ UnicodeString& conflictingPattern,
223
+ UErrorCode& status);
224
+
225
+ /**
226
+ * An AppendItem format is a pattern used to append a field if there is no
227
+ * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
228
+ * and there is no matching pattern internally, but there is a pattern
229
+ * matching "yyyyMMMd", say "d-MM-yyyy". Then that pattern is used, plus the
230
+ * G. The way these two are conjoined is by using the AppendItemFormat for G
231
+ * (era). So if that value is, say "{0}, {1}" then the final resulting
232
+ * pattern is "d-MM-yyyy, G".
233
+ * <p>
234
+ * There are actually three available variables: {0} is the pattern so far,
235
+ * {1} is the element we are adding, and {2} is the name of the element.
236
+ * <p>
237
+ * This reflects the way that the CLDR data is organized.
238
+ *
239
+ * @param field such as UDATPG_ERA_FIELD.
240
+ * @param value pattern, such as "{0}, {1}"
241
+ * @stable ICU 3.8
242
+ */
243
+ void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
244
+
245
+ /**
246
+ * Getter corresponding to setAppendItemFormat. Values below 0 or at or
247
+ * above UDATPG_FIELD_COUNT are illegal arguments.
248
+ *
249
+ * @param field such as UDATPG_ERA_FIELD.
250
+ * @return append pattern for field
251
+ * @stable ICU 3.8
252
+ */
253
+ const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
254
+
255
+ /**
256
+ * Sets the names of field, eg "era" in English for ERA. These are only
257
+ * used if the corresponding AppendItemFormat is used, and if it contains a
258
+ * {2} variable.
259
+ * <p>
260
+ * This reflects the way that the CLDR data is organized.
261
+ *
262
+ * @param field such as UDATPG_ERA_FIELD.
263
+ * @param value name of the field
264
+ * @stable ICU 3.8
265
+ */
266
+ void setAppendItemName(UDateTimePatternField field, const UnicodeString& value);
267
+
268
+ /**
269
+ * Getter corresponding to setAppendItemNames. Values below 0 or at or above
270
+ * UDATPG_FIELD_COUNT are illegal arguments. Note: The more general method
271
+ * for getting date/time field display names is getFieldDisplayName.
272
+ *
273
+ * @param field such as UDATPG_ERA_FIELD.
274
+ * @return name for field
275
+ * @see getFieldDisplayName
276
+ * @stable ICU 3.8
277
+ */
278
+ const UnicodeString& getAppendItemName(UDateTimePatternField field) const;
279
+
280
+ /**
281
+ * The general interface to get a display name for a particular date/time field,
282
+ * in one of several possible display widths.
283
+ *
284
+ * @param field The desired UDateTimePatternField, such as UDATPG_ERA_FIELD.
285
+ * @param width The desired UDateTimePGDisplayWidth, such as UDATPG_ABBREVIATED.
286
+ * @return The display name for field
287
+ * @stable ICU 61
288
+ */
289
+ UnicodeString getFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) const;
290
+
291
+ /**
292
+ * The DateTimeFormat is a message format pattern used to compose date and
293
+ * time patterns. The default pattern in the root locale is "{1} {0}", where
294
+ * {1} will be replaced by the date pattern and {0} will be replaced by the
295
+ * time pattern; however, other locales may specify patterns such as
296
+ * "{1}, {0}" or "{1} 'at' {0}", etc.
297
+ * <p>
298
+ * This is used when the input skeleton contains both date and time fields,
299
+ * but there is not a close match among the added patterns. For example,
300
+ * suppose that this object was created by adding "dd-MMM" and "hh:mm", and
301
+ * its datetimeFormat is the default "{1} {0}". Then if the input skeleton
302
+ * is "MMMdhmm", there is not an exact match, so the input skeleton is
303
+ * broken up into two components "MMMd" and "hmm". There are close matches
304
+ * for those two skeletons, so the result is put together with this pattern,
305
+ * resulting in "d-MMM h:mm".
306
+ *
307
+ * There are four DateTimeFormats in a DateTimePatternGenerator object,
308
+ * corresponding to date styles UDAT_FULL..UDAT_SHORT. This method sets
309
+ * all of them to the specified pattern. To set them individually, see
310
+ * setDateTimeFormat(UDateFormatStyle style, ...).
311
+ *
312
+ * @param dateTimeFormat
313
+ * message format pattern, here {1} will be replaced by the date
314
+ * pattern and {0} will be replaced by the time pattern.
315
+ * @stable ICU 3.8
316
+ */
317
+ void setDateTimeFormat(const UnicodeString& dateTimeFormat);
318
+
319
+ /**
320
+ * Getter corresponding to setDateTimeFormat.
321
+ *
322
+ * There are four DateTimeFormats in a DateTimePatternGenerator object,
323
+ * corresponding to date styles UDAT_FULL..UDAT_SHORT. This method gets
324
+ * the style for UDAT_MEDIUM (the default). To get them individually, see
325
+ * getDateTimeFormat(UDateFormatStyle style).
326
+ *
327
+ * @return DateTimeFormat.
328
+ * @stable ICU 3.8
329
+ */
330
+ const UnicodeString& getDateTimeFormat() const;
331
+
332
+ #if !UCONFIG_NO_FORMATTING
333
+ /**
334
+ * dateTimeFormats are message patterns used to compose combinations of date
335
+ * and time patterns. There are four length styles, corresponding to the
336
+ * inferred style of the date pattern; these are UDateFormatStyle values:
337
+ * - UDAT_FULL (for date pattern with weekday and long month), else
338
+ * - UDAT_LONG (for a date pattern with long month), else
339
+ * - UDAT_MEDIUM (for a date pattern with abbreviated month), else
340
+ * - UDAT_SHORT (for any other date pattern).
341
+ * For details on dateTimeFormats, see
342
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#dateTimeFormats.
343
+ * The default pattern in the root locale for all styles is "{1} {0}".
344
+ *
345
+ * @param style
346
+ * one of DateFormat.FULL..DateFormat.SHORT. Error if out of range.
347
+ * @param dateTimeFormat
348
+ * the new dateTimeFormat to set for the the specified style
349
+ * @param status
350
+ * in/out parameter; if no failure status is already set,
351
+ * it will be set according to result of the function (e.g.
352
+ * U_ILLEGAL_ARGUMENT_ERROR for style out of range).
353
+ * @stable ICU 71
354
+ */
355
+ void setDateTimeFormat(UDateFormatStyle style, const UnicodeString& dateTimeFormat,
356
+ UErrorCode& status);
357
+
358
+ /**
359
+ * Getter corresponding to setDateTimeFormat.
360
+ *
361
+ * @param style
362
+ * one of UDAT_FULL..UDAT_SHORT. Error if out of range.
363
+ * @param status
364
+ * in/out parameter; if no failure status is already set,
365
+ * it will be set according to result of the function (e.g.
366
+ * U_ILLEGAL_ARGUMENT_ERROR for style out of range).
367
+ * @return
368
+ * the current dateTimeFormat for the the specified style, or
369
+ * empty string in case of error. The UnicodeString reference,
370
+ * or the contents of the string, may no longer be valid if
371
+ * setDateTimeFormat is called, or the DateTimePatternGenerator
372
+ * object is deleted.
373
+ * @stable ICU 71
374
+ */
375
+ const UnicodeString& getDateTimeFormat(UDateFormatStyle style,
376
+ UErrorCode& status) const;
377
+ #endif /* #if !UCONFIG_NO_FORMATTING */
378
+
379
+ /**
380
+ * Return the best pattern matching the input skeleton. It is guaranteed to
381
+ * have all of the fields in the skeleton.
382
+ *
383
+ * @param skeleton
384
+ * The skeleton is a pattern containing only the variable fields.
385
+ * For example, "MMMdd" and "mmhh" are skeletons.
386
+ * @param status Output param set to success/failure code on exit,
387
+ * which must not indicate a failure before the function call.
388
+ * @return bestPattern
389
+ * The best pattern found from the given skeleton.
390
+ * @stable ICU 3.8
391
+ */
392
+ UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
393
+
394
+
395
+ /**
396
+ * Return the best pattern matching the input skeleton. It is guaranteed to
397
+ * have all of the fields in the skeleton.
398
+ *
399
+ * @param skeleton
400
+ * The skeleton is a pattern containing only the variable fields.
401
+ * For example, "MMMdd" and "mmhh" are skeletons.
402
+ * @param options
403
+ * Options for forcing the length of specified fields in the
404
+ * returned pattern to match those in the skeleton (when this
405
+ * would not happen otherwise). For default behavior, use
406
+ * UDATPG_MATCH_NO_OPTIONS.
407
+ * @param status
408
+ * Output param set to success/failure code on exit,
409
+ * which must not indicate a failure before the function call.
410
+ * @return bestPattern
411
+ * The best pattern found from the given skeleton.
412
+ * @stable ICU 4.4
413
+ */
414
+ UnicodeString getBestPattern(const UnicodeString& skeleton,
415
+ UDateTimePatternMatchOptions options,
416
+ UErrorCode& status);
417
+
418
+
419
+ /**
420
+ * Adjusts the field types (width and subtype) of a pattern to match what is
421
+ * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
422
+ * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
423
+ * "dd-MMMM hh:mm". This is used internally to get the best match for the
424
+ * input skeleton, but can also be used externally.
425
+ *
426
+ * @param pattern Input pattern
427
+ * @param skeleton
428
+ * The skeleton is a pattern containing only the variable fields.
429
+ * For example, "MMMdd" and "mmhh" are skeletons.
430
+ * @param status Output param set to success/failure code on exit,
431
+ * which must not indicate a failure before the function call.
432
+ * @return pattern adjusted to match the skeleton fields widths and subtypes.
433
+ * @stable ICU 3.8
434
+ */
435
+ UnicodeString replaceFieldTypes(const UnicodeString& pattern,
436
+ const UnicodeString& skeleton,
437
+ UErrorCode& status);
438
+
439
+ /**
440
+ * Adjusts the field types (width and subtype) of a pattern to match what is
441
+ * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
442
+ * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
443
+ * "dd-MMMM hh:mm". This is used internally to get the best match for the
444
+ * input skeleton, but can also be used externally.
445
+ *
446
+ * @param pattern Input pattern
447
+ * @param skeleton
448
+ * The skeleton is a pattern containing only the variable fields.
449
+ * For example, "MMMdd" and "mmhh" are skeletons.
450
+ * @param options
451
+ * Options controlling whether the length of specified fields in the
452
+ * pattern are adjusted to match those in the skeleton (when this
453
+ * would not happen otherwise). For default behavior, use
454
+ * UDATPG_MATCH_NO_OPTIONS.
455
+ * @param status
456
+ * Output param set to success/failure code on exit,
457
+ * which must not indicate a failure before the function call.
458
+ * @return pattern adjusted to match the skeleton fields widths and subtypes.
459
+ * @stable ICU 4.4
460
+ */
461
+ UnicodeString replaceFieldTypes(const UnicodeString& pattern,
462
+ const UnicodeString& skeleton,
463
+ UDateTimePatternMatchOptions options,
464
+ UErrorCode& status);
465
+
466
+ /**
467
+ * Return a list of all the skeletons (in canonical form) from this class.
468
+ *
469
+ * Call getPatternForSkeleton() to get the corresponding pattern.
470
+ *
471
+ * @param status Output param set to success/failure code on exit,
472
+ * which must not indicate a failure before the function call.
473
+ * @return StringEnumeration with the skeletons.
474
+ * The caller must delete the object.
475
+ * @stable ICU 3.8
476
+ */
477
+ StringEnumeration* getSkeletons(UErrorCode& status) const;
478
+
479
+ /**
480
+ * Get the pattern corresponding to a given skeleton.
481
+ * @param skeleton
482
+ * @return pattern corresponding to a given skeleton.
483
+ * @stable ICU 3.8
484
+ */
485
+ const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
486
+
487
+ /**
488
+ * Return a list of all the base skeletons (in canonical form) from this class.
489
+ *
490
+ * @param status Output param set to success/failure code on exit,
491
+ * which must not indicate a failure before the function call.
492
+ * @return a StringEnumeration with the base skeletons.
493
+ * The caller must delete the object.
494
+ * @stable ICU 3.8
495
+ */
496
+ StringEnumeration* getBaseSkeletons(UErrorCode& status) const;
497
+
498
+ #ifndef U_HIDE_INTERNAL_API
499
+ /**
500
+ * Return a list of redundant patterns are those which if removed, make no
501
+ * difference in the resulting getBestPattern values. This method returns a
502
+ * list of them, to help check the consistency of the patterns used to build
503
+ * this generator.
504
+ *
505
+ * @param status Output param set to success/failure code on exit,
506
+ * which must not indicate a failure before the function call.
507
+ * @return a StringEnumeration with the redundant pattern.
508
+ * The caller must delete the object.
509
+ * @internal ICU 3.8
510
+ */
511
+ StringEnumeration* getRedundants(UErrorCode& status);
512
+ #endif /* U_HIDE_INTERNAL_API */
513
+
514
+ /**
515
+ * The decimal value is used in formatting fractions of seconds. If the
516
+ * skeleton contains fractional seconds, then this is used with the
517
+ * fractional seconds. For example, suppose that the input pattern is
518
+ * "hhmmssSSSS", and the best matching pattern internally is "H:mm:ss", and
519
+ * the decimal string is ",". Then the resulting pattern is modified to be
520
+ * "H:mm:ss,SSSS"
521
+ *
522
+ * @param decimal
523
+ * @stable ICU 3.8
524
+ */
525
+ void setDecimal(const UnicodeString& decimal);
526
+
527
+ /**
528
+ * Getter corresponding to setDecimal.
529
+ * @return UnicodeString corresponding to the decimal point
530
+ * @stable ICU 3.8
531
+ */
532
+ const UnicodeString& getDecimal() const;
533
+
534
+ #if !UCONFIG_NO_FORMATTING
535
+
536
+ /**
537
+ * Get the default hour cycle for a locale. Uses the locale that the
538
+ * DateTimePatternGenerator was initially created with.
539
+ *
540
+ * Cannot be used on an empty DateTimePatternGenerator instance.
541
+ *
542
+ * @param status Output param set to success/failure code on exit, which
543
+ * which must not indicate a failure before the function call.
544
+ * Set to U_UNSUPPORTED_ERROR if used on an empty instance.
545
+ * @return the default hour cycle.
546
+ * @stable ICU 67
547
+ */
548
+ UDateFormatHourCycle getDefaultHourCycle(UErrorCode& status) const;
549
+
550
+ #endif /* #if !UCONFIG_NO_FORMATTING */
551
+
552
+ #if APPLE_ICU_CHANGES
553
+ // rdar://17278425 (“पू” (“AM”) “अ” (“PM”) don’t make sense to Hindi users)
554
+ /**
555
+ * Returns true if the specified locale uses long day periods.
556
+ * @internal
557
+ */
558
+ static bool localeUsesLongDayPeriods(const Locale& locale);
559
+ #endif
560
+
561
+ /**
562
+ * ICU "poor man's RTTI", returns a UClassID for the actual class.
563
+ *
564
+ * @stable ICU 3.8
565
+ */
566
+ virtual UClassID getDynamicClassID() const override;
567
+
568
+ /**
569
+ * ICU "poor man's RTTI", returns a UClassID for this class.
570
+ *
571
+ * @stable ICU 3.8
572
+ */
573
+ static UClassID U_EXPORT2 getStaticClassID();
574
+
575
+ private:
576
+ /**
577
+ * Constructor.
578
+ */
579
+ DateTimePatternGenerator(UErrorCode & status);
580
+
581
+ /**
582
+ * Constructor.
583
+ */
584
+ DateTimePatternGenerator(const Locale& locale, UErrorCode & status, UBool skipStdPatterns = false);
585
+
586
+ /**
587
+ * Copy constructor.
588
+ * @param other DateTimePatternGenerator to copy
589
+ */
590
+ DateTimePatternGenerator(const DateTimePatternGenerator& other);
591
+
592
+ /**
593
+ * Default assignment operator.
594
+ * @param other DateTimePatternGenerator to copy
595
+ */
596
+ DateTimePatternGenerator& operator=(const DateTimePatternGenerator& other);
597
+
598
+ static const int32_t UDATPG_WIDTH_COUNT = UDATPG_NARROW + 1;
599
+
600
+ Locale pLocale; // pattern locale
601
+ FormatParser *fp;
602
+ DateTimeMatcher* dtMatcher;
603
+ DistanceInfo *distanceInfo;
604
+ PatternMap *patternMap;
605
+ UnicodeString appendItemFormats[UDATPG_FIELD_COUNT];
606
+ UnicodeString fieldDisplayNames[UDATPG_FIELD_COUNT][UDATPG_WIDTH_COUNT];
607
+ UnicodeString dateTimeFormat[4];
608
+ UnicodeString decimal;
609
+ DateTimeMatcher *skipMatcher;
610
+ Hashtable *fAvailableFormatKeyHash;
611
+ UnicodeString emptyString;
612
+ char16_t fDefaultHourFormatChar;
613
+
614
+ int32_t fAllowedHourFormats[7]; // Actually an array of AllowedHourFormat enum type, ending with UNKNOWN.
615
+
616
+ // Internal error code used for recording/reporting errors that occur during methods that do not
617
+ // have a UErrorCode parameter. For example: the Copy Constructor, or the ::clone() method.
618
+ // When this is set to an error the object is in an invalid state.
619
+ UErrorCode internalErrorCode;
620
+
621
+ /* internal flags masks for adjustFieldTypes etc. */
622
+ enum {
623
+ kDTPGNoFlags = 0,
624
+ kDTPGFixFractionalSeconds = 1,
625
+ kDTPGSkeletonUsesCapJ = 2
626
+ // with #13183, no longer need flags for b, B
627
+ };
628
+
629
+ void initData(const Locale &locale, UErrorCode &status, UBool skipStdPatterns = false);
630
+ void addCanonicalItems(UErrorCode &status);
631
+ void addICUPatterns(const Locale& locale, UErrorCode& status);
632
+ void hackTimes(const UnicodeString& hackPattern, UErrorCode& status);
633
+ void getCalendarTypeToUse(const Locale& locale, CharString& destination, UErrorCode& err);
634
+ void consumeShortTimePattern(const UnicodeString& shortTimePattern, UErrorCode& status);
635
+ void addCLDRData(const Locale& locale, UErrorCode& status);
636
+ UDateTimePatternConflict addPatternWithSkeleton(const UnicodeString& pattern, const UnicodeString * skeletonToUse, UBool override, UnicodeString& conflictingPattern, UErrorCode& status);
637
+ void initHashtable(UErrorCode& status);
638
+ void setDateTimeFromCalendar(const Locale& locale, UErrorCode& status);
639
+ void setDecimalSymbols(const Locale& locale, UErrorCode& status);
640
+ UDateTimePatternField getAppendFormatNumber(const char* field) const;
641
+ // Note for the next 3: UDateTimePGDisplayWidth is now stable ICU 61
642
+ UDateTimePatternField getFieldAndWidthIndices(const char* key, UDateTimePGDisplayWidth* widthP) const;
643
+ void setFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width, const UnicodeString& value);
644
+ UnicodeString& getMutableFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width);
645
+ void getAppendName(UDateTimePatternField field, UnicodeString& value);
646
+ #if APPLE_ICU_CHANGES
647
+ // rdar://
648
+ UnicodeString mapSkeletonMetacharacters(const UnicodeString& patternForm, int32_t* flags, UDateTimePatternMatchOptions options, UErrorCode& status);
649
+ #else
650
+ UnicodeString mapSkeletonMetacharacters(const UnicodeString& patternForm, int32_t* flags, UErrorCode& status);
651
+ #endif // APPLE_ICU_CHANGES
652
+ const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, UErrorCode& status, const PtnSkeleton** specifiedSkeletonPtr = nullptr);
653
+ UnicodeString adjustFieldTypes(const UnicodeString& pattern, const PtnSkeleton* specifiedSkeleton, int32_t flags, UDateTimePatternMatchOptions options = UDATPG_MATCH_NO_OPTIONS);
654
+ UnicodeString getBestAppending(int32_t missingFields, int32_t flags, UErrorCode& status, UDateTimePatternMatchOptions options = UDATPG_MATCH_NO_OPTIONS);
655
+ int32_t getTopBitNumber(int32_t foundMask) const;
656
+ void setAvailableFormat(const UnicodeString &key, UErrorCode& status);
657
+ UBool isAvailableFormatSet(const UnicodeString &key) const;
658
+ void copyHashtable(Hashtable *other, UErrorCode &status);
659
+ UBool isCanonicalItem(const UnicodeString& item) const;
660
+ static void U_CALLCONV loadAllowedHourFormatsData(UErrorCode &status);
661
+ void getAllowedHourFormats(const Locale &locale, UErrorCode &status);
662
+ #if APPLE_ICU_CHANGES
663
+ // rdar://
664
+ UChar defaultHourPeriodCharForHourCycle(UDateTimePatternMatchOptions options);
665
+ #endif // APPLE_ICU_CHANGES
666
+
667
+ struct U_HIDDEN AppendItemFormatsSink;
668
+ struct U_HIDDEN AppendItemNamesSink;
669
+ struct U_HIDDEN AvailableFormatsSink;
670
+ } ;// end class DateTimePatternGenerator
671
+
672
+ U_NAMESPACE_END
673
+
674
+ #endif /* U_SHOW_CPLUSPLUS_API */
675
+
676
+ #endif