@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
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
// © 2022 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
|
|
4
|
+
#ifndef __UFORMATTEDNUMBER_H__
|
|
5
|
+
#define __UFORMATTEDNUMBER_H__
|
|
6
|
+
|
|
7
|
+
#include <_foundation_unicode/utypes.h>
|
|
8
|
+
|
|
9
|
+
#if !UCONFIG_NO_FORMATTING
|
|
10
|
+
|
|
11
|
+
#include <_foundation_unicode/ufieldpositer.h>
|
|
12
|
+
#include <_foundation_unicode/uformattedvalue.h>
|
|
13
|
+
#include <_foundation_unicode/umisc.h>
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* \file
|
|
17
|
+
* \brief C API: Formatted number result from various number formatting functions.
|
|
18
|
+
*
|
|
19
|
+
* Create a `UFormattedNumber` to hold the result of a number formatting operation. The same
|
|
20
|
+
* `UFormattedNumber` can be reused multiple times.
|
|
21
|
+
*
|
|
22
|
+
* <pre>
|
|
23
|
+
* LocalUFormattedNumberPointer uresult(unumf_openResult(status));
|
|
24
|
+
*
|
|
25
|
+
* // pass uresult.getAlias() to your number formatter
|
|
26
|
+
*
|
|
27
|
+
* int32_t length;
|
|
28
|
+
* const UChar* s = ufmtval_getString(unumf_resultAsValue(uresult.getAlias(), status), &length, status));
|
|
29
|
+
*
|
|
30
|
+
* // The string result is in `s` with the given `length` (it is also NUL-terminated).
|
|
31
|
+
* </pre>
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
struct UFormattedNumber;
|
|
36
|
+
/**
|
|
37
|
+
* C-compatible version of icu::number::FormattedNumber.
|
|
38
|
+
*
|
|
39
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberformatter.h instead.
|
|
40
|
+
*
|
|
41
|
+
* @stable ICU 62
|
|
42
|
+
*/
|
|
43
|
+
typedef struct UFormattedNumber UFormattedNumber;
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Creates an object to hold the result of a UNumberFormatter
|
|
48
|
+
* operation. The object can be used repeatedly; it is cleared whenever
|
|
49
|
+
* passed to a format function.
|
|
50
|
+
*
|
|
51
|
+
* @param ec Set if an error occurs.
|
|
52
|
+
* @stable ICU 62
|
|
53
|
+
*/
|
|
54
|
+
U_CAPI UFormattedNumber* U_EXPORT2
|
|
55
|
+
unumf_openResult(UErrorCode* ec);
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Returns a representation of a UFormattedNumber as a UFormattedValue,
|
|
60
|
+
* which can be subsequently passed to any API requiring that type.
|
|
61
|
+
*
|
|
62
|
+
* The returned object is owned by the UFormattedNumber and is valid
|
|
63
|
+
* only as long as the UFormattedNumber is present and unchanged in memory.
|
|
64
|
+
*
|
|
65
|
+
* You can think of this method as a cast between types.
|
|
66
|
+
*
|
|
67
|
+
* @param uresult The object containing the formatted string.
|
|
68
|
+
* @param ec Set if an error occurs.
|
|
69
|
+
* @return A UFormattedValue owned by the input object.
|
|
70
|
+
* @stable ICU 64
|
|
71
|
+
*/
|
|
72
|
+
U_CAPI const UFormattedValue* U_EXPORT2
|
|
73
|
+
unumf_resultAsValue(const UFormattedNumber* uresult, UErrorCode* ec);
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Extracts the result number string out of a UFormattedNumber to a UChar buffer if possible.
|
|
78
|
+
* If bufferCapacity is greater than the required length, a terminating NUL is written.
|
|
79
|
+
* If bufferCapacity is less than the required length, an error code is set.
|
|
80
|
+
*
|
|
81
|
+
* Also see ufmtval_getString, which returns a NUL-terminated string:
|
|
82
|
+
*
|
|
83
|
+
* int32_t len;
|
|
84
|
+
* const UChar* str = ufmtval_getString(unumf_resultAsValue(uresult, &ec), &len, &ec);
|
|
85
|
+
*
|
|
86
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberformatter.h instead.
|
|
87
|
+
*
|
|
88
|
+
* @param uresult The object containing the formatted number.
|
|
89
|
+
* @param buffer Where to save the string output.
|
|
90
|
+
* @param bufferCapacity The number of UChars available in the buffer.
|
|
91
|
+
* @param ec Set if an error occurs.
|
|
92
|
+
* @return The required length.
|
|
93
|
+
* @stable ICU 62
|
|
94
|
+
*/
|
|
95
|
+
U_CAPI int32_t U_EXPORT2
|
|
96
|
+
unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
|
|
97
|
+
UErrorCode* ec);
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Determines the start and end indices of the next occurrence of the given <em>field</em> in the
|
|
102
|
+
* output string. This allows you to determine the locations of, for example, the integer part,
|
|
103
|
+
* fraction part, or symbols.
|
|
104
|
+
*
|
|
105
|
+
* This is a simpler but less powerful alternative to {@link ufmtval_nextPosition}.
|
|
106
|
+
*
|
|
107
|
+
* If a field occurs just once, calling this method will find that occurrence and return it. If a
|
|
108
|
+
* field occurs multiple times, this method may be called repeatedly with the following pattern:
|
|
109
|
+
*
|
|
110
|
+
* <pre>
|
|
111
|
+
* UFieldPosition ufpos = {UNUM_GROUPING_SEPARATOR_FIELD, 0, 0};
|
|
112
|
+
* while (unumf_resultNextFieldPosition(uresult, ufpos, &ec)) {
|
|
113
|
+
* // do something with ufpos.
|
|
114
|
+
* }
|
|
115
|
+
* </pre>
|
|
116
|
+
*
|
|
117
|
+
* This method is useful if you know which field to query. If you want all available field position
|
|
118
|
+
* information, use unumf_resultGetAllFieldPositions().
|
|
119
|
+
*
|
|
120
|
+
* NOTE: All fields of the UFieldPosition must be initialized before calling this method.
|
|
121
|
+
*
|
|
122
|
+
* @param uresult The object containing the formatted number.
|
|
123
|
+
* @param ufpos
|
|
124
|
+
* Input+output variable. On input, the "field" property determines which field to look up,
|
|
125
|
+
* and the "endIndex" property determines where to begin the search. On output, the
|
|
126
|
+
* "beginIndex" field is set to the beginning of the first occurrence of the field after the
|
|
127
|
+
* input "endIndex", and "endIndex" is set to the end of that occurrence of the field
|
|
128
|
+
* (exclusive index). If a field position is not found, the FieldPosition is not changed and
|
|
129
|
+
* the method returns false.
|
|
130
|
+
* @param ec Set if an error occurs.
|
|
131
|
+
* @stable ICU 62
|
|
132
|
+
*/
|
|
133
|
+
U_CAPI UBool U_EXPORT2
|
|
134
|
+
unumf_resultNextFieldPosition(const UFormattedNumber* uresult, UFieldPosition* ufpos, UErrorCode* ec);
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Populates the given iterator with all fields in the formatted output string. This allows you to
|
|
139
|
+
* determine the locations of the integer part, fraction part, and sign.
|
|
140
|
+
*
|
|
141
|
+
* This is an alternative to the more powerful {@link ufmtval_nextPosition} API.
|
|
142
|
+
*
|
|
143
|
+
* If you need information on only one field, use {@link ufmtval_nextPosition} or
|
|
144
|
+
* {@link unumf_resultNextFieldPosition}.
|
|
145
|
+
*
|
|
146
|
+
* @param uresult The object containing the formatted number.
|
|
147
|
+
* @param ufpositer
|
|
148
|
+
* A pointer to a UFieldPositionIterator created by {@link #ufieldpositer_open}. Iteration
|
|
149
|
+
* information already present in the UFieldPositionIterator is deleted, and the iterator is reset
|
|
150
|
+
* to apply to the fields in the formatted string created by this function call. The field values
|
|
151
|
+
* and indexes returned by {@link #ufieldpositer_next} represent fields denoted by
|
|
152
|
+
* the UNumberFormatFields enum. Fields are not returned in a guaranteed order. Fields cannot
|
|
153
|
+
* overlap, but they may nest. For example, 1234 could format as "1,234" which might consist of a
|
|
154
|
+
* grouping separator field for ',' and an integer field encompassing the entire string.
|
|
155
|
+
* @param ec Set if an error occurs.
|
|
156
|
+
* @stable ICU 62
|
|
157
|
+
*/
|
|
158
|
+
U_CAPI void U_EXPORT2
|
|
159
|
+
unumf_resultGetAllFieldPositions(const UFormattedNumber* uresult, UFieldPositionIterator* ufpositer,
|
|
160
|
+
UErrorCode* ec);
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Extracts the formatted number as a "numeric string" conforming to the
|
|
165
|
+
* syntax defined in the Decimal Arithmetic Specification, available at
|
|
166
|
+
* http://speleotrove.com/decimal
|
|
167
|
+
*
|
|
168
|
+
* This endpoint is useful for obtaining the exact number being printed
|
|
169
|
+
* after scaling and rounding have been applied by the number formatter.
|
|
170
|
+
*
|
|
171
|
+
* @param uresult The input object containing the formatted number.
|
|
172
|
+
* @param dest the 8-bit char buffer into which the decimal number is placed
|
|
173
|
+
* @param destCapacity The size, in chars, of the destination buffer. May be zero
|
|
174
|
+
* for precomputing the required size.
|
|
175
|
+
* @param ec receives any error status.
|
|
176
|
+
* If U_BUFFER_OVERFLOW_ERROR: Returns number of chars for
|
|
177
|
+
* preflighting.
|
|
178
|
+
* @return Number of chars in the data. Does not include a trailing NUL.
|
|
179
|
+
* @stable ICU 68
|
|
180
|
+
*/
|
|
181
|
+
U_CAPI int32_t U_EXPORT2
|
|
182
|
+
unumf_resultToDecimalNumber(
|
|
183
|
+
const UFormattedNumber* uresult,
|
|
184
|
+
char* dest,
|
|
185
|
+
int32_t destCapacity,
|
|
186
|
+
UErrorCode* ec);
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Releases the UFormattedNumber created by unumf_openResult().
|
|
191
|
+
*
|
|
192
|
+
* @param uresult An object created by unumf_openResult().
|
|
193
|
+
* @stable ICU 62
|
|
194
|
+
*/
|
|
195
|
+
U_CAPI void U_EXPORT2
|
|
196
|
+
unumf_closeResult(UFormattedNumber* uresult);
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
200
|
+
U_NAMESPACE_BEGIN
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* \class LocalUFormattedNumberPointer
|
|
204
|
+
* "Smart pointer" class; closes a UFormattedNumber via unumf_closeResult().
|
|
205
|
+
* For most methods see the LocalPointerBase base class.
|
|
206
|
+
*
|
|
207
|
+
* Usage:
|
|
208
|
+
* <pre>
|
|
209
|
+
* LocalUFormattedNumberPointer uformatter(unumf_openResult(...));
|
|
210
|
+
* // no need to explicitly call unumf_closeResult()
|
|
211
|
+
* </pre>
|
|
212
|
+
*
|
|
213
|
+
* @see LocalPointerBase
|
|
214
|
+
* @see LocalPointer
|
|
215
|
+
* @stable ICU 62
|
|
216
|
+
*/
|
|
217
|
+
U_DEFINE_LOCAL_OPEN_POINTER(LocalUFormattedNumberPointer, UFormattedNumber, unumf_closeResult);
|
|
218
|
+
|
|
219
|
+
U_NAMESPACE_END
|
|
220
|
+
#endif // U_SHOW_CPLUSPLUS_API
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
224
|
+
#endif //__UFORMATTEDNUMBER_H__
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
// © 2018 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
|
|
4
|
+
#ifndef __UFORMATTEDVALUE_H__
|
|
5
|
+
#define __UFORMATTEDVALUE_H__
|
|
6
|
+
|
|
7
|
+
#include <_foundation_unicode/utypes.h>
|
|
8
|
+
|
|
9
|
+
#if !UCONFIG_NO_FORMATTING
|
|
10
|
+
|
|
11
|
+
#include <_foundation_unicode/ufieldpositer.h>
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* \file
|
|
15
|
+
* \brief C API: Abstract operations for localized strings.
|
|
16
|
+
*
|
|
17
|
+
* This file contains declarations for classes that deal with formatted strings. A number
|
|
18
|
+
* of APIs throughout ICU use these classes for expressing their localized output.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* All possible field categories in ICU. Every entry in this enum corresponds
|
|
24
|
+
* to another enum that exists in ICU.
|
|
25
|
+
*
|
|
26
|
+
* In the APIs that take a UFieldCategory, an int32_t type is used. Field
|
|
27
|
+
* categories having any of the top four bits turned on are reserved as
|
|
28
|
+
* private-use for external APIs implementing FormattedValue. This means that
|
|
29
|
+
* categories 2^28 and higher or below zero (with the highest bit turned on)
|
|
30
|
+
* are private-use and will not be used by ICU in the future.
|
|
31
|
+
*
|
|
32
|
+
* @stable ICU 64
|
|
33
|
+
*/
|
|
34
|
+
typedef enum UFieldCategory {
|
|
35
|
+
/**
|
|
36
|
+
* For an undefined field category.
|
|
37
|
+
*
|
|
38
|
+
* @stable ICU 64
|
|
39
|
+
*/
|
|
40
|
+
UFIELD_CATEGORY_UNDEFINED = 0,
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* For fields in UDateFormatField (udat.h), from ICU 3.0.
|
|
44
|
+
*
|
|
45
|
+
* @stable ICU 64
|
|
46
|
+
*/
|
|
47
|
+
UFIELD_CATEGORY_DATE,
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* For fields in UNumberFormatFields (unum.h), from ICU 49.
|
|
51
|
+
*
|
|
52
|
+
* @stable ICU 64
|
|
53
|
+
*/
|
|
54
|
+
UFIELD_CATEGORY_NUMBER,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* For fields in UListFormatterField (ulistformatter.h), from ICU 63.
|
|
58
|
+
*
|
|
59
|
+
* @stable ICU 64
|
|
60
|
+
*/
|
|
61
|
+
UFIELD_CATEGORY_LIST,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* For fields in URelativeDateTimeFormatterField (ureldatefmt.h), from ICU 64.
|
|
65
|
+
*
|
|
66
|
+
* @stable ICU 64
|
|
67
|
+
*/
|
|
68
|
+
UFIELD_CATEGORY_RELATIVE_DATETIME,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Reserved for possible future fields in UDateIntervalFormatField.
|
|
72
|
+
*
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
UFIELD_CATEGORY_DATE_INTERVAL,
|
|
76
|
+
|
|
77
|
+
#ifndef U_HIDE_INTERNAL_API
|
|
78
|
+
/** @internal */
|
|
79
|
+
UFIELD_CATEGORY_COUNT,
|
|
80
|
+
#endif /* U_HIDE_INTERNAL_API */
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Category for spans in a list.
|
|
84
|
+
*
|
|
85
|
+
* @stable ICU 64
|
|
86
|
+
*/
|
|
87
|
+
UFIELD_CATEGORY_LIST_SPAN = 0x1000 + UFIELD_CATEGORY_LIST,
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Category for spans in a date interval.
|
|
91
|
+
*
|
|
92
|
+
* @stable ICU 64
|
|
93
|
+
*/
|
|
94
|
+
UFIELD_CATEGORY_DATE_INTERVAL_SPAN = 0x1000 + UFIELD_CATEGORY_DATE_INTERVAL,
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Category for spans in a number range.
|
|
98
|
+
*
|
|
99
|
+
* @stable ICU 69
|
|
100
|
+
*/
|
|
101
|
+
UFIELD_CATEGORY_NUMBER_RANGE_SPAN = 0x1000 + UFIELD_CATEGORY_NUMBER,
|
|
102
|
+
|
|
103
|
+
} UFieldCategory;
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
struct UConstrainedFieldPosition;
|
|
107
|
+
/**
|
|
108
|
+
* Represents a span of a string containing a given field.
|
|
109
|
+
*
|
|
110
|
+
* This struct differs from UFieldPosition in the following ways:
|
|
111
|
+
*
|
|
112
|
+
* 1. It has information on the field category.
|
|
113
|
+
* 2. It allows you to set constraints to use when iterating over field positions.
|
|
114
|
+
* 3. It is used for the newer FormattedValue APIs.
|
|
115
|
+
*
|
|
116
|
+
* @stable ICU 64
|
|
117
|
+
*/
|
|
118
|
+
typedef struct UConstrainedFieldPosition UConstrainedFieldPosition;
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new UConstrainedFieldPosition.
|
|
123
|
+
*
|
|
124
|
+
* By default, the UConstrainedFieldPosition has no iteration constraints.
|
|
125
|
+
*
|
|
126
|
+
* @param ec Set if an error occurs.
|
|
127
|
+
* @return The new object, or NULL if an error occurs.
|
|
128
|
+
* @stable ICU 64
|
|
129
|
+
*/
|
|
130
|
+
U_CAPI UConstrainedFieldPosition* U_EXPORT2
|
|
131
|
+
ucfpos_open(UErrorCode* ec);
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Resets a UConstrainedFieldPosition to its initial state, as if it were newly created.
|
|
136
|
+
*
|
|
137
|
+
* Removes any constraints that may have been set on the instance.
|
|
138
|
+
*
|
|
139
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
140
|
+
* @param ec Set if an error occurs.
|
|
141
|
+
* @stable ICU 64
|
|
142
|
+
*/
|
|
143
|
+
U_CAPI void U_EXPORT2
|
|
144
|
+
ucfpos_reset(
|
|
145
|
+
UConstrainedFieldPosition* ucfpos,
|
|
146
|
+
UErrorCode* ec);
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Destroys a UConstrainedFieldPosition and releases its memory.
|
|
151
|
+
*
|
|
152
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
153
|
+
* @stable ICU 64
|
|
154
|
+
*/
|
|
155
|
+
U_CAPI void U_EXPORT2
|
|
156
|
+
ucfpos_close(UConstrainedFieldPosition* ucfpos);
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Sets a constraint on the field category.
|
|
161
|
+
*
|
|
162
|
+
* When this instance of UConstrainedFieldPosition is passed to ufmtval_nextPosition,
|
|
163
|
+
* positions are skipped unless they have the given category.
|
|
164
|
+
*
|
|
165
|
+
* Any previously set constraints are cleared.
|
|
166
|
+
*
|
|
167
|
+
* For example, to loop over only the number-related fields:
|
|
168
|
+
*
|
|
169
|
+
* UConstrainedFieldPosition* ucfpos = ucfpos_open(ec);
|
|
170
|
+
* ucfpos_constrainCategory(ucfpos, UFIELDCATEGORY_NUMBER_FORMAT, ec);
|
|
171
|
+
* while (ufmtval_nextPosition(ufmtval, ucfpos, ec)) {
|
|
172
|
+
* // handle the number-related field position
|
|
173
|
+
* }
|
|
174
|
+
* ucfpos_close(ucfpos);
|
|
175
|
+
*
|
|
176
|
+
* Changing the constraint while in the middle of iterating over a FormattedValue
|
|
177
|
+
* does not generally have well-defined behavior.
|
|
178
|
+
*
|
|
179
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
180
|
+
* @param category The field category to fix when iterating.
|
|
181
|
+
* @param ec Set if an error occurs.
|
|
182
|
+
* @stable ICU 64
|
|
183
|
+
*/
|
|
184
|
+
U_CAPI void U_EXPORT2
|
|
185
|
+
ucfpos_constrainCategory(
|
|
186
|
+
UConstrainedFieldPosition* ucfpos,
|
|
187
|
+
int32_t category,
|
|
188
|
+
UErrorCode* ec);
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Sets a constraint on the category and field.
|
|
193
|
+
*
|
|
194
|
+
* When this instance of UConstrainedFieldPosition is passed to ufmtval_nextPosition,
|
|
195
|
+
* positions are skipped unless they have the given category and field.
|
|
196
|
+
*
|
|
197
|
+
* Any previously set constraints are cleared.
|
|
198
|
+
*
|
|
199
|
+
* For example, to loop over all grouping separators:
|
|
200
|
+
*
|
|
201
|
+
* UConstrainedFieldPosition* ucfpos = ucfpos_open(ec);
|
|
202
|
+
* ucfpos_constrainField(ucfpos, UFIELDCATEGORY_NUMBER_FORMAT, UNUM_GROUPING_SEPARATOR_FIELD, ec);
|
|
203
|
+
* while (ufmtval_nextPosition(ufmtval, ucfpos, ec)) {
|
|
204
|
+
* // handle the grouping separator position
|
|
205
|
+
* }
|
|
206
|
+
* ucfpos_close(ucfpos);
|
|
207
|
+
*
|
|
208
|
+
* Changing the constraint while in the middle of iterating over a FormattedValue
|
|
209
|
+
* does not generally have well-defined behavior.
|
|
210
|
+
*
|
|
211
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
212
|
+
* @param category The field category to fix when iterating.
|
|
213
|
+
* @param field The field to fix when iterating.
|
|
214
|
+
* @param ec Set if an error occurs.
|
|
215
|
+
* @stable ICU 64
|
|
216
|
+
*/
|
|
217
|
+
U_CAPI void U_EXPORT2
|
|
218
|
+
ucfpos_constrainField(
|
|
219
|
+
UConstrainedFieldPosition* ucfpos,
|
|
220
|
+
int32_t category,
|
|
221
|
+
int32_t field,
|
|
222
|
+
UErrorCode* ec);
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Gets the field category for the current position.
|
|
227
|
+
*
|
|
228
|
+
* If a category or field constraint was set, this function returns the constrained
|
|
229
|
+
* category. Otherwise, the return value is well-defined only after
|
|
230
|
+
* ufmtval_nextPosition returns true.
|
|
231
|
+
*
|
|
232
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
233
|
+
* @param ec Set if an error occurs.
|
|
234
|
+
* @return The field category saved in the instance.
|
|
235
|
+
* @stable ICU 64
|
|
236
|
+
*/
|
|
237
|
+
U_CAPI int32_t U_EXPORT2
|
|
238
|
+
ucfpos_getCategory(
|
|
239
|
+
const UConstrainedFieldPosition* ucfpos,
|
|
240
|
+
UErrorCode* ec);
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Gets the field for the current position.
|
|
245
|
+
*
|
|
246
|
+
* If a field constraint was set, this function returns the constrained
|
|
247
|
+
* field. Otherwise, the return value is well-defined only after
|
|
248
|
+
* ufmtval_nextPosition returns true.
|
|
249
|
+
*
|
|
250
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
251
|
+
* @param ec Set if an error occurs.
|
|
252
|
+
* @return The field saved in the instance.
|
|
253
|
+
* @stable ICU 64
|
|
254
|
+
*/
|
|
255
|
+
U_CAPI int32_t U_EXPORT2
|
|
256
|
+
ucfpos_getField(
|
|
257
|
+
const UConstrainedFieldPosition* ucfpos,
|
|
258
|
+
UErrorCode* ec);
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Gets the INCLUSIVE start and EXCLUSIVE end index stored for the current position.
|
|
263
|
+
*
|
|
264
|
+
* The output values are well-defined only after ufmtval_nextPosition returns true.
|
|
265
|
+
*
|
|
266
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
267
|
+
* @param pStart Set to the start index saved in the instance. Ignored if nullptr.
|
|
268
|
+
* @param pLimit Set to the end index saved in the instance. Ignored if nullptr.
|
|
269
|
+
* @param ec Set if an error occurs.
|
|
270
|
+
* @stable ICU 64
|
|
271
|
+
*/
|
|
272
|
+
U_CAPI void U_EXPORT2
|
|
273
|
+
ucfpos_getIndexes(
|
|
274
|
+
const UConstrainedFieldPosition* ucfpos,
|
|
275
|
+
int32_t* pStart,
|
|
276
|
+
int32_t* pLimit,
|
|
277
|
+
UErrorCode* ec);
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Gets an int64 that FormattedValue implementations may use for storage.
|
|
282
|
+
*
|
|
283
|
+
* The initial value is zero.
|
|
284
|
+
*
|
|
285
|
+
* Users of FormattedValue should not need to call this method.
|
|
286
|
+
*
|
|
287
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
288
|
+
* @param ec Set if an error occurs.
|
|
289
|
+
* @return The current iteration context from ucfpos_setInt64IterationContext.
|
|
290
|
+
* @stable ICU 64
|
|
291
|
+
*/
|
|
292
|
+
U_CAPI int64_t U_EXPORT2
|
|
293
|
+
ucfpos_getInt64IterationContext(
|
|
294
|
+
const UConstrainedFieldPosition* ucfpos,
|
|
295
|
+
UErrorCode* ec);
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Sets an int64 that FormattedValue implementations may use for storage.
|
|
300
|
+
*
|
|
301
|
+
* Intended to be used by FormattedValue implementations.
|
|
302
|
+
*
|
|
303
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
304
|
+
* @param context The new iteration context.
|
|
305
|
+
* @param ec Set if an error occurs.
|
|
306
|
+
* @stable ICU 64
|
|
307
|
+
*/
|
|
308
|
+
U_CAPI void U_EXPORT2
|
|
309
|
+
ucfpos_setInt64IterationContext(
|
|
310
|
+
UConstrainedFieldPosition* ucfpos,
|
|
311
|
+
int64_t context,
|
|
312
|
+
UErrorCode* ec);
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Determines whether a given field should be included given the
|
|
317
|
+
* constraints.
|
|
318
|
+
*
|
|
319
|
+
* Intended to be used by FormattedValue implementations.
|
|
320
|
+
*
|
|
321
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
322
|
+
* @param category The category to test.
|
|
323
|
+
* @param field The field to test.
|
|
324
|
+
* @param ec Set if an error occurs.
|
|
325
|
+
* @stable ICU 64
|
|
326
|
+
*/
|
|
327
|
+
U_CAPI UBool U_EXPORT2
|
|
328
|
+
ucfpos_matchesField(
|
|
329
|
+
const UConstrainedFieldPosition* ucfpos,
|
|
330
|
+
int32_t category,
|
|
331
|
+
int32_t field,
|
|
332
|
+
UErrorCode* ec);
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Sets new values for the primary public getters.
|
|
337
|
+
*
|
|
338
|
+
* Intended to be used by FormattedValue implementations.
|
|
339
|
+
*
|
|
340
|
+
* It is up to the implementation to ensure that the user-requested
|
|
341
|
+
* constraints are satisfied. This method does not check!
|
|
342
|
+
*
|
|
343
|
+
* @param ucfpos The instance of UConstrainedFieldPosition.
|
|
344
|
+
* @param category The new field category.
|
|
345
|
+
* @param field The new field.
|
|
346
|
+
* @param start The new inclusive start index.
|
|
347
|
+
* @param limit The new exclusive end index.
|
|
348
|
+
* @param ec Set if an error occurs.
|
|
349
|
+
* @stable ICU 64
|
|
350
|
+
*/
|
|
351
|
+
U_CAPI void U_EXPORT2
|
|
352
|
+
ucfpos_setState(
|
|
353
|
+
UConstrainedFieldPosition* ucfpos,
|
|
354
|
+
int32_t category,
|
|
355
|
+
int32_t field,
|
|
356
|
+
int32_t start,
|
|
357
|
+
int32_t limit,
|
|
358
|
+
UErrorCode* ec);
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
struct UFormattedValue;
|
|
362
|
+
/**
|
|
363
|
+
* An abstract formatted value: a string with associated field attributes.
|
|
364
|
+
* Many formatters format to types compatible with UFormattedValue.
|
|
365
|
+
*
|
|
366
|
+
* @stable ICU 64
|
|
367
|
+
*/
|
|
368
|
+
typedef struct UFormattedValue UFormattedValue;
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Returns a pointer to the formatted string. The pointer is owned by the UFormattedValue. The
|
|
373
|
+
* return value is valid only as long as the UFormattedValue is present and unchanged in memory.
|
|
374
|
+
*
|
|
375
|
+
* The return value is NUL-terminated but could contain internal NULs.
|
|
376
|
+
*
|
|
377
|
+
* @param ufmtval
|
|
378
|
+
* The object containing the formatted string and attributes.
|
|
379
|
+
* @param pLength Output variable for the length of the string. Ignored if NULL.
|
|
380
|
+
* @param ec Set if an error occurs.
|
|
381
|
+
* @return A NUL-terminated char16 string owned by the UFormattedValue.
|
|
382
|
+
* @stable ICU 64
|
|
383
|
+
*/
|
|
384
|
+
U_CAPI const UChar* U_EXPORT2
|
|
385
|
+
ufmtval_getString(
|
|
386
|
+
const UFormattedValue* ufmtval,
|
|
387
|
+
int32_t* pLength,
|
|
388
|
+
UErrorCode* ec);
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Iterates over field positions in the UFormattedValue. This lets you determine the position
|
|
393
|
+
* of specific types of substrings, like a month or a decimal separator.
|
|
394
|
+
*
|
|
395
|
+
* To loop over all field positions:
|
|
396
|
+
*
|
|
397
|
+
* UConstrainedFieldPosition* ucfpos = ucfpos_open(ec);
|
|
398
|
+
* while (ufmtval_nextPosition(ufmtval, ucfpos, ec)) {
|
|
399
|
+
* // handle the field position; get information from ucfpos
|
|
400
|
+
* }
|
|
401
|
+
* ucfpos_close(ucfpos);
|
|
402
|
+
*
|
|
403
|
+
* @param ufmtval
|
|
404
|
+
* The object containing the formatted string and attributes.
|
|
405
|
+
* @param ucfpos
|
|
406
|
+
* The object used for iteration state; can provide constraints to iterate over only
|
|
407
|
+
* one specific category or field;
|
|
408
|
+
* see ucfpos_constrainCategory
|
|
409
|
+
* and ucfpos_constrainField.
|
|
410
|
+
* @param ec Set if an error occurs.
|
|
411
|
+
* @return true if another position was found; false otherwise.
|
|
412
|
+
* @stable ICU 64
|
|
413
|
+
*/
|
|
414
|
+
U_CAPI UBool U_EXPORT2
|
|
415
|
+
ufmtval_nextPosition(
|
|
416
|
+
const UFormattedValue* ufmtval,
|
|
417
|
+
UConstrainedFieldPosition* ucfpos,
|
|
418
|
+
UErrorCode* ec);
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
422
|
+
U_NAMESPACE_BEGIN
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* \class LocalUConstrainedFieldPositionPointer
|
|
426
|
+
* "Smart pointer" class; closes a UConstrainedFieldPosition via ucfpos_close().
|
|
427
|
+
* For most methods see the LocalPointerBase base class.
|
|
428
|
+
*
|
|
429
|
+
* Usage:
|
|
430
|
+
*
|
|
431
|
+
* LocalUConstrainedFieldPositionPointer ucfpos(ucfpos_open(ec));
|
|
432
|
+
* // no need to explicitly call ucfpos_close()
|
|
433
|
+
*
|
|
434
|
+
* @stable ICU 64
|
|
435
|
+
*/
|
|
436
|
+
U_DEFINE_LOCAL_OPEN_POINTER(LocalUConstrainedFieldPositionPointer,
|
|
437
|
+
UConstrainedFieldPosition,
|
|
438
|
+
ucfpos_close);
|
|
439
|
+
|
|
440
|
+
U_NAMESPACE_END
|
|
441
|
+
#endif // U_SHOW_CPLUSPLUS_API
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
445
|
+
#endif // __UFORMATTEDVALUE_H__
|