@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.
- package/LICENSE.txt +1445 -0
- package/README.md +24 -2
- package/files.json +366 -0
- package/package.json +18 -4
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
/*
|
|
4
|
+
*******************************************************************************
|
|
5
|
+
* Copyright (C) 2010-2012, International Business Machines
|
|
6
|
+
* Corporation and others. All Rights Reserved.
|
|
7
|
+
*******************************************************************************
|
|
8
|
+
* file name: idna.h
|
|
9
|
+
* encoding: UTF-8
|
|
10
|
+
* tab size: 8 (not used)
|
|
11
|
+
* indentation:4
|
|
12
|
+
*
|
|
13
|
+
* created on: 2010mar05
|
|
14
|
+
* created by: Markus W. Scherer
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
#ifndef __IDNA_H__
|
|
18
|
+
#define __IDNA_H__
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* \file
|
|
22
|
+
* \brief C++ API: Internationalizing Domain Names in Applications (IDNA)
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
#include <_foundation_unicode/utypes.h>
|
|
26
|
+
|
|
27
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
28
|
+
|
|
29
|
+
#if !UCONFIG_NO_IDNA
|
|
30
|
+
|
|
31
|
+
#include <_foundation_unicode/bytestream.h>
|
|
32
|
+
#include <_foundation_unicode/stringpiece.h>
|
|
33
|
+
#include <_foundation_unicode/uidna.h>
|
|
34
|
+
#include <_foundation_unicode/unistr.h>
|
|
35
|
+
|
|
36
|
+
U_NAMESPACE_BEGIN
|
|
37
|
+
|
|
38
|
+
class IDNAInfo;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Abstract base class for IDNA processing.
|
|
42
|
+
* See http://www.unicode.org/reports/tr46/
|
|
43
|
+
* and http://www.ietf.org/rfc/rfc3490.txt
|
|
44
|
+
*
|
|
45
|
+
* The IDNA class is not intended for public subclassing.
|
|
46
|
+
*
|
|
47
|
+
* This C++ API currently only implements UTS #46.
|
|
48
|
+
* The uidna.h C API implements both UTS #46 (functions using UIDNA service object)
|
|
49
|
+
* and IDNA2003 (functions that do not use a service object).
|
|
50
|
+
* @stable ICU 4.6
|
|
51
|
+
*/
|
|
52
|
+
class U_COMMON_API IDNA : public UObject {
|
|
53
|
+
public:
|
|
54
|
+
/**
|
|
55
|
+
* Destructor.
|
|
56
|
+
* @stable ICU 4.6
|
|
57
|
+
*/
|
|
58
|
+
~IDNA();
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Returns an IDNA instance which implements UTS #46.
|
|
62
|
+
* Returns an unmodifiable instance, owned by the caller.
|
|
63
|
+
* Cache it for multiple operations, and delete it when done.
|
|
64
|
+
* The instance is thread-safe, that is, it can be used concurrently.
|
|
65
|
+
*
|
|
66
|
+
* UTS #46 defines Unicode IDNA Compatibility Processing,
|
|
67
|
+
* updated to the latest version of Unicode and compatible with both
|
|
68
|
+
* IDNA2003 and IDNA2008.
|
|
69
|
+
*
|
|
70
|
+
* The worker functions use transitional processing, including deviation mappings,
|
|
71
|
+
* unless UIDNA_NONTRANSITIONAL_TO_ASCII or UIDNA_NONTRANSITIONAL_TO_UNICODE
|
|
72
|
+
* is used in which case the deviation characters are passed through without change.
|
|
73
|
+
* <b>Unicode 15.1 UTS #46 deprecated transitional processing.</b>
|
|
74
|
+
*
|
|
75
|
+
* Disallowed characters are mapped to U+FFFD.
|
|
76
|
+
*
|
|
77
|
+
* For available options see the uidna.h header.
|
|
78
|
+
* Operations with the UTS #46 instance do not support the
|
|
79
|
+
* UIDNA_ALLOW_UNASSIGNED option.
|
|
80
|
+
*
|
|
81
|
+
* By default, the UTS #46 implementation allows all ASCII characters (as valid or mapped).
|
|
82
|
+
* When the UIDNA_USE_STD3_RULES option is used, ASCII characters other than
|
|
83
|
+
* letters, digits, hyphen (LDH) and dot/full stop are disallowed and mapped to U+FFFD.
|
|
84
|
+
*
|
|
85
|
+
* @param options Bit set to modify the processing and error checking.
|
|
86
|
+
* These should include UIDNA_DEFAULT, or
|
|
87
|
+
* UIDNA_NONTRANSITIONAL_TO_ASCII | UIDNA_NONTRANSITIONAL_TO_UNICODE.
|
|
88
|
+
* See option bit set values in uidna.h.
|
|
89
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
90
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
91
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
92
|
+
* function chaining. (See User Guide for details.)
|
|
93
|
+
* @return the UTS #46 IDNA instance, if successful
|
|
94
|
+
* @stable ICU 4.6
|
|
95
|
+
*/
|
|
96
|
+
static IDNA *
|
|
97
|
+
createUTS46Instance(uint32_t options, UErrorCode &errorCode);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Converts a single domain name label into its ASCII form for DNS lookup.
|
|
101
|
+
* If any processing step fails, then info.hasErrors() will be true and
|
|
102
|
+
* the result might not be an ASCII string.
|
|
103
|
+
* The label might be modified according to the types of errors.
|
|
104
|
+
* Labels with severe errors will be left in (or turned into) their Unicode form.
|
|
105
|
+
*
|
|
106
|
+
* The UErrorCode indicates an error only in exceptional cases,
|
|
107
|
+
* such as a U_MEMORY_ALLOCATION_ERROR.
|
|
108
|
+
*
|
|
109
|
+
* @param label Input domain name label
|
|
110
|
+
* @param dest Destination string object
|
|
111
|
+
* @param info Output container of IDNA processing details.
|
|
112
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
113
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
114
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
115
|
+
* function chaining. (See User Guide for details.)
|
|
116
|
+
* @return dest
|
|
117
|
+
* @stable ICU 4.6
|
|
118
|
+
*/
|
|
119
|
+
virtual UnicodeString &
|
|
120
|
+
labelToASCII(const UnicodeString &label, UnicodeString &dest,
|
|
121
|
+
IDNAInfo &info, UErrorCode &errorCode) const = 0;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Converts a single domain name label into its Unicode form for human-readable display.
|
|
125
|
+
* If any processing step fails, then info.hasErrors() will be true.
|
|
126
|
+
* The label might be modified according to the types of errors.
|
|
127
|
+
*
|
|
128
|
+
* The UErrorCode indicates an error only in exceptional cases,
|
|
129
|
+
* such as a U_MEMORY_ALLOCATION_ERROR.
|
|
130
|
+
*
|
|
131
|
+
* @param label Input domain name label
|
|
132
|
+
* @param dest Destination string object
|
|
133
|
+
* @param info Output container of IDNA processing details.
|
|
134
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
135
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
136
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
137
|
+
* function chaining. (See User Guide for details.)
|
|
138
|
+
* @return dest
|
|
139
|
+
* @stable ICU 4.6
|
|
140
|
+
*/
|
|
141
|
+
virtual UnicodeString &
|
|
142
|
+
labelToUnicode(const UnicodeString &label, UnicodeString &dest,
|
|
143
|
+
IDNAInfo &info, UErrorCode &errorCode) const = 0;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Converts a whole domain name into its ASCII form for DNS lookup.
|
|
147
|
+
* If any processing step fails, then info.hasErrors() will be true and
|
|
148
|
+
* the result might not be an ASCII string.
|
|
149
|
+
* The domain name might be modified according to the types of errors.
|
|
150
|
+
* Labels with severe errors will be left in (or turned into) their Unicode form.
|
|
151
|
+
*
|
|
152
|
+
* The UErrorCode indicates an error only in exceptional cases,
|
|
153
|
+
* such as a U_MEMORY_ALLOCATION_ERROR.
|
|
154
|
+
*
|
|
155
|
+
* @param name Input domain name
|
|
156
|
+
* @param dest Destination string object
|
|
157
|
+
* @param info Output container of IDNA processing details.
|
|
158
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
159
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
160
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
161
|
+
* function chaining. (See User Guide for details.)
|
|
162
|
+
* @return dest
|
|
163
|
+
* @stable ICU 4.6
|
|
164
|
+
*/
|
|
165
|
+
virtual UnicodeString &
|
|
166
|
+
nameToASCII(const UnicodeString &name, UnicodeString &dest,
|
|
167
|
+
IDNAInfo &info, UErrorCode &errorCode) const = 0;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Converts a whole domain name into its Unicode form for human-readable display.
|
|
171
|
+
* If any processing step fails, then info.hasErrors() will be true.
|
|
172
|
+
* The domain name might be modified according to the types of errors.
|
|
173
|
+
*
|
|
174
|
+
* The UErrorCode indicates an error only in exceptional cases,
|
|
175
|
+
* such as a U_MEMORY_ALLOCATION_ERROR.
|
|
176
|
+
*
|
|
177
|
+
* @param name Input domain name
|
|
178
|
+
* @param dest Destination string object
|
|
179
|
+
* @param info Output container of IDNA processing details.
|
|
180
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
181
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
182
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
183
|
+
* function chaining. (See User Guide for details.)
|
|
184
|
+
* @return dest
|
|
185
|
+
* @stable ICU 4.6
|
|
186
|
+
*/
|
|
187
|
+
virtual UnicodeString &
|
|
188
|
+
nameToUnicode(const UnicodeString &name, UnicodeString &dest,
|
|
189
|
+
IDNAInfo &info, UErrorCode &errorCode) const = 0;
|
|
190
|
+
|
|
191
|
+
// UTF-8 versions of the processing methods ---------------------------- ***
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Converts a single domain name label into its ASCII form for DNS lookup.
|
|
195
|
+
* UTF-8 version of labelToASCII(), same behavior.
|
|
196
|
+
*
|
|
197
|
+
* @param label Input domain name label
|
|
198
|
+
* @param dest Destination byte sink; Flush()ed if successful
|
|
199
|
+
* @param info Output container of IDNA processing details.
|
|
200
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
201
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
202
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
203
|
+
* function chaining. (See User Guide for details.)
|
|
204
|
+
* @return dest
|
|
205
|
+
* @stable ICU 4.6
|
|
206
|
+
*/
|
|
207
|
+
virtual void
|
|
208
|
+
labelToASCII_UTF8(StringPiece label, ByteSink &dest,
|
|
209
|
+
IDNAInfo &info, UErrorCode &errorCode) const;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Converts a single domain name label into its Unicode form for human-readable display.
|
|
213
|
+
* UTF-8 version of labelToUnicode(), same behavior.
|
|
214
|
+
*
|
|
215
|
+
* @param label Input domain name label
|
|
216
|
+
* @param dest Destination byte sink; Flush()ed if successful
|
|
217
|
+
* @param info Output container of IDNA processing details.
|
|
218
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
219
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
220
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
221
|
+
* function chaining. (See User Guide for details.)
|
|
222
|
+
* @return dest
|
|
223
|
+
* @stable ICU 4.6
|
|
224
|
+
*/
|
|
225
|
+
virtual void
|
|
226
|
+
labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
|
|
227
|
+
IDNAInfo &info, UErrorCode &errorCode) const;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Converts a whole domain name into its ASCII form for DNS lookup.
|
|
231
|
+
* UTF-8 version of nameToASCII(), same behavior.
|
|
232
|
+
*
|
|
233
|
+
* @param name Input domain name
|
|
234
|
+
* @param dest Destination byte sink; Flush()ed if successful
|
|
235
|
+
* @param info Output container of IDNA processing details.
|
|
236
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
237
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
238
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
239
|
+
* function chaining. (See User Guide for details.)
|
|
240
|
+
* @return dest
|
|
241
|
+
* @stable ICU 4.6
|
|
242
|
+
*/
|
|
243
|
+
virtual void
|
|
244
|
+
nameToASCII_UTF8(StringPiece name, ByteSink &dest,
|
|
245
|
+
IDNAInfo &info, UErrorCode &errorCode) const;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Converts a whole domain name into its Unicode form for human-readable display.
|
|
249
|
+
* UTF-8 version of nameToUnicode(), same behavior.
|
|
250
|
+
*
|
|
251
|
+
* @param name Input domain name
|
|
252
|
+
* @param dest Destination byte sink; Flush()ed if successful
|
|
253
|
+
* @param info Output container of IDNA processing details.
|
|
254
|
+
* @param errorCode Standard ICU error code. Its input value must
|
|
255
|
+
* pass the U_SUCCESS() test, or else the function returns
|
|
256
|
+
* immediately. Check for U_FAILURE() on output or use with
|
|
257
|
+
* function chaining. (See User Guide for details.)
|
|
258
|
+
* @return dest
|
|
259
|
+
* @stable ICU 4.6
|
|
260
|
+
*/
|
|
261
|
+
virtual void
|
|
262
|
+
nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
|
|
263
|
+
IDNAInfo &info, UErrorCode &errorCode) const;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
class UTS46;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Output container for IDNA processing errors.
|
|
270
|
+
* The IDNAInfo class is not suitable for subclassing.
|
|
271
|
+
* @stable ICU 4.6
|
|
272
|
+
*/
|
|
273
|
+
class U_COMMON_API IDNAInfo : public UMemory {
|
|
274
|
+
public:
|
|
275
|
+
/**
|
|
276
|
+
* Constructor for stack allocation.
|
|
277
|
+
* @stable ICU 4.6
|
|
278
|
+
*/
|
|
279
|
+
IDNAInfo() : errors(0), labelErrors(0), isTransDiff(false), isBiDi(false), isOkBiDi(true) {}
|
|
280
|
+
/**
|
|
281
|
+
* Were there IDNA processing errors?
|
|
282
|
+
* @return true if there were processing errors
|
|
283
|
+
* @stable ICU 4.6
|
|
284
|
+
*/
|
|
285
|
+
UBool hasErrors() const { return errors!=0; }
|
|
286
|
+
/**
|
|
287
|
+
* Returns a bit set indicating IDNA processing errors.
|
|
288
|
+
* See UIDNA_ERROR_... constants in uidna.h.
|
|
289
|
+
* @return bit set of processing errors
|
|
290
|
+
* @stable ICU 4.6
|
|
291
|
+
*/
|
|
292
|
+
uint32_t getErrors() const { return errors; }
|
|
293
|
+
/**
|
|
294
|
+
* Returns true if transitional and nontransitional processing produce different results.
|
|
295
|
+
* This is the case when the input label or domain name contains
|
|
296
|
+
* one or more deviation characters outside a Punycode label (see UTS #46).
|
|
297
|
+
* <ul>
|
|
298
|
+
* <li>With nontransitional processing, such characters are
|
|
299
|
+
* copied to the destination string.
|
|
300
|
+
* <li>With transitional processing, such characters are
|
|
301
|
+
* mapped (sharp s/sigma) or removed (joiner/nonjoiner).
|
|
302
|
+
* </ul>
|
|
303
|
+
* @return true if transitional and nontransitional processing produce different results
|
|
304
|
+
* @stable ICU 4.6
|
|
305
|
+
*/
|
|
306
|
+
UBool isTransitionalDifferent() const { return isTransDiff; }
|
|
307
|
+
|
|
308
|
+
private:
|
|
309
|
+
friend class UTS46;
|
|
310
|
+
|
|
311
|
+
IDNAInfo(const IDNAInfo &other) = delete; // no copying
|
|
312
|
+
IDNAInfo &operator=(const IDNAInfo &other) = delete; // no copying
|
|
313
|
+
|
|
314
|
+
void reset() {
|
|
315
|
+
errors=labelErrors=0;
|
|
316
|
+
isTransDiff=false;
|
|
317
|
+
isBiDi=false;
|
|
318
|
+
isOkBiDi=true;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
uint32_t errors, labelErrors;
|
|
322
|
+
UBool isTransDiff;
|
|
323
|
+
UBool isBiDi;
|
|
324
|
+
UBool isOkBiDi;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
U_NAMESPACE_END
|
|
328
|
+
|
|
329
|
+
#endif // UCONFIG_NO_IDNA
|
|
330
|
+
|
|
331
|
+
#endif /* U_SHOW_CPLUSPLUS_API */
|
|
332
|
+
|
|
333
|
+
#endif // __IDNA_H__
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
/*
|
|
4
|
+
*******************************************************************************
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2012-2016, International Business Machines
|
|
7
|
+
* Corporation and others. All Rights Reserved.
|
|
8
|
+
*
|
|
9
|
+
*******************************************************************************
|
|
10
|
+
* file name: listformatter.h
|
|
11
|
+
* encoding: UTF-8
|
|
12
|
+
* tab size: 8 (not used)
|
|
13
|
+
* indentation:4
|
|
14
|
+
*
|
|
15
|
+
* created on: 20120426
|
|
16
|
+
* created by: Umesh P. Nair
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
#ifndef __LISTFORMATTER_H__
|
|
20
|
+
#define __LISTFORMATTER_H__
|
|
21
|
+
|
|
22
|
+
#include <_foundation_unicode/utypes.h>
|
|
23
|
+
|
|
24
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
25
|
+
|
|
26
|
+
#if !UCONFIG_NO_FORMATTING
|
|
27
|
+
|
|
28
|
+
#include <_foundation_unicode/unistr.h>
|
|
29
|
+
#include <_foundation_unicode/locid.h>
|
|
30
|
+
#include <_foundation_unicode/formattedvalue.h>
|
|
31
|
+
#include <_foundation_unicode/ulistformatter.h>
|
|
32
|
+
|
|
33
|
+
U_NAMESPACE_BEGIN
|
|
34
|
+
|
|
35
|
+
class FieldPositionHandler;
|
|
36
|
+
class FormattedListData;
|
|
37
|
+
class ListFormatter;
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
class Hashtable;
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
struct ListFormatInternal;
|
|
44
|
+
|
|
45
|
+
/* The following can't be #ifndef U_HIDE_INTERNAL_API, needed for other .h file declarations */
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* \cond
|
|
49
|
+
*/
|
|
50
|
+
struct ListFormatData : public UMemory {
|
|
51
|
+
UnicodeString twoPattern;
|
|
52
|
+
UnicodeString startPattern;
|
|
53
|
+
UnicodeString middlePattern;
|
|
54
|
+
UnicodeString endPattern;
|
|
55
|
+
Locale locale;
|
|
56
|
+
|
|
57
|
+
ListFormatData(const UnicodeString& two, const UnicodeString& start, const UnicodeString& middle, const UnicodeString& end,
|
|
58
|
+
const Locale& loc) :
|
|
59
|
+
twoPattern(two), startPattern(start), middlePattern(middle), endPattern(end), locale(loc) {}
|
|
60
|
+
};
|
|
61
|
+
/** \endcond */
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* \file
|
|
66
|
+
* \brief C++ API: API for formatting a list.
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* An immutable class containing the result of a list formatting operation.
|
|
72
|
+
*
|
|
73
|
+
* Instances of this class are immutable and thread-safe.
|
|
74
|
+
*
|
|
75
|
+
* When calling nextPosition():
|
|
76
|
+
* The fields are returned from start to end. The special field category
|
|
77
|
+
* UFIELD_CATEGORY_LIST_SPAN is used to indicate which argument
|
|
78
|
+
* was inserted at the given position. The span category will
|
|
79
|
+
* always occur before the corresponding instance of UFIELD_CATEGORY_LIST
|
|
80
|
+
* in the nextPosition() iterator.
|
|
81
|
+
*
|
|
82
|
+
* Not intended for public subclassing.
|
|
83
|
+
*
|
|
84
|
+
* @stable ICU 64
|
|
85
|
+
*/
|
|
86
|
+
class U_I18N_API FormattedList : public UMemory, public FormattedValue {
|
|
87
|
+
public:
|
|
88
|
+
/**
|
|
89
|
+
* Default constructor; makes an empty FormattedList.
|
|
90
|
+
* @stable ICU 64
|
|
91
|
+
*/
|
|
92
|
+
FormattedList() : fData(nullptr), fErrorCode(U_INVALID_STATE_ERROR) {}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Move constructor: Leaves the source FormattedList in an undefined state.
|
|
96
|
+
* @stable ICU 64
|
|
97
|
+
*/
|
|
98
|
+
FormattedList(FormattedList&& src) noexcept;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Destruct an instance of FormattedList.
|
|
102
|
+
* @stable ICU 64
|
|
103
|
+
*/
|
|
104
|
+
virtual ~FormattedList() override;
|
|
105
|
+
|
|
106
|
+
/** Copying not supported; use move constructor instead. */
|
|
107
|
+
FormattedList(const FormattedList&) = delete;
|
|
108
|
+
|
|
109
|
+
/** Copying not supported; use move assignment instead. */
|
|
110
|
+
FormattedList& operator=(const FormattedList&) = delete;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Move assignment: Leaves the source FormattedList in an undefined state.
|
|
114
|
+
* @stable ICU 64
|
|
115
|
+
*/
|
|
116
|
+
FormattedList& operator=(FormattedList&& src) noexcept;
|
|
117
|
+
|
|
118
|
+
/** @copydoc FormattedValue::toString() */
|
|
119
|
+
UnicodeString toString(UErrorCode& status) const override;
|
|
120
|
+
|
|
121
|
+
/** @copydoc FormattedValue::toTempString() */
|
|
122
|
+
UnicodeString toTempString(UErrorCode& status) const override;
|
|
123
|
+
|
|
124
|
+
/** @copydoc FormattedValue::appendTo() */
|
|
125
|
+
Appendable &appendTo(Appendable& appendable, UErrorCode& status) const override;
|
|
126
|
+
|
|
127
|
+
/** @copydoc FormattedValue::nextPosition() */
|
|
128
|
+
UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const override;
|
|
129
|
+
|
|
130
|
+
private:
|
|
131
|
+
FormattedListData *fData;
|
|
132
|
+
UErrorCode fErrorCode;
|
|
133
|
+
explicit FormattedList(FormattedListData *results)
|
|
134
|
+
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
|
135
|
+
explicit FormattedList(UErrorCode errorCode)
|
|
136
|
+
: fData(nullptr), fErrorCode(errorCode) {}
|
|
137
|
+
friend class ListFormatter;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* An immutable class for formatting a list, using data from CLDR (or supplied
|
|
143
|
+
* separately).
|
|
144
|
+
*
|
|
145
|
+
* Example: Input data ["Alice", "Bob", "Charlie", "Delta"] will be formatted
|
|
146
|
+
* as "Alice, Bob, Charlie and Delta" in English.
|
|
147
|
+
*
|
|
148
|
+
* The ListFormatter class is not intended for public subclassing.
|
|
149
|
+
* @stable ICU 50
|
|
150
|
+
*/
|
|
151
|
+
class U_I18N_API ListFormatter : public UObject{
|
|
152
|
+
|
|
153
|
+
public:
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Copy constructor.
|
|
157
|
+
* @stable ICU 52
|
|
158
|
+
*/
|
|
159
|
+
ListFormatter(const ListFormatter&);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Assignment operator.
|
|
163
|
+
* @stable ICU 52
|
|
164
|
+
*/
|
|
165
|
+
ListFormatter& operator=(const ListFormatter& other);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Creates a ListFormatter appropriate for the default locale.
|
|
169
|
+
*
|
|
170
|
+
* @param errorCode ICU error code, set if no data available for default locale.
|
|
171
|
+
* @return Pointer to a ListFormatter object for the default locale,
|
|
172
|
+
* created from internal data derived from CLDR data.
|
|
173
|
+
* @stable ICU 50
|
|
174
|
+
*/
|
|
175
|
+
static ListFormatter* createInstance(UErrorCode& errorCode);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Creates a ListFormatter appropriate for a locale.
|
|
179
|
+
*
|
|
180
|
+
* @param locale The locale.
|
|
181
|
+
* @param errorCode ICU error code, set if no data available for the given locale.
|
|
182
|
+
* @return A ListFormatter object created from internal data derived from
|
|
183
|
+
* CLDR data.
|
|
184
|
+
* @stable ICU 50
|
|
185
|
+
*/
|
|
186
|
+
static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Creates a ListFormatter for the given locale, list type, and style.
|
|
190
|
+
*
|
|
191
|
+
* @param locale The locale.
|
|
192
|
+
* @param type The type of list formatting to use.
|
|
193
|
+
* @param width The width of formatting to use.
|
|
194
|
+
* @param errorCode ICU error code, set if no data available for the given locale.
|
|
195
|
+
* @return A ListFormatter object created from internal data derived from CLDR data.
|
|
196
|
+
* @stable ICU 67
|
|
197
|
+
*/
|
|
198
|
+
static ListFormatter* createInstance(
|
|
199
|
+
const Locale& locale, UListFormatterType type, UListFormatterWidth width, UErrorCode& errorCode);
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Destructor.
|
|
203
|
+
*
|
|
204
|
+
* @stable ICU 50
|
|
205
|
+
*/
|
|
206
|
+
virtual ~ListFormatter();
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Formats a list of strings.
|
|
211
|
+
*
|
|
212
|
+
* @param items An array of strings to be combined and formatted.
|
|
213
|
+
* @param n_items Length of the array items.
|
|
214
|
+
* @param appendTo The string to which the result should be appended to.
|
|
215
|
+
* @param errorCode ICU error code, set if there is an error.
|
|
216
|
+
* @return Formatted string combining the elements of items, appended to appendTo.
|
|
217
|
+
* @stable ICU 50
|
|
218
|
+
*/
|
|
219
|
+
UnicodeString& format(const UnicodeString items[], int32_t n_items,
|
|
220
|
+
UnicodeString& appendTo, UErrorCode& errorCode) const;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Formats a list of strings to a FormattedList, which exposes field
|
|
224
|
+
* position information. The FormattedList contains more information than
|
|
225
|
+
* a FieldPositionIterator.
|
|
226
|
+
*
|
|
227
|
+
* @param items An array of strings to be combined and formatted.
|
|
228
|
+
* @param n_items Length of the array items.
|
|
229
|
+
* @param errorCode ICU error code returned here.
|
|
230
|
+
* @return A FormattedList containing field information.
|
|
231
|
+
* @stable ICU 64
|
|
232
|
+
*/
|
|
233
|
+
FormattedList formatStringsToValue(
|
|
234
|
+
const UnicodeString items[],
|
|
235
|
+
int32_t n_items,
|
|
236
|
+
UErrorCode& errorCode) const;
|
|
237
|
+
|
|
238
|
+
#ifndef U_HIDE_INTERNAL_API
|
|
239
|
+
/**
|
|
240
|
+
@internal for MeasureFormat
|
|
241
|
+
*/
|
|
242
|
+
UnicodeString& format(
|
|
243
|
+
const UnicodeString items[],
|
|
244
|
+
int32_t n_items,
|
|
245
|
+
UnicodeString& appendTo,
|
|
246
|
+
int32_t index,
|
|
247
|
+
int32_t &offset,
|
|
248
|
+
UErrorCode& errorCode) const;
|
|
249
|
+
/**
|
|
250
|
+
* @internal constructor made public for testing.
|
|
251
|
+
*/
|
|
252
|
+
ListFormatter(const ListFormatData &data, UErrorCode &errorCode);
|
|
253
|
+
/**
|
|
254
|
+
* @internal constructor made public for testing.
|
|
255
|
+
*/
|
|
256
|
+
ListFormatter(const ListFormatInternal* listFormatterInternal);
|
|
257
|
+
#endif /* U_HIDE_INTERNAL_API */
|
|
258
|
+
|
|
259
|
+
private:
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Creates a ListFormatter appropriate for a locale and style.
|
|
263
|
+
*
|
|
264
|
+
* @param locale The locale.
|
|
265
|
+
* @param style the style, either "standard", "or", "unit", "unit-narrow", or "unit-short"
|
|
266
|
+
*/
|
|
267
|
+
static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode);
|
|
268
|
+
|
|
269
|
+
static void initializeHash(UErrorCode& errorCode);
|
|
270
|
+
static const ListFormatInternal* getListFormatInternal(const Locale& locale, const char *style, UErrorCode& errorCode);
|
|
271
|
+
struct U_HIDDEN ListPatternsSink;
|
|
272
|
+
static ListFormatInternal* loadListFormatInternal(const Locale& locale, const char* style, UErrorCode& errorCode);
|
|
273
|
+
|
|
274
|
+
#if APPLE_ICU_CHANGES
|
|
275
|
+
// rdar://
|
|
276
|
+
bool needsBidiIsolates(const UnicodeString& s) const;
|
|
277
|
+
#endif // APPLE_ICU_CHANGES
|
|
278
|
+
|
|
279
|
+
ListFormatter() = delete;
|
|
280
|
+
|
|
281
|
+
ListFormatInternal* owned;
|
|
282
|
+
const ListFormatInternal* data;
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
U_NAMESPACE_END
|
|
286
|
+
|
|
287
|
+
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
288
|
+
|
|
289
|
+
#endif /* U_SHOW_CPLUSPLUS_API */
|
|
290
|
+
|
|
291
|
+
#endif // __LISTFORMATTER_H__
|