@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,758 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ ********************************************************************************
5
+ * Copyright (C) 1997-2014, International Business Machines
6
+ * Corporation and others. All Rights Reserved.
7
+ ********************************************************************************
8
+ *
9
+ * File FMTABLE.H
10
+ *
11
+ * Modification History:
12
+ *
13
+ * Date Name Description
14
+ * 02/29/97 aliu Creation.
15
+ ********************************************************************************
16
+ */
17
+ #ifndef FMTABLE_H
18
+ #define FMTABLE_H
19
+
20
+ #include <_foundation_unicode/utypes.h>
21
+
22
+ #if U_SHOW_CPLUSPLUS_API
23
+
24
+ /**
25
+ * \file
26
+ * \brief C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing
27
+ */
28
+
29
+ #if !UCONFIG_NO_FORMATTING
30
+
31
+ #include <_foundation_unicode/unistr.h>
32
+ #include <_foundation_unicode/stringpiece.h>
33
+ #include <_foundation_unicode/uformattable.h>
34
+
35
+ U_NAMESPACE_BEGIN
36
+
37
+ class CharString;
38
+
39
+ namespace number::impl {
40
+ class DecimalQuantity;
41
+ }
42
+
43
+ /**
44
+ * Formattable objects can be passed to the Format class or
45
+ * its subclasses for formatting. Formattable is a thin wrapper
46
+ * class which interconverts between the primitive numeric types
47
+ * (double, long, etc.) as well as UDate and UnicodeString.
48
+ *
49
+ * <p>Internally, a Formattable object is a union of primitive types.
50
+ * As such, it can only store one flavor of data at a time. To
51
+ * determine what flavor of data it contains, use the getType method.
52
+ *
53
+ * <p>As of ICU 3.0, Formattable may also wrap a UObject pointer,
54
+ * which it owns. This allows an instance of any ICU class to be
55
+ * encapsulated in a Formattable. For legacy reasons and for
56
+ * efficiency, primitive numeric types are still stored directly
57
+ * within a Formattable.
58
+ *
59
+ * <p>The Formattable class is not suitable for subclassing.
60
+ *
61
+ * <p>See UFormattable for a C wrapper.
62
+ */
63
+ class U_I18N_API Formattable : public UObject {
64
+ public:
65
+ /**
66
+ * This enum is only used to let callers distinguish between
67
+ * the Formattable(UDate) constructor and the Formattable(double)
68
+ * constructor; the compiler cannot distinguish the signatures,
69
+ * since UDate is currently typedefed to be either double or long.
70
+ * If UDate is changed later to be a bonafide class
71
+ * or struct, then we no longer need this enum.
72
+ * @stable ICU 2.4
73
+ */
74
+ enum ISDATE { kIsDate };
75
+
76
+ /**
77
+ * Default constructor
78
+ * @stable ICU 2.4
79
+ */
80
+ Formattable(); // Type kLong, value 0
81
+
82
+ /**
83
+ * Creates a Formattable object with a UDate instance.
84
+ * @param d the UDate instance.
85
+ * @param flag the flag to indicate this is a date. Always set it to kIsDate
86
+ * @stable ICU 2.0
87
+ */
88
+ Formattable(UDate d, ISDATE flag);
89
+
90
+ /**
91
+ * Creates a Formattable object with a double number.
92
+ * @param d the double number.
93
+ * @stable ICU 2.0
94
+ */
95
+ Formattable(double d);
96
+
97
+ /**
98
+ * Creates a Formattable object with a long number.
99
+ * @param l the long number.
100
+ * @stable ICU 2.0
101
+ */
102
+ Formattable(int32_t l);
103
+
104
+ /**
105
+ * Creates a Formattable object with an int64_t number
106
+ * @param ll the int64_t number.
107
+ * @stable ICU 2.8
108
+ */
109
+ Formattable(int64_t ll);
110
+
111
+ #if !UCONFIG_NO_CONVERSION
112
+ /**
113
+ * Creates a Formattable object with a char string pointer.
114
+ * Assumes that the char string is null terminated.
115
+ * @param strToCopy the char string.
116
+ * @stable ICU 2.0
117
+ */
118
+ Formattable(const char* strToCopy);
119
+ #endif
120
+
121
+ /**
122
+ * Creates a Formattable object of an appropriate numeric type from a
123
+ * a decimal number in string form. The Formattable will retain the
124
+ * full precision of the input in decimal format, even when it exceeds
125
+ * what can be represented by a double or int64_t.
126
+ *
127
+ * @param number the unformatted (not localized) string representation
128
+ * of the Decimal number.
129
+ * @param status the error code. Possible errors include U_INVALID_FORMAT_ERROR
130
+ * if the format of the string does not conform to that of a
131
+ * decimal number.
132
+ * @stable ICU 4.4
133
+ */
134
+ Formattable(StringPiece number, UErrorCode &status);
135
+
136
+ /**
137
+ * Creates a Formattable object with a UnicodeString object to copy from.
138
+ * @param strToCopy the UnicodeString string.
139
+ * @stable ICU 2.0
140
+ */
141
+ Formattable(const UnicodeString& strToCopy);
142
+
143
+ /**
144
+ * Creates a Formattable object with a UnicodeString object to adopt from.
145
+ * @param strToAdopt the UnicodeString string.
146
+ * @stable ICU 2.0
147
+ */
148
+ Formattable(UnicodeString* strToAdopt);
149
+
150
+ /**
151
+ * Creates a Formattable object with an array of Formattable objects.
152
+ * @param arrayToCopy the Formattable object array.
153
+ * @param count the array count.
154
+ * @stable ICU 2.0
155
+ */
156
+ Formattable(const Formattable* arrayToCopy, int32_t count);
157
+
158
+ /**
159
+ * Creates a Formattable object that adopts the given UObject.
160
+ * @param objectToAdopt the UObject to set this object to
161
+ * @stable ICU 3.0
162
+ */
163
+ Formattable(UObject* objectToAdopt);
164
+
165
+ /**
166
+ * Copy constructor.
167
+ * @stable ICU 2.0
168
+ */
169
+ Formattable(const Formattable&);
170
+
171
+ /**
172
+ * Assignment operator.
173
+ * @param rhs The Formattable object to copy into this object.
174
+ * @stable ICU 2.0
175
+ */
176
+ Formattable& operator=(const Formattable &rhs);
177
+
178
+ /**
179
+ * Equality comparison.
180
+ * @param other the object to be compared with.
181
+ * @return true if other are equal to this, false otherwise.
182
+ * @stable ICU 2.0
183
+ */
184
+ bool operator==(const Formattable &other) const;
185
+
186
+ /**
187
+ * Equality operator.
188
+ * @param other the object to be compared with.
189
+ * @return true if other are unequal to this, false otherwise.
190
+ * @stable ICU 2.0
191
+ */
192
+ bool operator!=(const Formattable& other) const
193
+ { return !operator==(other); }
194
+
195
+ /**
196
+ * Destructor.
197
+ * @stable ICU 2.0
198
+ */
199
+ virtual ~Formattable();
200
+
201
+ /**
202
+ * Clone this object.
203
+ * Clones can be used concurrently in multiple threads.
204
+ * If an error occurs, then nullptr is returned.
205
+ * The caller must delete the clone.
206
+ *
207
+ * @return a clone of this object
208
+ *
209
+ * @see getDynamicClassID
210
+ * @stable ICU 2.8
211
+ */
212
+ Formattable *clone() const;
213
+
214
+ /**
215
+ * Selector for flavor of data type contained within a
216
+ * Formattable object. Formattable is a union of several
217
+ * different types, and at any time contains exactly one type.
218
+ * @stable ICU 2.4
219
+ */
220
+ enum Type {
221
+ /**
222
+ * Selector indicating a UDate value. Use getDate to retrieve
223
+ * the value.
224
+ * @stable ICU 2.4
225
+ */
226
+ kDate,
227
+
228
+ /**
229
+ * Selector indicating a double value. Use getDouble to
230
+ * retrieve the value.
231
+ * @stable ICU 2.4
232
+ */
233
+ kDouble,
234
+
235
+ /**
236
+ * Selector indicating a 32-bit integer value. Use getLong to
237
+ * retrieve the value.
238
+ * @stable ICU 2.4
239
+ */
240
+ kLong,
241
+
242
+ /**
243
+ * Selector indicating a UnicodeString value. Use getString
244
+ * to retrieve the value.
245
+ * @stable ICU 2.4
246
+ */
247
+ kString,
248
+
249
+ /**
250
+ * Selector indicating an array of Formattables. Use getArray
251
+ * to retrieve the value.
252
+ * @stable ICU 2.4
253
+ */
254
+ kArray,
255
+
256
+ /**
257
+ * Selector indicating a 64-bit integer value. Use getInt64
258
+ * to retrieve the value.
259
+ * @stable ICU 2.8
260
+ */
261
+ kInt64,
262
+
263
+ /**
264
+ * Selector indicating a UObject value. Use getObject to
265
+ * retrieve the value.
266
+ * @stable ICU 3.0
267
+ */
268
+ kObject
269
+ };
270
+
271
+ /**
272
+ * Gets the data type of this Formattable object.
273
+ * @return the data type of this Formattable object.
274
+ * @stable ICU 2.0
275
+ */
276
+ Type getType() const;
277
+
278
+ /**
279
+ * Returns true if the data type of this Formattable object
280
+ * is kDouble, kLong, or kInt64
281
+ * @return true if this is a pure numeric object
282
+ * @stable ICU 3.0
283
+ */
284
+ UBool isNumeric() const;
285
+
286
+ /**
287
+ * Gets the double value of this object. If this object is not of type
288
+ * kDouble then the result is undefined.
289
+ * @return the double value of this object.
290
+ * @stable ICU 2.0
291
+ */
292
+ double getDouble() const { return fValue.fDouble; }
293
+
294
+ /**
295
+ * Gets the double value of this object. If this object is of type
296
+ * long, int64 or Decimal Number then a conversion is performed, with
297
+ * possible loss of precision. If the type is kObject and the
298
+ * object is a Measure, then the result of
299
+ * getNumber().getDouble(status) is returned. If this object is
300
+ * neither a numeric type nor a Measure, then 0 is returned and
301
+ * the status is set to U_INVALID_FORMAT_ERROR.
302
+ * @param status the error code
303
+ * @return the double value of this object.
304
+ * @stable ICU 3.0
305
+ */
306
+ double getDouble(UErrorCode& status) const;
307
+
308
+ /**
309
+ * Gets the long value of this object. If this object is not of type
310
+ * kLong then the result is undefined.
311
+ * @return the long value of this object.
312
+ * @stable ICU 2.0
313
+ */
314
+ int32_t getLong() const { return static_cast<int32_t>(fValue.fInt64); }
315
+
316
+ /**
317
+ * Gets the long value of this object. If the magnitude is too
318
+ * large to fit in a long, then the maximum or minimum long value,
319
+ * as appropriate, is returned and the status is set to
320
+ * U_INVALID_FORMAT_ERROR. If this object is of type kInt64 and
321
+ * it fits within a long, then no precision is lost. If it is of
322
+ * type kDouble, then a conversion is performed, with
323
+ * truncation of any fractional part. If the type is kObject and
324
+ * the object is a Measure, then the result of
325
+ * getNumber().getLong(status) is returned. If this object is
326
+ * neither a numeric type nor a Measure, then 0 is returned and
327
+ * the status is set to U_INVALID_FORMAT_ERROR.
328
+ * @param status the error code
329
+ * @return the long value of this object.
330
+ * @stable ICU 3.0
331
+ */
332
+ int32_t getLong(UErrorCode& status) const;
333
+
334
+ /**
335
+ * Gets the int64 value of this object. If this object is not of type
336
+ * kInt64 then the result is undefined.
337
+ * @return the int64 value of this object.
338
+ * @stable ICU 2.8
339
+ */
340
+ int64_t getInt64() const { return fValue.fInt64; }
341
+
342
+ /**
343
+ * Gets the int64 value of this object. If this object is of a numeric
344
+ * type and the magnitude is too large to fit in an int64, then
345
+ * the maximum or minimum int64 value, as appropriate, is returned
346
+ * and the status is set to U_INVALID_FORMAT_ERROR. If the
347
+ * magnitude fits in an int64, then a casting conversion is
348
+ * performed, with truncation of any fractional part. If the type
349
+ * is kObject and the object is a Measure, then the result of
350
+ * getNumber().getDouble(status) is returned. If this object is
351
+ * neither a numeric type nor a Measure, then 0 is returned and
352
+ * the status is set to U_INVALID_FORMAT_ERROR.
353
+ * @param status the error code
354
+ * @return the int64 value of this object.
355
+ * @stable ICU 3.0
356
+ */
357
+ int64_t getInt64(UErrorCode& status) const;
358
+
359
+ /**
360
+ * Gets the Date value of this object. If this object is not of type
361
+ * kDate then the result is undefined.
362
+ * @return the Date value of this object.
363
+ * @stable ICU 2.0
364
+ */
365
+ UDate getDate() const { return fValue.fDate; }
366
+
367
+ /**
368
+ * Gets the Date value of this object. If the type is not a date,
369
+ * status is set to U_INVALID_FORMAT_ERROR and the return value is
370
+ * undefined.
371
+ * @param status the error code.
372
+ * @return the Date value of this object.
373
+ * @stable ICU 3.0
374
+ */
375
+ UDate getDate(UErrorCode& status) const;
376
+
377
+ /**
378
+ * Gets the string value of this object. If this object is not of type
379
+ * kString then the result is undefined.
380
+ * @param result Output param to receive the Date value of this object.
381
+ * @return A reference to 'result'.
382
+ * @stable ICU 2.0
383
+ */
384
+ UnicodeString& getString(UnicodeString& result) const
385
+ { result=*fValue.fString; return result; }
386
+
387
+ /**
388
+ * Gets the string value of this object. If the type is not a
389
+ * string, status is set to U_INVALID_FORMAT_ERROR and a bogus
390
+ * string is returned.
391
+ * @param result Output param to receive the Date value of this object.
392
+ * @param status the error code.
393
+ * @return A reference to 'result'.
394
+ * @stable ICU 3.0
395
+ */
396
+ UnicodeString& getString(UnicodeString& result, UErrorCode& status) const;
397
+
398
+ /**
399
+ * Gets a const reference to the string value of this object. If
400
+ * this object is not of type kString then the result is
401
+ * undefined.
402
+ * @return a const reference to the string value of this object.
403
+ * @stable ICU 2.0
404
+ */
405
+ inline const UnicodeString& getString() const;
406
+
407
+ /**
408
+ * Gets a const reference to the string value of this object. If
409
+ * the type is not a string, status is set to
410
+ * U_INVALID_FORMAT_ERROR and the result is a bogus string.
411
+ * @param status the error code.
412
+ * @return a const reference to the string value of this object.
413
+ * @stable ICU 3.0
414
+ */
415
+ const UnicodeString& getString(UErrorCode& status) const;
416
+
417
+ /**
418
+ * Gets a reference to the string value of this object. If this
419
+ * object is not of type kString then the result is undefined.
420
+ * @return a reference to the string value of this object.
421
+ * @stable ICU 2.0
422
+ */
423
+ inline UnicodeString& getString();
424
+
425
+ /**
426
+ * Gets a reference to the string value of this object. If the
427
+ * type is not a string, status is set to U_INVALID_FORMAT_ERROR
428
+ * and the result is a bogus string.
429
+ * @param status the error code.
430
+ * @return a reference to the string value of this object.
431
+ * @stable ICU 3.0
432
+ */
433
+ UnicodeString& getString(UErrorCode& status);
434
+
435
+ /**
436
+ * Gets the array value and count of this object. If this object
437
+ * is not of type kArray then the result is undefined.
438
+ * @param count fill-in with the count of this object.
439
+ * @return the array value of this object.
440
+ * @stable ICU 2.0
441
+ */
442
+ const Formattable* getArray(int32_t& count) const
443
+ { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; }
444
+
445
+ /**
446
+ * Gets the array value and count of this object. If the type is
447
+ * not an array, status is set to U_INVALID_FORMAT_ERROR, count is
448
+ * set to 0, and the result is nullptr.
449
+ * @param count fill-in with the count of this object.
450
+ * @param status the error code.
451
+ * @return the array value of this object.
452
+ * @stable ICU 3.0
453
+ */
454
+ const Formattable* getArray(int32_t& count, UErrorCode& status) const;
455
+
456
+ /**
457
+ * Accesses the specified element in the array value of this
458
+ * Formattable object. If this object is not of type kArray then
459
+ * the result is undefined.
460
+ * @param index the specified index.
461
+ * @return the accessed element in the array.
462
+ * @stable ICU 2.0
463
+ */
464
+ Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
465
+
466
+ /**
467
+ * Returns a pointer to the UObject contained within this
468
+ * formattable, or nullptr if this object does not contain a UObject.
469
+ * @return a UObject pointer, or nullptr
470
+ * @stable ICU 3.0
471
+ */
472
+ const UObject* getObject() const;
473
+
474
+ /**
475
+ * Returns a numeric string representation of the number contained within this
476
+ * formattable, or nullptr if this object does not contain numeric type.
477
+ * For values obtained by parsing, the returned decimal number retains
478
+ * the full precision and range of the original input, unconstrained by
479
+ * the limits of a double floating point or a 64 bit int.
480
+ *
481
+ * This function is not thread safe, and therefore is not declared const,
482
+ * even though it is logically const.
483
+ *
484
+ * Possible errors include U_MEMORY_ALLOCATION_ERROR, and
485
+ * U_INVALID_STATE if the formattable object has not been set to
486
+ * a numeric type.
487
+ *
488
+ * @param status the error code.
489
+ * @return the unformatted string representation of a number.
490
+ * @stable ICU 4.4
491
+ */
492
+ StringPiece getDecimalNumber(UErrorCode &status);
493
+
494
+ /**
495
+ * Sets the double value of this object and changes the type to
496
+ * kDouble.
497
+ * @param d the new double value to be set.
498
+ * @stable ICU 2.0
499
+ */
500
+ void setDouble(double d);
501
+
502
+ /**
503
+ * Sets the long value of this object and changes the type to
504
+ * kLong.
505
+ * @param l the new long value to be set.
506
+ * @stable ICU 2.0
507
+ */
508
+ void setLong(int32_t l);
509
+
510
+ /**
511
+ * Sets the int64 value of this object and changes the type to
512
+ * kInt64.
513
+ * @param ll the new int64 value to be set.
514
+ * @stable ICU 2.8
515
+ */
516
+ void setInt64(int64_t ll);
517
+
518
+ /**
519
+ * Sets the Date value of this object and changes the type to
520
+ * kDate.
521
+ * @param d the new Date value to be set.
522
+ * @stable ICU 2.0
523
+ */
524
+ void setDate(UDate d);
525
+
526
+ /**
527
+ * Sets the string value of this object and changes the type to
528
+ * kString.
529
+ * @param stringToCopy the new string value to be set.
530
+ * @stable ICU 2.0
531
+ */
532
+ void setString(const UnicodeString& stringToCopy);
533
+
534
+ /**
535
+ * Sets the array value and count of this object and changes the
536
+ * type to kArray.
537
+ * @param array the array value.
538
+ * @param count the number of array elements to be copied.
539
+ * @stable ICU 2.0
540
+ */
541
+ void setArray(const Formattable* array, int32_t count);
542
+
543
+ /**
544
+ * Sets and adopts the string value and count of this object and
545
+ * changes the type to kArray.
546
+ * @param stringToAdopt the new string value to be adopted.
547
+ * @stable ICU 2.0
548
+ */
549
+ void adoptString(UnicodeString* stringToAdopt);
550
+
551
+ /**
552
+ * Sets and adopts the array value and count of this object and
553
+ * changes the type to kArray.
554
+ * @stable ICU 2.0
555
+ */
556
+ void adoptArray(Formattable* array, int32_t count);
557
+
558
+ /**
559
+ * Sets and adopts the UObject value of this object and changes
560
+ * the type to kObject. After this call, the caller must not
561
+ * delete the given object.
562
+ * @param objectToAdopt the UObject value to be adopted
563
+ * @stable ICU 3.0
564
+ */
565
+ void adoptObject(UObject* objectToAdopt);
566
+
567
+ /**
568
+ * Sets the the numeric value from a decimal number string, and changes
569
+ * the type to to a numeric type appropriate for the number.
570
+ * The syntax of the number is a "numeric string"
571
+ * as defined in the Decimal Arithmetic Specification, available at
572
+ * http://speleotrove.com/decimal
573
+ * The full precision and range of the input number will be retained,
574
+ * even when it exceeds what can be represented by a double or an int64.
575
+ *
576
+ * @param numberString a string representation of the unformatted decimal number.
577
+ * @param status the error code. Set to U_INVALID_FORMAT_ERROR if the
578
+ * incoming string is not a valid decimal number.
579
+ * @stable ICU 4.4
580
+ */
581
+ void setDecimalNumber(StringPiece numberString,
582
+ UErrorCode &status);
583
+
584
+ /**
585
+ * ICU "poor man's RTTI", returns a UClassID for the actual class.
586
+ *
587
+ * @stable ICU 2.2
588
+ */
589
+ virtual UClassID getDynamicClassID() const override;
590
+
591
+ /**
592
+ * ICU "poor man's RTTI", returns a UClassID for this class.
593
+ *
594
+ * @stable ICU 2.2
595
+ */
596
+ static UClassID U_EXPORT2 getStaticClassID();
597
+
598
+ /**
599
+ * Convert the UFormattable to a Formattable. Internally, this is a reinterpret_cast.
600
+ * @param fmt a valid UFormattable
601
+ * @return the UFormattable as a Formattable object pointer. This is an alias to the original
602
+ * UFormattable, and so is only valid while the original argument remains in scope.
603
+ * @stable ICU 52
604
+ */
605
+ static inline Formattable *fromUFormattable(UFormattable *fmt);
606
+
607
+ /**
608
+ * Convert the const UFormattable to a const Formattable. Internally, this is a reinterpret_cast.
609
+ * @param fmt a valid UFormattable
610
+ * @return the UFormattable as a Formattable object pointer. This is an alias to the original
611
+ * UFormattable, and so is only valid while the original argument remains in scope.
612
+ * @stable ICU 52
613
+ */
614
+ static inline const Formattable *fromUFormattable(const UFormattable *fmt);
615
+
616
+ /**
617
+ * Convert this object pointer to a UFormattable.
618
+ * @return this object as a UFormattable pointer. This is an alias to this object,
619
+ * and so is only valid while this object remains in scope.
620
+ * @stable ICU 52
621
+ */
622
+ inline UFormattable *toUFormattable();
623
+
624
+ /**
625
+ * Convert this object pointer to a UFormattable.
626
+ * @return this object as a UFormattable pointer. This is an alias to this object,
627
+ * and so is only valid while this object remains in scope.
628
+ * @stable ICU 52
629
+ */
630
+ inline const UFormattable *toUFormattable() const;
631
+
632
+ #ifndef U_HIDE_DEPRECATED_API
633
+ /**
634
+ * Deprecated variant of getLong(UErrorCode&).
635
+ * @param status the error code
636
+ * @return the long value of this object.
637
+ * @deprecated ICU 3.0 use getLong(UErrorCode&) instead
638
+ */
639
+ inline int32_t getLong(UErrorCode* status) const;
640
+ #endif /* U_HIDE_DEPRECATED_API */
641
+
642
+ #ifndef U_HIDE_INTERNAL_API
643
+ /**
644
+ * Internal function, do not use.
645
+ * TODO: figure out how to make this be non-public.
646
+ * NumberFormat::format(Formattable, ...
647
+ * needs to get at the DecimalQuantity, if it exists, for
648
+ * big decimal formatting.
649
+ * @internal
650
+ */
651
+ number::impl::DecimalQuantity *getDecimalQuantity() const { return fDecimalQuantity;}
652
+
653
+ /**
654
+ * Export the value of this Formattable to a DecimalQuantity.
655
+ * @internal
656
+ */
657
+ void populateDecimalQuantity(number::impl::DecimalQuantity& output, UErrorCode& status) const;
658
+
659
+ /**
660
+ * Adopt, and set value from, a DecimalQuantity
661
+ * Internal Function, do not use.
662
+ * @param dq the DecimalQuantity to be adopted
663
+ * @internal
664
+ */
665
+ void adoptDecimalQuantity(number::impl::DecimalQuantity *dq);
666
+
667
+ /**
668
+ * Internal function to return the CharString pointer.
669
+ * @param status error code
670
+ * @return pointer to the CharString - may become invalid if the object is modified
671
+ * @internal
672
+ */
673
+ CharString *internalGetCharString(UErrorCode &status);
674
+
675
+ #endif /* U_HIDE_INTERNAL_API */
676
+
677
+ private:
678
+ /**
679
+ * Cleans up the memory for unwanted values. For example, the adopted
680
+ * string or array objects.
681
+ */
682
+ void dispose();
683
+
684
+ /**
685
+ * Common initialization, for use by constructors.
686
+ */
687
+ void init();
688
+
689
+ UnicodeString* getBogus() const;
690
+
691
+ union {
692
+ UObject* fObject;
693
+ UnicodeString* fString;
694
+ double fDouble;
695
+ int64_t fInt64;
696
+ UDate fDate;
697
+ struct {
698
+ Formattable* fArray;
699
+ int32_t fCount;
700
+ } fArrayAndCount;
701
+ } fValue;
702
+
703
+ CharString *fDecimalStr;
704
+
705
+ number::impl::DecimalQuantity *fDecimalQuantity;
706
+
707
+ Type fType;
708
+ UnicodeString fBogus; // Bogus string when it's needed.
709
+ };
710
+
711
+ inline UDate Formattable::getDate(UErrorCode& status) const {
712
+ if (fType != kDate) {
713
+ if (U_SUCCESS(status)) {
714
+ status = U_INVALID_FORMAT_ERROR;
715
+ }
716
+ return 0;
717
+ }
718
+ return fValue.fDate;
719
+ }
720
+
721
+ inline const UnicodeString& Formattable::getString() const {
722
+ return *fValue.fString;
723
+ }
724
+
725
+ inline UnicodeString& Formattable::getString() {
726
+ return *fValue.fString;
727
+ }
728
+
729
+ #ifndef U_HIDE_DEPRECATED_API
730
+ inline int32_t Formattable::getLong(UErrorCode* status) const {
731
+ return getLong(*status);
732
+ }
733
+ #endif /* U_HIDE_DEPRECATED_API */
734
+
735
+ inline UFormattable* Formattable::toUFormattable() {
736
+ return reinterpret_cast<UFormattable*>(this);
737
+ }
738
+
739
+ inline const UFormattable* Formattable::toUFormattable() const {
740
+ return reinterpret_cast<const UFormattable*>(this);
741
+ }
742
+
743
+ inline Formattable* Formattable::fromUFormattable(UFormattable *fmt) {
744
+ return reinterpret_cast<Formattable *>(fmt);
745
+ }
746
+
747
+ inline const Formattable* Formattable::fromUFormattable(const UFormattable *fmt) {
748
+ return reinterpret_cast<const Formattable *>(fmt);
749
+ }
750
+
751
+ U_NAMESPACE_END
752
+
753
+ #endif /* #if !UCONFIG_NO_FORMATTING */
754
+
755
+ #endif /* U_SHOW_CPLUSPLUS_API */
756
+
757
+ #endif //_FMTABLE
758
+ //eof