diff --git a/Package.swift b/Package.swift index 3099c5b2a..82c6d25a3 100644 --- a/Package.swift +++ b/Package.swift @@ -12,7 +12,7 @@ let package = Package( targets: [ .binaryTarget( name: "SoulverCore", - url: "https://github.com/soulverteam/SoulverCore/releases/download/1.4.4/SoulverCore.xcframework.zip", - checksum: "c199a89ee98fa3afb8a261508e600330a7968d6590e523bc49594131d1f62a08"), + url: "https://github.com/soulverteam/SoulverCore/releases/download/1.4.5/SoulverCore.xcframework.zip", + checksum: "4e3eeb72c8326d1d1002d29d4f69dffe5ef4e7995cd78cc5138e1f30cf9f4bb5"), ] ) diff --git a/SoulverCore.xcframework/Info.plist b/SoulverCore.xcframework/Info.plist index c6e1f35a5..599198061 100644 --- a/SoulverCore.xcframework/Info.plist +++ b/SoulverCore.xcframework/Info.plist @@ -6,7 +6,7 @@ LibraryIdentifier - macos-arm64_x86_64 + ios-arm64_x86_64-maccatalyst LibraryPath SoulverCore.framework SupportedArchitectures @@ -15,11 +15,13 @@ x86_64 SupportedPlatform - macos + ios + SupportedPlatformVariant + maccatalyst LibraryIdentifier - ios-arm64_x86_64-maccatalyst + macos-arm64_x86_64 LibraryPath SoulverCore.framework SupportedArchitectures @@ -28,9 +30,7 @@ x86_64 SupportedPlatform - ios - SupportedPlatformVariant - maccatalyst + macos LibraryIdentifier diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Headers/SoulverCore-Swift.h b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Headers/SoulverCore-Swift.h index 518dd9153..2edc7e404 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Headers/SoulverCore-Swift.h +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Headers/SoulverCore-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -184,6 +184,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -206,7 +213,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
    diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Info.plist b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Info.plist index 967d0a0af..014425512 100644 Binary files a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Info.plist and b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Info.plist differ diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftdoc b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftdoc index 57a4fbef8..be00f5bd4 100644 Binary files a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftdoc and b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface index f439d7a87..2b8b0c81a 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 57a4fbef8..000000000 Binary files a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface deleted file mode 100644 index f439d7a87..000000000 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/SoulverCore b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/SoulverCore index 35f23dd5e..ac6aa6abd 100755 Binary files a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/SoulverCore and b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/SoulverCore differ diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/_CodeSignature/CodeResources b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/_CodeSignature/CodeResources index 1cfd78183..21f077430 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/_CodeSignature/CodeResources +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/SoulverCore-Swift.h - 2ME+uAFvCDpqvY79J1okUrArl34= + CSZaAdvJOLvcy8TR4SLuPXsrjfc= Headers/SoulverCore.h @@ -14,31 +14,19 @@ Info.plist - 1QR1nnDgywvYhEn3v3Lz2+WLSC4= + Sne1AvkeIvCKH8CEWu54DQswZgU= Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftdoc - agJ1qJOJ4vdslCKPaIo0/MyRY38= + gDINY857owdrAbuQc4SX8y1kQxQ= Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface - whlXzk/r4v0BbgBgpHAd0Bcg4m8= + kJESgWhE6+ZcH7RlqkT6qYEZTBE= Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftmodule - UIOtyxHhVXap3V22o/R7ORn7pW4= - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - agJ1qJOJ4vdslCKPaIo0/MyRY38= - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - whlXzk/r4v0BbgBgpHAd0Bcg4m8= - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - UIOtyxHhVXap3V22o/R7ORn7pW4= + 1i1dOXwcLmCGXyKnn1MwpYoGHkI= Modules/module.modulemap @@ -156,7 +144,7 @@ hash - C+YRH1pX5WHisPEzaadbaC9e1Kw= + eXg1+1PENcr07fzqCB+X2nk7Qhg= optional @@ -183,7 +171,7 @@ hash - +F/iTqZtnPF3JSAxyYXg5dQHvf4= + RbFD+EnNDBiXlAExS/Fli4oloiA= optional @@ -201,7 +189,7 @@ hash - EzyYZu2evCeqa4LKc/fCY/4X5+E= + +ac10N7ZPUDZsCNgvEi6d97W0aY= optional @@ -219,7 +207,7 @@ hash - Kz5cYm6hoov66WW0VLAq7mew80E= + dznWR1SIc77Bu7VHkGAfS9o1GLU= optional @@ -447,7 +435,7 @@ hash2 - ypKdzT3A5hDlPfDNnBlWjLbo4qB3rqqtqEhCEX/muKk= + p6rb467ZHsL/6P4DNWdLL6SXXPmldZHvXRCtIz1IAQM= Headers/SoulverCore.h @@ -461,42 +449,21 @@ hash2 - 081bOmwtWCWmoFcWpIXKBb6LrgynfJb/9+CosOgQOZQ= + rSVmOSKrqEmAiIiQdgZ06tI/Uopol6yDFdQSjl9gsEs= Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftinterface hash2 - ZaQkMd4b4I+eln9mLegf3Isw5BhgE0dcWkndivUTWcs= + Uh19q2Lh8d10ITytqVXr3ExWTvqrBdU/HEWxbnKFzQs= Modules/SoulverCore.swiftmodule/arm64-apple-ios.swiftmodule hash2 - ZvSIm5sAtPN02ZRdrpmMfWy47Scee/dkFVeLaP4EoNQ= - - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - hash2 - - 081bOmwtWCWmoFcWpIXKBb6LrgynfJb/9+CosOgQOZQ= - - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - hash2 - - ZaQkMd4b4I+eln9mLegf3Isw5BhgE0dcWkndivUTWcs= - - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - hash2 - - ZvSIm5sAtPN02ZRdrpmMfWy47Scee/dkFVeLaP4EoNQ= + K+bySVhK6Rv3pAIZKdPHIbt6wz8WsgIS/b9chu8BW38= Modules/module.modulemap @@ -618,7 +585,7 @@ hash2 - d4sZI1sJzrwK3s0f2FjiYAgip+P2I1GgFgBHZGdUHUE= + mAzky+DlQ9Ld3W2NgYiwqA0YNVBn4ScNam8wDaQHkoQ= optional @@ -645,7 +612,7 @@ hash2 - EZeIj4Dlo9TemXVLrmOODRf9f2GLbVM0JtY0VFLAklQ= + 4PyZ+90vgrVJupcCrGXUeLCe9ZIB2qHcPMsT2r8l9r8= optional @@ -663,7 +630,7 @@ hash2 - mMgm9L8M5lcoIFs/H84sZiJSnTNPLUM+VkM0Q2reBxw= + M03rxMhNqn7Ac2viDTYDguuxHVMqh+eAc2XzIaE5CSo= optional @@ -681,7 +648,7 @@ hash2 - BX6SQEj0pd3fxPCrRJ8OOwRObDciEXx9oVNH4umDt9M= + gzLT+TjoU6ZezlRGNRtZPo+zzhEgCLqWEqRvANNQBpI= optional diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/FunctionDescriptions.json index 090511067..7206f941d 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/FunctionDescriptions.json @@ -1,4 +1,81 @@ { + "unitRelated": [ + { + "prototypeExpressions": [ + "convert __unit_expression into __unit", + "convert __unit into __unit" + ], + "identifier": "unitConversion" + }, + { + "prototypeExpressions": [ + "__unit in __unit_expression", + "__unit in a __unit", + "__unit in an __unit" + ], + "identifier": "unitInUnitExpression" + }, + { + "prototypeExpressions": [ + "__unit_expression __substance in __unit", + "__unit_expression of __substance in __unit", + "__unit_expression __substance as __unit", + "__unit_expression of __substance as __unit", + "__unit_expression __substance to __unit", + "__unit_expression of __substance to __unit" + ], + "identifier": "substanceWeightToVolumeConversion" + }, + { + "prototypeExpressions": [ + "density of __substance", + "__substance density" + ], + "identifier": "densityOfSubstance" + }, + { + "prototypeExpressions": [ + "__unit in __timespan" + ], + "identifier": "unitInTimespan" + }, + { + "identifier": "rateUnitChange", + "prototypeExpressions": [ + "__rate is what / __unit", + "__rate is how much / __unit", + "__rate as / __unit", + "__rate is what /__unit", + "__rate is how much /__unit", + "__rate as /__unit", + "__rate is what per __unit", + "__rate is how much per __unit", + "__rate as per __unit", + "__rate is what per__unit", + "__rate is how much per__unit", + "__rate as per__unit" + ] + }, + { + "identifier": "rateForADuration", + "prototypeExpressions": [ + "__rate for a __duration" + ] + }, + { + "identifier": "screenDensity", + "prototypeExpressions": [ + "ppi of __length at __resolution", + "ppi of __length device at __resolution", + "ppi of __length screen at __resolution", + "ppi of __length display at __resolution", + "density of __length at __resolution", + "density of __length screen at __resolution", + "density of __length device at __resolution", + "density of __length display at __resolution" + ] + } + ], "datetime": [ { "prototypeExpressions": [ @@ -185,6 +262,180 @@ ] } ], + "videoRelated": [ + { + "prototypeExpressions": [ + "__frametime at __frameRate_expression", + "__laptime at __frameRate_expression", + "__timespan at __frameRate_expression", + "__frametime @ __frameRate_expression", + "__laptime @ __frameRate_expression", + "__timespan @ __frameRate_expression", + "__frametime at __rate", + "__laptime at __rate" + ], + "identifier": "formFrametime" + }, + { + "prototypeExpressions": [ + "__frames_expression at __frameRate_expression", + "__frames_expression at __rate", + "__frames_expression @ __frameRate_expression", + "__frames_expression @ __rate" + ], + "identifier": "framesToFrametime" + } + ], + "financial": [ + { + "prototypeExpressions": [ + "present value of 1000 after __timespan at __percentage", + "present value of 1000 over __timespan at __percentage" + ], + "identifier": "presentValue" + }, + { + "prototypeExpressions": [ + "annual return on 500 invested 1000 returned after __timespan", + "yearly return on 500 invested 1000 returned after __timespan", + "annual return on 500 invested 1000 returned over __timespan", + "yearly return on 500 invested 1000 returned over __timespan" + ], + "identifier": "returnOnInvestmentAfter" + }, + { + "identifier": "returnOnInvestment", + "prototypeExpressions": [ + "500 invested 1000 returned" + ] + }, + { + "identifier": "totalLoanRepayment", + "prototypeExpressions": [ + "total repayment on 10000 for __timespan at __percentage", + "total repayment on 10000 after __timespan at __percentage", + "total repayment on 10000 over __timespan at __percentage", + "total payment on 10000 for __timespan at __percentage", + "total payment on 10000 after __timespan at __percentage", + "total payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "annual repayment on 10000 for __timespan at __percentage", + "annual repayment on 10000 after __timespan at __percentage", + "annual repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 after __timespan at __percentage", + "yearly repayment on 10000 for __timespan at __percentage", + "annual payment on 10000 for __timespan at __percentage", + "annual payment on 10000 after __timespan at __percentage", + "annual payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 after __timespan at __percentage", + "yearly payment on 10000 for __timespan at __percentage" + ], + "identifier": "annualLoanRepayment" + }, + { + "identifier": "monthlyLoanRepayment", + "prototypeExpressions": [ + "monthly repayment on 10000 for __timespan at __percentage", + "monthly repayment on 10000 after __timespan at __percentage", + "monthly repayment on 10000 over __timespan at __percentage", + "monthly payment on 10000 for __timespan at __percentage", + "monthly payment on 10000 after __timespan at __percentage", + "monthly payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "total interest on 10000 for __timespan at __percentage", + "total interest on 10000 after __timespan at __percentage", + "total interest on 10000 over __timespan at __percentage" + ], + "identifier": "totalInterestOnLoanRepayment" + }, + { + "identifier": "annualInterestOnLoanRepayment", + "prototypeExpressions": [ + "annual interest on 10000 for __timespan at __percentage", + "annual interest on 10000 after __timespan at __percentage", + "annual interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 after __timespan at __percentage", + "yearly interest on 10000 for __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "monthly interest on 10000 for __timespan at __percentage", + "monthly interest on 10000 after __timespan at __percentage", + "monthly interest on 10000 over __timespan at __percentage" + ], + "identifier": "monthlyInterestOnLoanRepayment" + }, + { + "identifier": "compoundInterestCompoundingMonthly", + "prototypeExpressions": [ + "100 after __timespan at __percentage compounded monthly", + "100 for __timespan at __percentage compounded monthly", + "100 over __timespan at __percentage compounded monthly", + "100 at __percentage after __timespan compounded monthly", + "100 at __percentage for __timespan compounded monthly", + "100 at __percentage over __timespan compounded monthly", + "100 after __timespan at __percentage compounding monthly", + "100 for __timespan at __percentage compounding monthly", + "100 over __timespan at __percentage compounding monthly", + "100 at __percentage after __timespan compounding monthly", + "100 at __percentage for __timespan compounding monthly", + "100 at __percentage over __timespan compounding monthly" + ] + }, + { + "identifier": "compoundInterest", + "prototypeExpressions": [ + "100 after __timespan at __percentage", + "100 for __timespan at __percentage", + "100 over __timespan at __percentage", + "100 at __percentage after __timespan", + "100 at __percentage for __timespan", + "100 at __percentage over __timespan" + ] + }, + { + "identifier": "dollarWorthAdjustedForInflation", + "prototypeExpressions": [ + "500 from __datestamp is worth what __datestamp", + "500 in __datestamp is worth what __datestamp", + "500 from __datestamp is worth what in __datestamp", + "500 in __datestamp is worth what in __datestamp", + "what is 500 __datestamp worth in __datestamp", + "what is 500 in __datestamp worth in __datestamp", + "what is 500 from __datestamp worth in __datestamp", + "what is 500 __datestamp worth __datestamp", + "what is 500 in __datestamp worth __datestamp", + "what is 500 from __datestamp worth __datestamp" + ] + }, + { + "identifier": "predictedDollarWorthGivenInflation", + "prototypeExpressions": [ + "what will 500 be worth in __datestamp with __percentage inflation", + "what will 500 be worth in __datestamp given __percentage inflation", + "what will 500 be worth in __datestamp assuming __percentage inflation", + "what will 500 be worth in __datestamp at __percentage inflation", + "value of 500 in __datestamp with __percentage inflation", + "value of 500 in __datestamp given __percentage inflation", + "value of 500 in __datestamp assuming __percentage inflation", + "value of 500 in __datestamp at __percentage inflation", + "purchasing power of 500 in __datestamp with __percentage inflation", + "purchasing power of 500 in __datestamp given __percentage inflation", + "purchasing power of 500 in __datestamp assuming __percentage inflation", + "purchasing power of 500 in __datestamp at __percentage inflation" + ] + } + ], "general": [ { "prototypeExpressions": [ @@ -332,160 +583,22 @@ "identifier": "scrubNumberWithSpecifiedRange" } ], - "financial": [ - { - "prototypeExpressions": [ - "present value of 1000 after __timespan at __percentage", - "present value of 1000 over __timespan at __percentage" - ], - "identifier": "presentValue" - }, - { - "prototypeExpressions": [ - "annual return on 500 invested 1000 returned after __timespan", - "yearly return on 500 invested 1000 returned after __timespan", - "annual return on 500 invested 1000 returned over __timespan", - "yearly return on 500 invested 1000 returned over __timespan" - ], - "identifier": "returnOnInvestmentAfter" - }, - { - "identifier": "returnOnInvestment", - "prototypeExpressions": [ - "500 invested 1000 returned" - ] - }, - { - "identifier": "totalLoanRepayment", - "prototypeExpressions": [ - "total repayment on 10000 for __timespan at __percentage", - "total repayment on 10000 after __timespan at __percentage", - "total repayment on 10000 over __timespan at __percentage", - "total payment on 10000 for __timespan at __percentage", - "total payment on 10000 after __timespan at __percentage", - "total payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "annual repayment on 10000 for __timespan at __percentage", - "annual repayment on 10000 after __timespan at __percentage", - "annual repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 after __timespan at __percentage", - "yearly repayment on 10000 for __timespan at __percentage", - "annual payment on 10000 for __timespan at __percentage", - "annual payment on 10000 after __timespan at __percentage", - "annual payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 after __timespan at __percentage", - "yearly payment on 10000 for __timespan at __percentage" - ], - "identifier": "annualLoanRepayment" - }, - { - "identifier": "monthlyLoanRepayment", - "prototypeExpressions": [ - "monthly repayment on 10000 for __timespan at __percentage", - "monthly repayment on 10000 after __timespan at __percentage", - "monthly repayment on 10000 over __timespan at __percentage", - "monthly payment on 10000 for __timespan at __percentage", - "monthly payment on 10000 after __timespan at __percentage", - "monthly payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "total interest on 10000 for __timespan at __percentage", - "total interest on 10000 after __timespan at __percentage", - "total interest on 10000 over __timespan at __percentage" - ], - "identifier": "totalInterestOnLoanRepayment" - }, - { - "identifier": "annualInterestOnLoanRepayment", - "prototypeExpressions": [ - "annual interest on 10000 for __timespan at __percentage", - "annual interest on 10000 after __timespan at __percentage", - "annual interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 after __timespan at __percentage", - "yearly interest on 10000 for __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "monthly interest on 10000 for __timespan at __percentage", - "monthly interest on 10000 after __timespan at __percentage", - "monthly interest on 10000 over __timespan at __percentage" - ], - "identifier": "monthlyInterestOnLoanRepayment" - }, - { - "identifier": "compoundInterestCompoundingMonthly", - "prototypeExpressions": [ - "100 after __timespan at __percentage compounded monthly", - "100 for __timespan at __percentage compounded monthly", - "100 over __timespan at __percentage compounded monthly", - "100 at __percentage after __timespan compounded monthly", - "100 at __percentage for __timespan compounded monthly", - "100 at __percentage over __timespan compounded monthly", - "100 after __timespan at __percentage compounding monthly", - "100 for __timespan at __percentage compounding monthly", - "100 over __timespan at __percentage compounding monthly", - "100 at __percentage after __timespan compounding monthly", - "100 at __percentage for __timespan compounding monthly", - "100 at __percentage over __timespan compounding monthly" - ] - }, - { - "identifier": "compoundInterest", - "prototypeExpressions": [ - "100 after __timespan at __percentage", - "100 for __timespan at __percentage", - "100 over __timespan at __percentage", - "100 at __percentage after __timespan", - "100 at __percentage for __timespan", - "100 at __percentage over __timespan" - ] - } - ], - "videoRelated": [ - { - "prototypeExpressions": [ - "__frametime at __frequency_expression", - "__laptime at __frequency_expression", - "__timespan at __frequency_expression", - "__frametime @ __frequency_expression", - "__laptime @ __frequency_expression", - "__timespan @ __frequency_expression", - "__frametime at __rate", - "__laptime at __rate" - ], - "identifier": "formFrametime" - }, - { - "prototypeExpressions": [ - "__frames_expression at __frequency_expression", - "__frames_expression at __rate", - "__frames_expression @ __frequency_expression", - "__frames_expression @ __rate" - ], - "identifier": "framesToFrametime" - } - ], "changeRelated": [ { "identifier": "exponentialGrowth", "prototypeExpressions": [ "20 after __timespan at __percentage every __timespan", "20 after __timespan at __percentage each __timespan", + "20 after __timespan at __percentage per __timespan", "20 after __timespan at __percentage every __unit", "20 after __timespan at __percentage each __unit", + "20 after __timespan at __percentage per __unit", "20 after __timespan at __percentage growth every __timespan", "20 after __timespan at __percentage growth each __timespan", + "20 after __timespan at __percentage growth per __timespan", "20 after __timespan at __percentage growth every __unit", - "20 after __timespan at __percentage growth each __unit" + "20 after __timespan at __percentage growth each __unit", + "20 after __timespan at __percentage growth per __unit" ] }, { @@ -493,16 +606,22 @@ "prototypeExpressions": [ "20 after __timespan at −__percentage every __timespan", "20 after __timespan at −__percentage each __timespan", + "20 after __timespan at −__percentage per __timespan", "20 after __timespan at −__percentage every __unit", "20 after __timespan at −__percentage each __unit", + "20 after __timespan at −__percentage per __unit", "20 after __timespan at -__percentage every __timespan", "20 after __timespan at -__percentage each __timespan", + "20 after __timespan at -__percentage per __timespan", "20 after __timespan at -__percentage every __unit", "20 after __timespan at -__percentage each __unit", + "20 after __timespan at -__percentage per __unit", "20 after __timespan at __percentage decay every __timespan", "20 after __timespan at __percentage decay each __timespan", + "20 after __timespan at __percentage decay per __timespan", "20 after __timespan at __percentage decay every __unit", - "20 after __timespan at __percentage decay each __unit" + "20 after __timespan at __percentage decay each __unit", + "20 after __timespan at __percentage decay per __unit" ] }, { @@ -512,22 +631,32 @@ "time from 20 to 30 at __percentage every __unit", "time from 20 to 30 at __percentage each __timespan", "time from 20 to 30 at __percentage each __unit", + "time from 20 to 30 at __percentage per __timespan", + "time from 20 to 30 at __percentage per __unit", "time from 20 to 30 at −__percentage every __timespan", "time from 20 to 30 at −__percentage every __unit", "time from 20 to 30 at −__percentage each __timespan", "time from 20 to 30 at −__percentage each __unit", + "time from 20 to 30 at −__percentage per __timespan", + "time from 20 to 30 at −__percentage per __unit", "time from 20 to 30 at -__percentage every __timespan", "time from 20 to 30 at -__percentage every __unit", "time from 20 to 30 at -__percentage each __timespan", "time from 20 to 30 at -__percentage each __unit", + "time from 20 to 30 at -__percentage per __timespan", + "time from 20 to 30 at -__percentage per __unit", "time from 20 to 30 at __percentage growth every __timespan", "time from 20 to 30 at __percentage growth every __unit", "time from 20 to 30 at __percentage growth each __timespan", "time from 20 to 30 at __percentage growth each __unit", + "time from 20 to 30 at __percentage growth per __timespan", + "time from 20 to 30 at __percentage growth per __unit", "time from 20 to 30 at __percentage decay every __timespan", "time from 20 to 30 at __percentage decay every __unit", "time from 20 to 30 at __percentage decay each __timespan", - "time from 20 to 30 at __percentage decay each __unit" + "time from 20 to 30 at __percentage decay each __unit", + "time from 20 to 30 at __percentage decay per __timespan", + "time from 20 to 30 at __percentage decay per __unit" ] }, { @@ -536,7 +665,15 @@ "growth per __timespan from 20 to 30 over __timespan", "decay per __timespan from 20 to 30 over __timespan", "growth per __unit from 20 to 30 over __timespan", - "decay per __unit from 20 to 30 over __timespan" + "decay per __unit from 20 to 30 over __timespan", + "growth each __timespan from 20 to 30 over __timespan", + "decay each __timespan from 20 to 30 over __timespan", + "growth each __unit from 20 to 30 over __timespan", + "decay each __unit from 20 to 30 over __timespan", + "growth every __timespan from 20 to 30 over __timespan", + "decay every __timespan from 20 to 30 over __timespan", + "growth every __unit from 20 to 30 over __timespan", + "decay every __unit from 20 to 30 over __timespan" ] }, { @@ -574,63 +711,6 @@ ] } ], - "unitRelated": [ - { - "prototypeExpressions": [ - "__unit in __unit_expression", - "__unit in a __unit", - "__unit in an __unit" - ], - "identifier": "unitInUnitExpression" - }, - { - "prototypeExpressions": [ - "__unit_expression __substance in __unit", - "__unit_expression of __substance in __unit", - "__unit_expression __substance as __unit", - "__unit_expression of __substance as __unit", - "__unit_expression __substance to __unit", - "__unit_expression of __substance to __unit" - ], - "identifier": "substanceWeightToVolumeConversion" - }, - { - "prototypeExpressions": [ - "density of __substance", - "__substance density" - ], - "identifier": "densityOfSubstance" - }, - { - "prototypeExpressions": [ - "__unit in __timespan" - ], - "identifier": "unitInTimespan" - }, - { - "identifier": "rateUnitChange", - "prototypeExpressions": [ - "__rate is what / __unit", - "__rate is how much / __unit", - "__rate as / __unit", - "__rate is what /__unit", - "__rate is how much /__unit", - "__rate as /__unit", - "__rate is what per __unit", - "__rate is how much per __unit", - "__rate as per __unit", - "__rate is what per__unit", - "__rate is how much per__unit", - "__rate as per__unit" - ] - }, - { - "identifier": "rateForADuration", - "prototypeExpressions": [ - "__rate for a __duration" - ] - } - ], "percentage": [ { "prototypeExpressions": [ @@ -689,58 +769,82 @@ { "prototypeExpressions": [ "10 is what % of 20", + "10 is what percent of 20", + "10 is what percentage of 20", "10 as a % of 20", - "10 as % of 20" + "10 as % of 20", + "10 as a percent of 20", + "10 as percent of 20", + "10 as a percentage of 20", + "10 as percentage of 20" ], "identifier": "isWhatPercentOf" }, { "prototypeExpressions": [ "10 is what % off 20", + "10 is what percent off 20", + "10 is what percentage off 20", "10 as a % off 20", - "10 as % off 20" + "10 as % off 20", + "10 as a percent off 20", + "10 as percent off 20", + "10 as a percentage off 20", + "10 as percentage off 20" ], "identifier": "isWhatPercentOff" }, { "prototypeExpressions": [ "20 is what % on 10", + "20 is what percent on 10", + "20 is what percentage on 10", "20 as a % on 10", - "20 as % on 10" + "20 as % on 10", + "20 as percent on 10", + "20 as a percent on 10", + "20 as percentage on 10", + "20 as a percentage on 10" ], "identifier": "isWhatPercentOn" + }, + { + "prototypeExpressions": [ + "__sales_tax in 500", + "__sales_tax from 500" + ], + "identifier": "salesTaxIn" } ], - "tagRelated": [ + "statistics": [ { "prototypeExpressions": [ - "total of __tag", - "total __tag", - "__tag total", - "sum of __tag", - "sum __tag", - "__tag sum" + "__statistic_type of __list", + "__statistic_type __list" ], - "identifier": "tagTotal" + "identifier": "statisticOfList" }, { "prototypeExpressions": [ - "average of __tag", - "average __tag", - "__tag average", - "mean of __tag", - "mean __tag", - "__tag mean" + "__statistic_type of __tag", + "__statistic_type __tag", + "__tag __statistic_type" + ], + "identifier": "statisticOfTag" + } + ], + "soundRelated": [ + { + "prototypeExpressions": [ + "wavelength of __frequency_expression" ], - "identifier": "tagAverage" + "identifier": "wavelengthOfFrequencyOfSound" }, { "prototypeExpressions": [ - "count of __tag", - "count __tag", - "__tag count" + "frequency of __length_expression" ], - "identifier": "tagCount" + "identifier": "frequencyOfWavelengthOfSound" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/LocalizedFixtures.json b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/LocalizedFixtures.json index 5ed639613..39d66dff3 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/LocalizedFixtures.json +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/LocalizedFixtures.json @@ -7,22 +7,6 @@ "nextDateQualifiers": [ "next" ], - "thisDateQualifiers": [ - "this" - ], - "ordinalSuffixes": [ - "st", - "nd", - "rd", - "th" - ], - "middayAliases": [ - "midday", - "noon" - ], - "midnightAliases": [ - "midnight" - ], "converterSymbols": [ "to", "as" @@ -45,18 +29,21 @@ "hereAliases": [ "here" ], - "pmAliases": [ - "pm" - ], - "amAliases": [ - "am" - ], "nowDateAliases": [ "now" ], + "ordinalSuffixes": [ + "st", + "nd", + "rd", + "th" + ], "piAliases": [ "π" ], + "thisDateQualifiers": [ + "this" + ], "divisionOperators": [ "÷", "per" @@ -64,17 +51,13 @@ "fractionTypes": [ "fraction" ], + "midnightAliases": [ + "midnight" + ], "multiplierTypes": [ "multiplier", "multiple" ], - "binaryTypes": [ - "binary" - ], - "hexadecimalTypes": [ - "hexadecimal", - "hex" - ], "roundingUpConverters": [ "rounded up" ], @@ -98,13 +81,16 @@ "iso8601Types": [ "iso8601" ], - "lessThanOrEqualToOperators": [ - "<=", - "=<" + "pmAliases": [ + "pm" ], "roundingConverters": [ "rounded" ], + "lessThanOrEqualToOperators": [ + "<=", + "=<" + ], "subtractionOperators": [ "−", "–", @@ -113,6 +99,14 @@ "dateTypes": [ "date" ], + "middayAliases": [ + "midday", + "noon" + ], + "hexadecimalTypes": [ + "hexadecimal", + "hex" + ], "reverseSubtractionOperators": [ ], "numberTypes": [ @@ -122,12 +116,23 @@ "roundingDownConverters": [ "rounded down" ], + "amAliases": [ + "am" + ], "todayDateAliases": [ "today" ], + "binaryTypes": [ + "binary" + ], "additionOperators": [ "plus" ], + "midiTypes": [ + "midi", + "midi number", + "MIDI note number" + ], "isNotEqualToOperators": [ "!=", "=!" @@ -136,18 +141,36 @@ ">=", "=>" ], + "totalAliases": [ + "total", + "sum" + ], "multiplicationOperators": [ "×", "x" ], + "medianAliases": [ + "median" + ], "timestampTypes": [ "timestamp" ], + "averageAliases": [ + "average", + "mean" + ], + "pitchTypes": [ + "pitch", + "musical note" + ], "yesterdayDateAliases": [ "yesterday" ], + "countAliases": [ + "count" + ], "tomorrowDateAliases": [ "tomorrow" ] } -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/UnitDescriptions.json b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/UnitDescriptions.json index 1cc2920be..49596741e 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/UnitDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/en.lproj/UnitDescriptions.json @@ -1,43 +1,15 @@ { - "speed": [ - { - "aliases": [ - "meter per second", - "meters per second", - "metre per second", - "metres per second" - ], - "symbol": "m/s", - "identifier": "metersPerSecond" - }, - { - "aliases": [ - "kilometer per hour", - "kilometers per hour", - "kilometre per hour", - "kilometres per hour", - "kmph", - "kph", - "kmh" - ], - "symbol": "km/h", - "identifier": "kilometersPerHour" - }, - { - "aliases": [ - "mile per hour", - "miles per hour" - ], - "symbol": "mph", - "identifier": "milesPerHour" - }, + "fuelConsumption": [ { "aliases": [ - "knot", - "knots" + "L/100 km", + "liters per 100 km", + "litres per 100 km", + "liters per 100 kilometers", + "litres per 100 kilometres" ], - "symbol": "kn", - "identifier": "knots" + "symbol": "L/100km", + "identifier": "litersPer100Kilometers" } ], "volume": [ @@ -99,7 +71,9 @@ "identifier": "microliters" }, { + "identifier": "cubicKilometers", "aliases": [ + "cubic km", "cubic kilometer", "cubic kilometers", "cubic kilometre", @@ -113,11 +87,11 @@ "km3", "km^3" ], - "symbol": "km³", - "identifier": "cubicKilometers" + "symbol": "km³" }, { "aliases": [ + "cubic m", "cubic meter", "cubic meters", "cubic metre", @@ -134,6 +108,7 @@ }, { "aliases": [ + "cubic cm", "cubic centimeter", "cubic centimeters", "cubic centimetre", @@ -147,6 +122,7 @@ }, { "aliases": [ + "cubic mm", "cubic millimeter", "cubic millimeters", "cubic millimetre", @@ -172,6 +148,7 @@ }, { "aliases": [ + "cubic ft", "cubic foot", "cubic feet", "cuft", @@ -184,6 +161,7 @@ }, { "aliases": [ + "cubic yd", "cubic yard", "cubic yards", "yd³", @@ -197,6 +175,7 @@ }, { "aliases": [ + "cubic mi", "cubic mile", "cubic miles", "mi³", @@ -294,318 +273,405 @@ "identifier": "fluidOunces" } ], - "dataStorage": [ + "substanceConcentration": [ { "aliases": [ - "byte", - "bytes" + "molars", + "molar" ], - "symbol": "B", - "identifier": "bytes" - }, + "symbol": "ᴍ", + "identifier": "molar" + } + ], + "temperature": [ { "aliases": [ - "bit", - "bits" + "kelvin" ], - "symbol": "bit", - "identifier": "bits" + "symbol": "K", + "identifier": "kelvin" }, { "aliases": [ - "yottabyte", - "yottabytes" + "degree celsius", + "degrees celsius", + "degrees celcius", + "celsius", + "ºC", + "℃", + "C", + "degC" ], - "symbol": "YB", - "identifier": "yottabytes" + "symbol": "°C", + "identifier": "celsius" }, { "aliases": [ - "zettabyte", - "zettabytes" + "degree fahrenheit", + "degrees fahrenheit", + "ºF", + "℉", + "F", + "degF", + "fahrenheit" ], - "symbol": "ZB", - "identifier": "zettabytes" - }, + "symbol": "°F", + "identifier": "fahrenheit" + } + ], + "screenDensity": [ { "aliases": [ - "exabyte", - "exabytes" + "pixels per inch", + "pixel per inch", + "ppi" ], - "symbol": "EB", - "identifier": "exabytes" - }, + "symbol": "PPI", + "identifier": "ppi" + } + ], + "duration": [ { "aliases": [ - "petabyte", - "petabytes" + "hour", + "hours", + "hrs", + "h" ], - "symbol": "PB", - "identifier": "petabytes" + "symbol": "hr", + "identifier": "hours" }, { "aliases": [ - "terabyte", - "terabytes", - "TB", - "tb" + "second", + "seconds", + "sec", + "secs" ], - "symbol": "TB", - "identifier": "terabytes" + "symbol": "s", + "identifier": "seconds" }, { "aliases": [ - "gigabyte", - "gigabytes", - "GB", - "gb" + "minute", + "minutes", + "mins" ], - "symbol": "GB", - "identifier": "gigabytes" + "symbol": "min", + "identifier": "minutes" }, { "aliases": [ - "megabyte", - "megabytes", - "MB", - "mb" + "days" ], - "symbol": "MB", - "identifier": "megabytes" + "symbol": "day", + "identifier": "days" }, { "aliases": [ - "kilobyte", - "kilobytes", - "KB", - "kb" + "weekday", + "weekdays", + "workdays", + "week day", + "week days", + "work days", + "working days", + "working day", + "business day", + "business days" ], - "symbol": "kB", - "identifier": "kilobytes" + "symbol": "workday", + "identifier": "weekdays" }, { "aliases": [ - "yottabit", - "yottabits", - "Yb" + "weeks" ], - "symbol": "Ybit", - "identifier": "yottabits" + "symbol": "week", + "identifier": "weeks" }, { "aliases": [ - "zettabit", - "zettabits", - "Zb" + "months" ], - "symbol": "Zbit", - "identifier": "zettabits" + "symbol": "month", + "identifier": "months" }, { "aliases": [ - "exabit", - "exabits", - "Eb" + "years" ], - "symbol": "Ebit", - "identifier": "exabits" + "symbol": "year", + "identifier": "years" }, { "aliases": [ - "petabit", - "petabits", - "Pb" + "millisecond", + "milliseconds" ], - "symbol": "Pbit", - "identifier": "petabits" + "symbol": "ms", + "identifier": "milliseconds" }, { "aliases": [ - "terabit", - "terabits", - "Tb" + "microsecond", + "microseconds" ], - "symbol": "Tbit", - "identifier": "terabits" + "symbol": "µs", + "identifier": "microseconds" }, { "aliases": [ - "gigabit", - "gigabits", - "Gb" + "nanosecond", + "nanoseconds" ], - "symbol": "Gbit", - "identifier": "gigabits" - }, + "symbol": "ns", + "identifier": "nanoseconds" + } + ], + "speed": [ { "aliases": [ - "megabit", - "megabits", - "Mb" + "meter per second", + "meters per second", + "metre per second", + "metres per second" ], - "symbol": "Mbit", - "identifier": "megabits" + "symbol": "m/s", + "identifier": "metersPerSecond" }, { "aliases": [ - "kilobit", - "kilobits", - "Kb" + "kilometer per hour", + "kilometers per hour", + "kilometre per hour", + "kilometres per hour", + "kmph", + "kph", + "kmh" ], - "symbol": "kbit", - "identifier": "kilobits" + "symbol": "km/h", + "identifier": "kilometersPerHour" }, { "aliases": [ - "yobibyte", - "yobibytes", - "YiB", - "yib" + "mile per hour", + "miles per hour" ], - "symbol": "YiB", - "identifier": "yobibytes" + "symbol": "mph", + "identifier": "milesPerHour" }, { "aliases": [ - "zebibyte", - "zebibytes", - "ZiB", - "zib" + "knot", + "knots" ], - "symbol": "ZiB", - "identifier": "zebibytes" - }, + "symbol": "kn", + "identifier": "knots" + } + ], + "angle": [ { "aliases": [ - "exbibyte", - "exbibytes", - "EiB", - "eib" + "degree", + "degrees", + "º" ], - "symbol": "EiB", - "identifier": "exbibytes" + "symbol": "°", + "identifier": "degrees" }, { "aliases": [ - "pebibyte", - "pebibytes", - "PiB", - "pib" + "arcminutes", + "arcmin", + "arc minutes", + "arc min" ], - "symbol": "PiB", - "identifier": "pebibytes" + "symbol": "′", + "identifier": "arcMinutes" }, { "aliases": [ - "tebibyte", - "tebibytes", - "TiB", - "tib" + "arcseconds", + "arcsec", + "arc seconds", + "arc sec" ], - "symbol": "TiB", - "identifier": "tebibytes" + "symbol": "″", + "identifier": "arcSeconds" }, { "aliases": [ - "gibibyte", - "gibibytes", - "GiB", - "gib" + "radian", + "radians" ], - "symbol": "GiB", - "identifier": "gibibytes" + "symbol": "rad", + "identifier": "radians" + } + ], + "frameRate": [ + { + "aliases": [ + ], + "symbol": "fps", + "identifier": "framesPerSecond" + } + ], + "length": [ + { + "aliases": [ + "meter", + "meters", + "metre", + "metres" + ], + "symbol": "m", + "identifier": "meters" }, { "aliases": [ - "mebibyte", - "mebibytes", - "MiB", - "mib" + "kilometer", + "kilometers", + "kilometre", + "kilometres" ], - "symbol": "MiB", - "identifier": "mebibytes" + "symbol": "km", + "identifier": "kilometers" }, { "aliases": [ - "kibibyte", - "kibibytes", - "KiB", - "kib" + "centimeter", + "centimeters", + "centimetre", + "centimetres" ], - "symbol": "KiB", - "identifier": "kibibytes" + "symbol": "cm", + "identifier": "centimeters" }, { "aliases": [ - "yobibit", - "yobibits", - "Yibit" + "millimeter", + "millimetres", + "millimetre", + "millimeters" ], - "symbol": "Yib", - "identifier": "yobibits" + "symbol": "mm", + "identifier": "millimeters" }, { "aliases": [ - "zebibit", - "zebibits", - "Zibit" + "micrometre", + "micrometres", + "micrometre", + "micrometers" ], - "symbol": "Zib", - "identifier": "zebibits" + "symbol": "µm", + "identifier": "micrometers" }, { "aliases": [ - "exbibit", - "exbibits", - "Eibit" + "nanometer", + "nanometers", + "nanometre", + "nanometres" ], - "symbol": "Eib", - "identifier": "exbibits" + "symbol": "nm", + "identifier": "nanometers" }, { "aliases": [ - "pebibit", - "pebibits", - "Pibit" + "inch", + "inches" ], - "symbol": "Pib", - "identifier": "pebibits" + "symbol": "in", + "identifier": "inches" }, { "aliases": [ - "tebibit", - "tebibits", - "Tibit" + "foot", + "feet" ], - "symbol": "Tib", - "identifier": "tebibits" + "symbol": "ft", + "identifier": "feet" }, { "aliases": [ - "gibibit", - "gibibits", - "Gibit" + "yard", + "yards" ], - "symbol": "Gib", - "identifier": "gibibits" + "symbol": "yd", + "identifier": "yards" }, { "aliases": [ - "mebibit", - "mebibits", - "Mibit" + "mile", + "miles" ], - "symbol": "Mib", - "identifier": "mebibits" + "symbol": "mi", + "identifier": "miles" }, { "aliases": [ - "kibibit", - "kibibits", - "Kibit" + "light year", + "light years" ], - "symbol": "Kib", - "identifier": "kibibits" + "symbol": "ly", + "identifier": "lightyears" + }, + { + "aliases": [ + "parsec", + "parsecs" + ], + "symbol": "pc", + "identifier": "parsecs" + }, + { + "aliases": [ + "nautical mile", + "nautical miles" + ], + "symbol": "NM", + "identifier": "nauticalMiles" + }, + { + "aliases": [ + "fathom", + "fathoms" + ], + "symbol": "ftm", + "identifier": "fathoms" + }, + { + "aliases": [ + "furlong", + "furlongs" + ], + "symbol": "fur", + "identifier": "furlongs" + }, + { + "aliases": [ + "pixel", + "pixels" + ], + "symbol": "px", + "identifier": "pixel" + }, + { + "aliases": [ + ], + "symbol": "em", + "identifier": "em" + }, + { + "aliases": [ + "pts", + "PostScript point", + "PostScript points" + ], + "symbol": "pt", + "identifier": "point" } ], "energy": [ @@ -714,54 +780,89 @@ "identifier": "terawattHours" } ], - "temperature": [ + "power": [ { "aliases": [ - "kelvin" + "watt", + "watts" ], - "symbol": "K", - "identifier": "kelvin" + "symbol": "W", + "identifier": "watts" }, { "aliases": [ - "degree celsius", - "degrees celsius", - "degrees celcius", - "celsius", - "ºC", - "℃", - "C", - "degC" + "milliwatt", + "milliwatts" ], - "symbol": "°C", - "identifier": "celsius" + "symbol": "mW", + "identifier": "milliwatts" }, { "aliases": [ - "degree fahrenheit", - "degrees fahrenheit", - "ºF", - "℉", - "F", - "degF", - "fahrenheit" + "kilowatt", + "kilowatts" ], - "symbol": "°F", - "identifier": "fahrenheit" - } - ], - "dataTransfer": [ + "symbol": "kW", + "identifier": "kilowatts" + }, { "aliases": [ - "bytes per second" + "megawatt", + "megawatts" ], - "symbol": "Bps", - "identifier": "bytesPerSecond" + "symbol": "MW", + "identifier": "megawatts" }, { "aliases": [ - "bits per second" - ], + "gigawatt", + "gigawatts" + ], + "symbol": "GW", + "identifier": "gigawatts" + }, + { + "aliases": [ + "terawatt", + "terawatts" + ], + "symbol": "TW", + "identifier": "terawatts" + }, + { + "aliases": [ + "horsepower" + ], + "symbol": "hp", + "identifier": "horsepower" + } + ], + "fuelEconomy": [ + { + "aliases": [ + ], + "symbol": "km/L", + "identifier": "kilometersPerLiter" + }, + { + "aliases": [ + ], + "symbol": "mpg", + "identifier": "milesPerGallon" + } + ], + "dataTransfer": [ + { + "aliases": [ + "bytes per second" + ], + "symbol": "Bps", + "identifier": "bytesPerSecond" + }, + { + "aliases": [ + "bits per second" + ], "symbol": "bps", "identifier": "bitsPerSecond" }, @@ -998,185 +1099,19 @@ "identifier": "kibibitsPerSecond" } ], - "angle": [ - { - "aliases": [ - "degree", - "degrees", - "º" - ], - "symbol": "°", - "identifier": "degrees" - }, - { - "aliases": [ - "radian", - "radians" - ], - "symbol": "rad", - "identifier": "radians" - } - ], - "length": [ - { - "aliases": [ - "meter", - "meters", - "metre", - "metres" - ], - "symbol": "m", - "identifier": "meters" - }, - { - "aliases": [ - "kilometer", - "kilometers", - "kilometre", - "kilometres" - ], - "symbol": "km", - "identifier": "kilometers" - }, - { - "aliases": [ - "centimeter", - "centimeters", - "centimetre", - "centimetres" - ], - "symbol": "cm", - "identifier": "centimeters" - }, - { - "aliases": [ - "millimeter", - "millimetres", - "millimetre", - "millimeters" - ], - "symbol": "mm", - "identifier": "millimeters" - }, - { - "aliases": [ - "micrometre", - "micrometres", - "micrometre", - "micrometers" - ], - "symbol": "µm", - "identifier": "micrometers" - }, - { - "aliases": [ - "nanometer", - "nanometers", - "nanometre", - "nanometres" - ], - "symbol": "nm", - "identifier": "nanometers" - }, - { - "aliases": [ - "inch", - "inches" - ], - "symbol": "in", - "identifier": "inches" - }, - { - "aliases": [ - "foot", - "feet" - ], - "symbol": "ft", - "identifier": "feet" - }, - { - "aliases": [ - "yard", - "yards" - ], - "symbol": "yd", - "identifier": "yards" - }, - { - "aliases": [ - "mile", - "miles" - ], - "symbol": "mi", - "identifier": "miles" - }, - { - "aliases": [ - "light year", - "light years" - ], - "symbol": "ly", - "identifier": "lightyears" - }, - { - "aliases": [ - "parsec", - "parsecs" - ], - "symbol": "pc", - "identifier": "parsecs" - }, - { - "aliases": [ - "nautical mile", - "nautical miles" - ], - "symbol": "NM", - "identifier": "nauticalMiles" - }, - { - "aliases": [ - "fathom", - "fathoms" - ], - "symbol": "ftm", - "identifier": "fathoms" - }, - { - "aliases": [ - "furlong", - "furlongs" - ], - "symbol": "fur", - "identifier": "furlongs" - }, - { - "aliases": [ - "pixel", - "pixels" - ], - "symbol": "px", - "identifier": "pixel" - }, - { - "aliases": [ - ], - "symbol": "em", - "identifier": "em" - }, + "frames": [ { "aliases": [ - "pts", - "PostScript point", - "PostScript points" + "frame" ], - "symbol": "pt", - "identifier": "point" + "symbol": "frames", + "identifier": "frames" } ], "area": [ { "aliases": [ + "square km", "square kilometer", "square kilometers", "square kilometre", @@ -1194,6 +1129,7 @@ }, { "aliases": [ + "square m", "square meter", "square meters", "square metre", @@ -1219,6 +1155,7 @@ }, { "aliases": [ + "square cm", "square centimeter", "square centimeters", "square centimetre", @@ -1236,6 +1173,7 @@ }, { "aliases": [ + "square mm", "square millimeter", "square millimeters", "square millimetre", @@ -1253,6 +1191,7 @@ }, { "aliases": [ + "square µm", "square micrometer", "square micrometers", "square micrometre", @@ -1269,6 +1208,7 @@ }, { "aliases": [ + "square in", "square inch", "square inches", "sqin", @@ -1281,6 +1221,7 @@ }, { "aliases": [ + "square ft", "square foot", "square feet", "sqft", @@ -1295,6 +1236,7 @@ }, { "aliases": [ + "square yd", "square yard", "square yards", "sqyard", @@ -1309,6 +1251,7 @@ }, { "aliases": [ + "square mi", "square mile", "square miles", "mi^2", @@ -1348,100 +1291,43 @@ "identifier": "ares" } ], - "power": [ + "mass": [ { "aliases": [ - "watt", - "watts" + "kilogram", + "kilograms" ], - "symbol": "W", - "identifier": "watts" + "symbol": "kg", + "identifier": "kilograms" }, { "aliases": [ - "milliwatt", - "milliwatts" + "gram", + "grams" ], - "symbol": "mW", - "identifier": "milliwatts" + "symbol": "g", + "identifier": "grams" }, { "aliases": [ - "kilowatt", - "kilowatts" + "milligram", + "milligrams" ], - "symbol": "kW", - "identifier": "kilowatts" + "symbol": "mg", + "identifier": "milligrams" }, { "aliases": [ - "megawatt", - "megawatts" + "nanogram", + "nanograms" ], - "symbol": "MW", - "identifier": "megawatts" + "symbol": "ng", + "identifier": "nanograms" }, { "aliases": [ - "gigawatt", - "gigawatts" - ], - "symbol": "GW", - "identifier": "gigawatts" - }, - { - "aliases": [ - "terawatt", - "terawatts" - ], - "symbol": "TW", - "identifier": "terawatts" - }, - { - "aliases": [ - "horsepower" - ], - "symbol": "hp", - "identifier": "horsepower" - } - ], - "mass": [ - { - "aliases": [ - "kilogram", - "kilograms" - ], - "symbol": "kg", - "identifier": "kilograms" - }, - { - "aliases": [ - "gram", - "grams" - ], - "symbol": "g", - "identifier": "grams" - }, - { - "aliases": [ - "milligram", - "milligrams" - ], - "symbol": "mg", - "identifier": "milligrams" - }, - { - "aliases": [ - "nanogram", - "nanograms" - ], - "symbol": "ng", - "identifier": "nanograms" - }, - { - "aliases": [ - "ounce", - "ounces" + "ounce", + "ounces" ], "symbol": "oz", "identifier": "ounces" @@ -1501,177 +1387,416 @@ "identifier": "ouncesTroy" } ], - "duration": [ + "frequency": [ { "aliases": [ - "hour", - "hours", - "hrs", - "h" + "hertz", + "hz" ], - "symbol": "hr", - "identifier": "hours" + "symbol": "Hz", + "identifier": "hertz" }, { "aliases": [ - "second", - "seconds", - "sec", - "secs" + "kilohertz" ], - "symbol": "s", - "identifier": "seconds" + "symbol": "kHz", + "identifier": "kilohertz" }, { "aliases": [ - "minute", - "minutes", - "mins" + "megahertz" ], - "symbol": "min", - "identifier": "minutes" + "symbol": "MHz", + "identifier": "megahertz" }, { "aliases": [ - "days" + "gigahertz" ], - "symbol": "day", - "identifier": "days" + "symbol": "GHz", + "identifier": "gigahertz" }, { "aliases": [ - "weekday", - "weekdays", - "workdays", - "week day", - "week days", - "work days", - "working days", - "working day", - "business day", - "business days" + "terahertz" ], - "symbol": "workday", - "identifier": "weekdays" + "symbol": "THz", + "identifier": "terahertz" }, { "aliases": [ - "weeks" + "millihertz" ], - "symbol": "week", - "identifier": "weeks" + "symbol": "mHz", + "identifier": "millihertz" }, { "aliases": [ - "months" + "microhertz" ], - "symbol": "month", - "identifier": "months" + "symbol": "µHz", + "identifier": "microhertz" }, { "aliases": [ - "years" + "nanohertz" ], - "symbol": "year", - "identifier": "years" + "symbol": "nHz", + "identifier": "nanohertz" + } + ], + "dataStorage": [ + { + "aliases": [ + "byte", + "bytes" + ], + "symbol": "B", + "identifier": "bytes" }, { "aliases": [ - "millisecond", - "milliseconds" + "bit", + "bits" ], - "symbol": "ms", - "identifier": "milliseconds" + "symbol": "bit", + "identifier": "bits" }, { "aliases": [ - "microsecond", - "microseconds" + "yottabyte", + "yottabytes" ], - "symbol": "µs", - "identifier": "microseconds" + "symbol": "YB", + "identifier": "yottabytes" }, { "aliases": [ - "nanosecond", - "nanoseconds" + "zettabyte", + "zettabytes" ], - "symbol": "ns", - "identifier": "nanoseconds" - } - ], - "frames": [ + "symbol": "ZB", + "identifier": "zettabytes" + }, { "aliases": [ - "frame" + "exabyte", + "exabytes" ], - "symbol": "frames", - "identifier": "frames" - } - ], - "frequency": [ + "symbol": "EB", + "identifier": "exabytes" + }, { "aliases": [ - "hertz", - "hz" + "petabyte", + "petabytes" ], - "symbol": "Hz", - "identifier": "hertz" + "symbol": "PB", + "identifier": "petabytes" }, { "aliases": [ - "kilohertz" + "terabyte", + "terabytes", + "TB", + "tb" ], - "symbol": "kHz", - "identifier": "kilohertz" + "symbol": "TB", + "identifier": "terabytes" }, { "aliases": [ - "megahertz" + "gigabyte", + "gigabytes", + "GB", + "gb" ], - "symbol": "MHz", - "identifier": "megahertz" + "symbol": "GB", + "identifier": "gigabytes" }, { "aliases": [ - "gigahertz" + "megabyte", + "megabytes", + "MB", + "mb" ], - "symbol": "GHz", - "identifier": "gigahertz" + "symbol": "MB", + "identifier": "megabytes" }, { "aliases": [ - "terahertz" + "kilobyte", + "kilobytes", + "KB", + "kb" ], - "symbol": "THz", - "identifier": "terahertz" + "symbol": "kB", + "identifier": "kilobytes" }, { "aliases": [ - "millihertz" + "yottabit", + "yottabits", + "Yb" ], - "symbol": "mHz", - "identifier": "millihertz" + "symbol": "Ybit", + "identifier": "yottabits" }, { "aliases": [ - "microhertz" + "zettabit", + "zettabits", + "Zb" ], - "symbol": "µHz", - "identifier": "microhertz" + "symbol": "Zbit", + "identifier": "zettabits" }, { "aliases": [ - "nanohertz" + "exabit", + "exabits", + "Eb" ], - "symbol": "nHz", - "identifier": "nanohertz" + "symbol": "Ebit", + "identifier": "exabits" }, { "aliases": [ + "petabit", + "petabits", + "Pb" ], - "symbol": "fps", - "identifier": "framesPerSecond" + "symbol": "Pbit", + "identifier": "petabits" + }, + { + "aliases": [ + "terabit", + "terabits", + "Tb" + ], + "symbol": "Tbit", + "identifier": "terabits" + }, + { + "aliases": [ + "gigabit", + "gigabits", + "Gb" + ], + "symbol": "Gbit", + "identifier": "gigabits" + }, + { + "aliases": [ + "megabit", + "megabits", + "Mb" + ], + "symbol": "Mbit", + "identifier": "megabits" + }, + { + "aliases": [ + "kilobit", + "kilobits", + "Kb" + ], + "symbol": "kbit", + "identifier": "kilobits" + }, + { + "aliases": [ + "yobibyte", + "yobibytes", + "YiB", + "yib" + ], + "symbol": "YiB", + "identifier": "yobibytes" + }, + { + "aliases": [ + "zebibyte", + "zebibytes", + "ZiB", + "zib" + ], + "symbol": "ZiB", + "identifier": "zebibytes" + }, + { + "aliases": [ + "exbibyte", + "exbibytes", + "EiB", + "eib" + ], + "symbol": "EiB", + "identifier": "exbibytes" + }, + { + "aliases": [ + "pebibyte", + "pebibytes", + "PiB", + "pib" + ], + "symbol": "PiB", + "identifier": "pebibytes" + }, + { + "aliases": [ + "tebibyte", + "tebibytes", + "TiB", + "tib" + ], + "symbol": "TiB", + "identifier": "tebibytes" + }, + { + "aliases": [ + "gibibyte", + "gibibytes", + "GiB", + "gib" + ], + "symbol": "GiB", + "identifier": "gibibytes" + }, + { + "aliases": [ + "mebibyte", + "mebibytes", + "MiB", + "mib" + ], + "symbol": "MiB", + "identifier": "mebibytes" + }, + { + "aliases": [ + "kibibyte", + "kibibytes", + "KiB", + "kib" + ], + "symbol": "KiB", + "identifier": "kibibytes" + }, + { + "aliases": [ + "yobibit", + "yobibits", + "Yibit" + ], + "symbol": "Yib", + "identifier": "yobibits" + }, + { + "aliases": [ + "zebibit", + "zebibits", + "Zibit" + ], + "symbol": "Zib", + "identifier": "zebibits" + }, + { + "aliases": [ + "exbibit", + "exbibits", + "Eibit" + ], + "symbol": "Eib", + "identifier": "exbibits" + }, + { + "aliases": [ + "pebibit", + "pebibits", + "Pibit" + ], + "symbol": "Pib", + "identifier": "pebibits" + }, + { + "aliases": [ + "tebibit", + "tebibits", + "Tibit" + ], + "symbol": "Tib", + "identifier": "tebibits" + }, + { + "aliases": [ + "gibibit", + "gibibits", + "Gibit" + ], + "symbol": "Gib", + "identifier": "gibibits" + }, + { + "aliases": [ + "mebibit", + "mebibits", + "Mibit" + ], + "symbol": "Mib", + "identifier": "mebibits" + }, + { + "aliases": [ + "kibibit", + "kibibits", + "Kibit" + ], + "symbol": "Kib", + "identifier": "kibibits" + } + ], + "amountOfSubstance": [ + { + "aliases": [ + "mole", + "moles", + "mols" + ], + "symbol": "mol", + "identifier": "moles" + }, + { + "aliases": [ + "millimole", + "millimol", + "millimols" + ], + "symbol": "mmol", + "identifier": "millimoles" + }, + { + "aliases": [ + "micromole", + "micromol", + "millimols", + "umol" + ], + "symbol": "µmol", + "identifier": "micromoles" + }, + { + "aliases": [ + "nanomole", + "nanomol", + "nanomols" + ], + "symbol": "nmol", + "identifier": "nanomoles" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/fr.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/fr.lproj/FunctionDescriptions.json index 256e2aa64..c7bebb5b2 100644 --- a/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/fr.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64/SoulverCore.framework/fr.lproj/FunctionDescriptions.json @@ -558,7 +558,7 @@ "identifier": "rateUnitChange" } ], - "tagRelated": [ + "statistics": [ { "identifier": "tagTotal", "prototypeExpressions": [ @@ -590,4 +590,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h index 898b5fa93..3320339e2 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -186,6 +186,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -208,7 +215,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
      @@ -259,7 +265,7 @@ SWIFT_CLASS("_TtC11SoulverCore46VanillaBackgroundEvaluationAndMergingOperation") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -445,6 +451,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -467,7 +480,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
        diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 219a2c8b2..d06825129 100644 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface index 996f49339..93ebbca4d 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target arm64-apple-ios13.6-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 219a2c8b2..000000000 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 996f49339..000000000 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target arm64-apple-ios13.6-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index 63347e690..491613f58 100644 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index f5981aa84..8fc1fcd56 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target x86_64-apple-ios13.6-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index 63347e690..000000000 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index f5981aa84..000000000 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target x86_64-apple-ios13.6-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/Info.plist b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/Info.plist index d647c64fc..5082839d6 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/Info.plist +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21D62 + 21E230 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,29 +17,29 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.4.4 + 1.4.5 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 22 + 23 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 13A1030d + 13E113 DTPlatformName macosx DTPlatformVersion - 12.0 + 12.3 DTSDKBuild - 21A344 + 21E226 DTSDKName - macosx12.0 + macosx12.3 DTXcode - 1310 + 1330 DTXcodeBuild - 13A1030d + 13E113 LSMinimumSystemVersion 10.15 NSHumanReadableCopyright diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json index 090511067..7206f941d 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json @@ -1,4 +1,81 @@ { + "unitRelated": [ + { + "prototypeExpressions": [ + "convert __unit_expression into __unit", + "convert __unit into __unit" + ], + "identifier": "unitConversion" + }, + { + "prototypeExpressions": [ + "__unit in __unit_expression", + "__unit in a __unit", + "__unit in an __unit" + ], + "identifier": "unitInUnitExpression" + }, + { + "prototypeExpressions": [ + "__unit_expression __substance in __unit", + "__unit_expression of __substance in __unit", + "__unit_expression __substance as __unit", + "__unit_expression of __substance as __unit", + "__unit_expression __substance to __unit", + "__unit_expression of __substance to __unit" + ], + "identifier": "substanceWeightToVolumeConversion" + }, + { + "prototypeExpressions": [ + "density of __substance", + "__substance density" + ], + "identifier": "densityOfSubstance" + }, + { + "prototypeExpressions": [ + "__unit in __timespan" + ], + "identifier": "unitInTimespan" + }, + { + "identifier": "rateUnitChange", + "prototypeExpressions": [ + "__rate is what / __unit", + "__rate is how much / __unit", + "__rate as / __unit", + "__rate is what /__unit", + "__rate is how much /__unit", + "__rate as /__unit", + "__rate is what per __unit", + "__rate is how much per __unit", + "__rate as per __unit", + "__rate is what per__unit", + "__rate is how much per__unit", + "__rate as per__unit" + ] + }, + { + "identifier": "rateForADuration", + "prototypeExpressions": [ + "__rate for a __duration" + ] + }, + { + "identifier": "screenDensity", + "prototypeExpressions": [ + "ppi of __length at __resolution", + "ppi of __length device at __resolution", + "ppi of __length screen at __resolution", + "ppi of __length display at __resolution", + "density of __length at __resolution", + "density of __length screen at __resolution", + "density of __length device at __resolution", + "density of __length display at __resolution" + ] + } + ], "datetime": [ { "prototypeExpressions": [ @@ -185,6 +262,180 @@ ] } ], + "videoRelated": [ + { + "prototypeExpressions": [ + "__frametime at __frameRate_expression", + "__laptime at __frameRate_expression", + "__timespan at __frameRate_expression", + "__frametime @ __frameRate_expression", + "__laptime @ __frameRate_expression", + "__timespan @ __frameRate_expression", + "__frametime at __rate", + "__laptime at __rate" + ], + "identifier": "formFrametime" + }, + { + "prototypeExpressions": [ + "__frames_expression at __frameRate_expression", + "__frames_expression at __rate", + "__frames_expression @ __frameRate_expression", + "__frames_expression @ __rate" + ], + "identifier": "framesToFrametime" + } + ], + "financial": [ + { + "prototypeExpressions": [ + "present value of 1000 after __timespan at __percentage", + "present value of 1000 over __timespan at __percentage" + ], + "identifier": "presentValue" + }, + { + "prototypeExpressions": [ + "annual return on 500 invested 1000 returned after __timespan", + "yearly return on 500 invested 1000 returned after __timespan", + "annual return on 500 invested 1000 returned over __timespan", + "yearly return on 500 invested 1000 returned over __timespan" + ], + "identifier": "returnOnInvestmentAfter" + }, + { + "identifier": "returnOnInvestment", + "prototypeExpressions": [ + "500 invested 1000 returned" + ] + }, + { + "identifier": "totalLoanRepayment", + "prototypeExpressions": [ + "total repayment on 10000 for __timespan at __percentage", + "total repayment on 10000 after __timespan at __percentage", + "total repayment on 10000 over __timespan at __percentage", + "total payment on 10000 for __timespan at __percentage", + "total payment on 10000 after __timespan at __percentage", + "total payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "annual repayment on 10000 for __timespan at __percentage", + "annual repayment on 10000 after __timespan at __percentage", + "annual repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 after __timespan at __percentage", + "yearly repayment on 10000 for __timespan at __percentage", + "annual payment on 10000 for __timespan at __percentage", + "annual payment on 10000 after __timespan at __percentage", + "annual payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 after __timespan at __percentage", + "yearly payment on 10000 for __timespan at __percentage" + ], + "identifier": "annualLoanRepayment" + }, + { + "identifier": "monthlyLoanRepayment", + "prototypeExpressions": [ + "monthly repayment on 10000 for __timespan at __percentage", + "monthly repayment on 10000 after __timespan at __percentage", + "monthly repayment on 10000 over __timespan at __percentage", + "monthly payment on 10000 for __timespan at __percentage", + "monthly payment on 10000 after __timespan at __percentage", + "monthly payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "total interest on 10000 for __timespan at __percentage", + "total interest on 10000 after __timespan at __percentage", + "total interest on 10000 over __timespan at __percentage" + ], + "identifier": "totalInterestOnLoanRepayment" + }, + { + "identifier": "annualInterestOnLoanRepayment", + "prototypeExpressions": [ + "annual interest on 10000 for __timespan at __percentage", + "annual interest on 10000 after __timespan at __percentage", + "annual interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 after __timespan at __percentage", + "yearly interest on 10000 for __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "monthly interest on 10000 for __timespan at __percentage", + "monthly interest on 10000 after __timespan at __percentage", + "monthly interest on 10000 over __timespan at __percentage" + ], + "identifier": "monthlyInterestOnLoanRepayment" + }, + { + "identifier": "compoundInterestCompoundingMonthly", + "prototypeExpressions": [ + "100 after __timespan at __percentage compounded monthly", + "100 for __timespan at __percentage compounded monthly", + "100 over __timespan at __percentage compounded monthly", + "100 at __percentage after __timespan compounded monthly", + "100 at __percentage for __timespan compounded monthly", + "100 at __percentage over __timespan compounded monthly", + "100 after __timespan at __percentage compounding monthly", + "100 for __timespan at __percentage compounding monthly", + "100 over __timespan at __percentage compounding monthly", + "100 at __percentage after __timespan compounding monthly", + "100 at __percentage for __timespan compounding monthly", + "100 at __percentage over __timespan compounding monthly" + ] + }, + { + "identifier": "compoundInterest", + "prototypeExpressions": [ + "100 after __timespan at __percentage", + "100 for __timespan at __percentage", + "100 over __timespan at __percentage", + "100 at __percentage after __timespan", + "100 at __percentage for __timespan", + "100 at __percentage over __timespan" + ] + }, + { + "identifier": "dollarWorthAdjustedForInflation", + "prototypeExpressions": [ + "500 from __datestamp is worth what __datestamp", + "500 in __datestamp is worth what __datestamp", + "500 from __datestamp is worth what in __datestamp", + "500 in __datestamp is worth what in __datestamp", + "what is 500 __datestamp worth in __datestamp", + "what is 500 in __datestamp worth in __datestamp", + "what is 500 from __datestamp worth in __datestamp", + "what is 500 __datestamp worth __datestamp", + "what is 500 in __datestamp worth __datestamp", + "what is 500 from __datestamp worth __datestamp" + ] + }, + { + "identifier": "predictedDollarWorthGivenInflation", + "prototypeExpressions": [ + "what will 500 be worth in __datestamp with __percentage inflation", + "what will 500 be worth in __datestamp given __percentage inflation", + "what will 500 be worth in __datestamp assuming __percentage inflation", + "what will 500 be worth in __datestamp at __percentage inflation", + "value of 500 in __datestamp with __percentage inflation", + "value of 500 in __datestamp given __percentage inflation", + "value of 500 in __datestamp assuming __percentage inflation", + "value of 500 in __datestamp at __percentage inflation", + "purchasing power of 500 in __datestamp with __percentage inflation", + "purchasing power of 500 in __datestamp given __percentage inflation", + "purchasing power of 500 in __datestamp assuming __percentage inflation", + "purchasing power of 500 in __datestamp at __percentage inflation" + ] + } + ], "general": [ { "prototypeExpressions": [ @@ -332,160 +583,22 @@ "identifier": "scrubNumberWithSpecifiedRange" } ], - "financial": [ - { - "prototypeExpressions": [ - "present value of 1000 after __timespan at __percentage", - "present value of 1000 over __timespan at __percentage" - ], - "identifier": "presentValue" - }, - { - "prototypeExpressions": [ - "annual return on 500 invested 1000 returned after __timespan", - "yearly return on 500 invested 1000 returned after __timespan", - "annual return on 500 invested 1000 returned over __timespan", - "yearly return on 500 invested 1000 returned over __timespan" - ], - "identifier": "returnOnInvestmentAfter" - }, - { - "identifier": "returnOnInvestment", - "prototypeExpressions": [ - "500 invested 1000 returned" - ] - }, - { - "identifier": "totalLoanRepayment", - "prototypeExpressions": [ - "total repayment on 10000 for __timespan at __percentage", - "total repayment on 10000 after __timespan at __percentage", - "total repayment on 10000 over __timespan at __percentage", - "total payment on 10000 for __timespan at __percentage", - "total payment on 10000 after __timespan at __percentage", - "total payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "annual repayment on 10000 for __timespan at __percentage", - "annual repayment on 10000 after __timespan at __percentage", - "annual repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 after __timespan at __percentage", - "yearly repayment on 10000 for __timespan at __percentage", - "annual payment on 10000 for __timespan at __percentage", - "annual payment on 10000 after __timespan at __percentage", - "annual payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 after __timespan at __percentage", - "yearly payment on 10000 for __timespan at __percentage" - ], - "identifier": "annualLoanRepayment" - }, - { - "identifier": "monthlyLoanRepayment", - "prototypeExpressions": [ - "monthly repayment on 10000 for __timespan at __percentage", - "monthly repayment on 10000 after __timespan at __percentage", - "monthly repayment on 10000 over __timespan at __percentage", - "monthly payment on 10000 for __timespan at __percentage", - "monthly payment on 10000 after __timespan at __percentage", - "monthly payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "total interest on 10000 for __timespan at __percentage", - "total interest on 10000 after __timespan at __percentage", - "total interest on 10000 over __timespan at __percentage" - ], - "identifier": "totalInterestOnLoanRepayment" - }, - { - "identifier": "annualInterestOnLoanRepayment", - "prototypeExpressions": [ - "annual interest on 10000 for __timespan at __percentage", - "annual interest on 10000 after __timespan at __percentage", - "annual interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 after __timespan at __percentage", - "yearly interest on 10000 for __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "monthly interest on 10000 for __timespan at __percentage", - "monthly interest on 10000 after __timespan at __percentage", - "monthly interest on 10000 over __timespan at __percentage" - ], - "identifier": "monthlyInterestOnLoanRepayment" - }, - { - "identifier": "compoundInterestCompoundingMonthly", - "prototypeExpressions": [ - "100 after __timespan at __percentage compounded monthly", - "100 for __timespan at __percentage compounded monthly", - "100 over __timespan at __percentage compounded monthly", - "100 at __percentage after __timespan compounded monthly", - "100 at __percentage for __timespan compounded monthly", - "100 at __percentage over __timespan compounded monthly", - "100 after __timespan at __percentage compounding monthly", - "100 for __timespan at __percentage compounding monthly", - "100 over __timespan at __percentage compounding monthly", - "100 at __percentage after __timespan compounding monthly", - "100 at __percentage for __timespan compounding monthly", - "100 at __percentage over __timespan compounding monthly" - ] - }, - { - "identifier": "compoundInterest", - "prototypeExpressions": [ - "100 after __timespan at __percentage", - "100 for __timespan at __percentage", - "100 over __timespan at __percentage", - "100 at __percentage after __timespan", - "100 at __percentage for __timespan", - "100 at __percentage over __timespan" - ] - } - ], - "videoRelated": [ - { - "prototypeExpressions": [ - "__frametime at __frequency_expression", - "__laptime at __frequency_expression", - "__timespan at __frequency_expression", - "__frametime @ __frequency_expression", - "__laptime @ __frequency_expression", - "__timespan @ __frequency_expression", - "__frametime at __rate", - "__laptime at __rate" - ], - "identifier": "formFrametime" - }, - { - "prototypeExpressions": [ - "__frames_expression at __frequency_expression", - "__frames_expression at __rate", - "__frames_expression @ __frequency_expression", - "__frames_expression @ __rate" - ], - "identifier": "framesToFrametime" - } - ], "changeRelated": [ { "identifier": "exponentialGrowth", "prototypeExpressions": [ "20 after __timespan at __percentage every __timespan", "20 after __timespan at __percentage each __timespan", + "20 after __timespan at __percentage per __timespan", "20 after __timespan at __percentage every __unit", "20 after __timespan at __percentage each __unit", + "20 after __timespan at __percentage per __unit", "20 after __timespan at __percentage growth every __timespan", "20 after __timespan at __percentage growth each __timespan", + "20 after __timespan at __percentage growth per __timespan", "20 after __timespan at __percentage growth every __unit", - "20 after __timespan at __percentage growth each __unit" + "20 after __timespan at __percentage growth each __unit", + "20 after __timespan at __percentage growth per __unit" ] }, { @@ -493,16 +606,22 @@ "prototypeExpressions": [ "20 after __timespan at −__percentage every __timespan", "20 after __timespan at −__percentage each __timespan", + "20 after __timespan at −__percentage per __timespan", "20 after __timespan at −__percentage every __unit", "20 after __timespan at −__percentage each __unit", + "20 after __timespan at −__percentage per __unit", "20 after __timespan at -__percentage every __timespan", "20 after __timespan at -__percentage each __timespan", + "20 after __timespan at -__percentage per __timespan", "20 after __timespan at -__percentage every __unit", "20 after __timespan at -__percentage each __unit", + "20 after __timespan at -__percentage per __unit", "20 after __timespan at __percentage decay every __timespan", "20 after __timespan at __percentage decay each __timespan", + "20 after __timespan at __percentage decay per __timespan", "20 after __timespan at __percentage decay every __unit", - "20 after __timespan at __percentage decay each __unit" + "20 after __timespan at __percentage decay each __unit", + "20 after __timespan at __percentage decay per __unit" ] }, { @@ -512,22 +631,32 @@ "time from 20 to 30 at __percentage every __unit", "time from 20 to 30 at __percentage each __timespan", "time from 20 to 30 at __percentage each __unit", + "time from 20 to 30 at __percentage per __timespan", + "time from 20 to 30 at __percentage per __unit", "time from 20 to 30 at −__percentage every __timespan", "time from 20 to 30 at −__percentage every __unit", "time from 20 to 30 at −__percentage each __timespan", "time from 20 to 30 at −__percentage each __unit", + "time from 20 to 30 at −__percentage per __timespan", + "time from 20 to 30 at −__percentage per __unit", "time from 20 to 30 at -__percentage every __timespan", "time from 20 to 30 at -__percentage every __unit", "time from 20 to 30 at -__percentage each __timespan", "time from 20 to 30 at -__percentage each __unit", + "time from 20 to 30 at -__percentage per __timespan", + "time from 20 to 30 at -__percentage per __unit", "time from 20 to 30 at __percentage growth every __timespan", "time from 20 to 30 at __percentage growth every __unit", "time from 20 to 30 at __percentage growth each __timespan", "time from 20 to 30 at __percentage growth each __unit", + "time from 20 to 30 at __percentage growth per __timespan", + "time from 20 to 30 at __percentage growth per __unit", "time from 20 to 30 at __percentage decay every __timespan", "time from 20 to 30 at __percentage decay every __unit", "time from 20 to 30 at __percentage decay each __timespan", - "time from 20 to 30 at __percentage decay each __unit" + "time from 20 to 30 at __percentage decay each __unit", + "time from 20 to 30 at __percentage decay per __timespan", + "time from 20 to 30 at __percentage decay per __unit" ] }, { @@ -536,7 +665,15 @@ "growth per __timespan from 20 to 30 over __timespan", "decay per __timespan from 20 to 30 over __timespan", "growth per __unit from 20 to 30 over __timespan", - "decay per __unit from 20 to 30 over __timespan" + "decay per __unit from 20 to 30 over __timespan", + "growth each __timespan from 20 to 30 over __timespan", + "decay each __timespan from 20 to 30 over __timespan", + "growth each __unit from 20 to 30 over __timespan", + "decay each __unit from 20 to 30 over __timespan", + "growth every __timespan from 20 to 30 over __timespan", + "decay every __timespan from 20 to 30 over __timespan", + "growth every __unit from 20 to 30 over __timespan", + "decay every __unit from 20 to 30 over __timespan" ] }, { @@ -574,63 +711,6 @@ ] } ], - "unitRelated": [ - { - "prototypeExpressions": [ - "__unit in __unit_expression", - "__unit in a __unit", - "__unit in an __unit" - ], - "identifier": "unitInUnitExpression" - }, - { - "prototypeExpressions": [ - "__unit_expression __substance in __unit", - "__unit_expression of __substance in __unit", - "__unit_expression __substance as __unit", - "__unit_expression of __substance as __unit", - "__unit_expression __substance to __unit", - "__unit_expression of __substance to __unit" - ], - "identifier": "substanceWeightToVolumeConversion" - }, - { - "prototypeExpressions": [ - "density of __substance", - "__substance density" - ], - "identifier": "densityOfSubstance" - }, - { - "prototypeExpressions": [ - "__unit in __timespan" - ], - "identifier": "unitInTimespan" - }, - { - "identifier": "rateUnitChange", - "prototypeExpressions": [ - "__rate is what / __unit", - "__rate is how much / __unit", - "__rate as / __unit", - "__rate is what /__unit", - "__rate is how much /__unit", - "__rate as /__unit", - "__rate is what per __unit", - "__rate is how much per __unit", - "__rate as per __unit", - "__rate is what per__unit", - "__rate is how much per__unit", - "__rate as per__unit" - ] - }, - { - "identifier": "rateForADuration", - "prototypeExpressions": [ - "__rate for a __duration" - ] - } - ], "percentage": [ { "prototypeExpressions": [ @@ -689,58 +769,82 @@ { "prototypeExpressions": [ "10 is what % of 20", + "10 is what percent of 20", + "10 is what percentage of 20", "10 as a % of 20", - "10 as % of 20" + "10 as % of 20", + "10 as a percent of 20", + "10 as percent of 20", + "10 as a percentage of 20", + "10 as percentage of 20" ], "identifier": "isWhatPercentOf" }, { "prototypeExpressions": [ "10 is what % off 20", + "10 is what percent off 20", + "10 is what percentage off 20", "10 as a % off 20", - "10 as % off 20" + "10 as % off 20", + "10 as a percent off 20", + "10 as percent off 20", + "10 as a percentage off 20", + "10 as percentage off 20" ], "identifier": "isWhatPercentOff" }, { "prototypeExpressions": [ "20 is what % on 10", + "20 is what percent on 10", + "20 is what percentage on 10", "20 as a % on 10", - "20 as % on 10" + "20 as % on 10", + "20 as percent on 10", + "20 as a percent on 10", + "20 as percentage on 10", + "20 as a percentage on 10" ], "identifier": "isWhatPercentOn" + }, + { + "prototypeExpressions": [ + "__sales_tax in 500", + "__sales_tax from 500" + ], + "identifier": "salesTaxIn" } ], - "tagRelated": [ + "statistics": [ { "prototypeExpressions": [ - "total of __tag", - "total __tag", - "__tag total", - "sum of __tag", - "sum __tag", - "__tag sum" + "__statistic_type of __list", + "__statistic_type __list" ], - "identifier": "tagTotal" + "identifier": "statisticOfList" }, { "prototypeExpressions": [ - "average of __tag", - "average __tag", - "__tag average", - "mean of __tag", - "mean __tag", - "__tag mean" + "__statistic_type of __tag", + "__statistic_type __tag", + "__tag __statistic_type" + ], + "identifier": "statisticOfTag" + } + ], + "soundRelated": [ + { + "prototypeExpressions": [ + "wavelength of __frequency_expression" ], - "identifier": "tagAverage" + "identifier": "wavelengthOfFrequencyOfSound" }, { "prototypeExpressions": [ - "count of __tag", - "count __tag", - "__tag count" + "frequency of __length_expression" ], - "identifier": "tagCount" + "identifier": "frequencyOfWavelengthOfSound" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json index 5ed639613..39d66dff3 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json @@ -7,22 +7,6 @@ "nextDateQualifiers": [ "next" ], - "thisDateQualifiers": [ - "this" - ], - "ordinalSuffixes": [ - "st", - "nd", - "rd", - "th" - ], - "middayAliases": [ - "midday", - "noon" - ], - "midnightAliases": [ - "midnight" - ], "converterSymbols": [ "to", "as" @@ -45,18 +29,21 @@ "hereAliases": [ "here" ], - "pmAliases": [ - "pm" - ], - "amAliases": [ - "am" - ], "nowDateAliases": [ "now" ], + "ordinalSuffixes": [ + "st", + "nd", + "rd", + "th" + ], "piAliases": [ "π" ], + "thisDateQualifiers": [ + "this" + ], "divisionOperators": [ "÷", "per" @@ -64,17 +51,13 @@ "fractionTypes": [ "fraction" ], + "midnightAliases": [ + "midnight" + ], "multiplierTypes": [ "multiplier", "multiple" ], - "binaryTypes": [ - "binary" - ], - "hexadecimalTypes": [ - "hexadecimal", - "hex" - ], "roundingUpConverters": [ "rounded up" ], @@ -98,13 +81,16 @@ "iso8601Types": [ "iso8601" ], - "lessThanOrEqualToOperators": [ - "<=", - "=<" + "pmAliases": [ + "pm" ], "roundingConverters": [ "rounded" ], + "lessThanOrEqualToOperators": [ + "<=", + "=<" + ], "subtractionOperators": [ "−", "–", @@ -113,6 +99,14 @@ "dateTypes": [ "date" ], + "middayAliases": [ + "midday", + "noon" + ], + "hexadecimalTypes": [ + "hexadecimal", + "hex" + ], "reverseSubtractionOperators": [ ], "numberTypes": [ @@ -122,12 +116,23 @@ "roundingDownConverters": [ "rounded down" ], + "amAliases": [ + "am" + ], "todayDateAliases": [ "today" ], + "binaryTypes": [ + "binary" + ], "additionOperators": [ "plus" ], + "midiTypes": [ + "midi", + "midi number", + "MIDI note number" + ], "isNotEqualToOperators": [ "!=", "=!" @@ -136,18 +141,36 @@ ">=", "=>" ], + "totalAliases": [ + "total", + "sum" + ], "multiplicationOperators": [ "×", "x" ], + "medianAliases": [ + "median" + ], "timestampTypes": [ "timestamp" ], + "averageAliases": [ + "average", + "mean" + ], + "pitchTypes": [ + "pitch", + "musical note" + ], "yesterdayDateAliases": [ "yesterday" ], + "countAliases": [ + "count" + ], "tomorrowDateAliases": [ "tomorrow" ] } -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json index 1cc2920be..49596741e 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json @@ -1,43 +1,15 @@ { - "speed": [ - { - "aliases": [ - "meter per second", - "meters per second", - "metre per second", - "metres per second" - ], - "symbol": "m/s", - "identifier": "metersPerSecond" - }, - { - "aliases": [ - "kilometer per hour", - "kilometers per hour", - "kilometre per hour", - "kilometres per hour", - "kmph", - "kph", - "kmh" - ], - "symbol": "km/h", - "identifier": "kilometersPerHour" - }, - { - "aliases": [ - "mile per hour", - "miles per hour" - ], - "symbol": "mph", - "identifier": "milesPerHour" - }, + "fuelConsumption": [ { "aliases": [ - "knot", - "knots" + "L/100 km", + "liters per 100 km", + "litres per 100 km", + "liters per 100 kilometers", + "litres per 100 kilometres" ], - "symbol": "kn", - "identifier": "knots" + "symbol": "L/100km", + "identifier": "litersPer100Kilometers" } ], "volume": [ @@ -99,7 +71,9 @@ "identifier": "microliters" }, { + "identifier": "cubicKilometers", "aliases": [ + "cubic km", "cubic kilometer", "cubic kilometers", "cubic kilometre", @@ -113,11 +87,11 @@ "km3", "km^3" ], - "symbol": "km³", - "identifier": "cubicKilometers" + "symbol": "km³" }, { "aliases": [ + "cubic m", "cubic meter", "cubic meters", "cubic metre", @@ -134,6 +108,7 @@ }, { "aliases": [ + "cubic cm", "cubic centimeter", "cubic centimeters", "cubic centimetre", @@ -147,6 +122,7 @@ }, { "aliases": [ + "cubic mm", "cubic millimeter", "cubic millimeters", "cubic millimetre", @@ -172,6 +148,7 @@ }, { "aliases": [ + "cubic ft", "cubic foot", "cubic feet", "cuft", @@ -184,6 +161,7 @@ }, { "aliases": [ + "cubic yd", "cubic yard", "cubic yards", "yd³", @@ -197,6 +175,7 @@ }, { "aliases": [ + "cubic mi", "cubic mile", "cubic miles", "mi³", @@ -294,318 +273,405 @@ "identifier": "fluidOunces" } ], - "dataStorage": [ + "substanceConcentration": [ { "aliases": [ - "byte", - "bytes" + "molars", + "molar" ], - "symbol": "B", - "identifier": "bytes" - }, + "symbol": "ᴍ", + "identifier": "molar" + } + ], + "temperature": [ { "aliases": [ - "bit", - "bits" + "kelvin" ], - "symbol": "bit", - "identifier": "bits" + "symbol": "K", + "identifier": "kelvin" }, { "aliases": [ - "yottabyte", - "yottabytes" + "degree celsius", + "degrees celsius", + "degrees celcius", + "celsius", + "ºC", + "℃", + "C", + "degC" ], - "symbol": "YB", - "identifier": "yottabytes" + "symbol": "°C", + "identifier": "celsius" }, { "aliases": [ - "zettabyte", - "zettabytes" + "degree fahrenheit", + "degrees fahrenheit", + "ºF", + "℉", + "F", + "degF", + "fahrenheit" ], - "symbol": "ZB", - "identifier": "zettabytes" - }, + "symbol": "°F", + "identifier": "fahrenheit" + } + ], + "screenDensity": [ { "aliases": [ - "exabyte", - "exabytes" + "pixels per inch", + "pixel per inch", + "ppi" ], - "symbol": "EB", - "identifier": "exabytes" - }, + "symbol": "PPI", + "identifier": "ppi" + } + ], + "duration": [ { "aliases": [ - "petabyte", - "petabytes" + "hour", + "hours", + "hrs", + "h" ], - "symbol": "PB", - "identifier": "petabytes" + "symbol": "hr", + "identifier": "hours" }, { "aliases": [ - "terabyte", - "terabytes", - "TB", - "tb" + "second", + "seconds", + "sec", + "secs" ], - "symbol": "TB", - "identifier": "terabytes" + "symbol": "s", + "identifier": "seconds" }, { "aliases": [ - "gigabyte", - "gigabytes", - "GB", - "gb" + "minute", + "minutes", + "mins" ], - "symbol": "GB", - "identifier": "gigabytes" + "symbol": "min", + "identifier": "minutes" }, { "aliases": [ - "megabyte", - "megabytes", - "MB", - "mb" + "days" ], - "symbol": "MB", - "identifier": "megabytes" + "symbol": "day", + "identifier": "days" }, { "aliases": [ - "kilobyte", - "kilobytes", - "KB", - "kb" + "weekday", + "weekdays", + "workdays", + "week day", + "week days", + "work days", + "working days", + "working day", + "business day", + "business days" ], - "symbol": "kB", - "identifier": "kilobytes" + "symbol": "workday", + "identifier": "weekdays" }, { "aliases": [ - "yottabit", - "yottabits", - "Yb" + "weeks" ], - "symbol": "Ybit", - "identifier": "yottabits" + "symbol": "week", + "identifier": "weeks" }, { "aliases": [ - "zettabit", - "zettabits", - "Zb" + "months" ], - "symbol": "Zbit", - "identifier": "zettabits" + "symbol": "month", + "identifier": "months" }, { "aliases": [ - "exabit", - "exabits", - "Eb" + "years" ], - "symbol": "Ebit", - "identifier": "exabits" + "symbol": "year", + "identifier": "years" }, { "aliases": [ - "petabit", - "petabits", - "Pb" + "millisecond", + "milliseconds" ], - "symbol": "Pbit", - "identifier": "petabits" + "symbol": "ms", + "identifier": "milliseconds" }, { "aliases": [ - "terabit", - "terabits", - "Tb" + "microsecond", + "microseconds" ], - "symbol": "Tbit", - "identifier": "terabits" + "symbol": "µs", + "identifier": "microseconds" }, { "aliases": [ - "gigabit", - "gigabits", - "Gb" + "nanosecond", + "nanoseconds" ], - "symbol": "Gbit", - "identifier": "gigabits" - }, + "symbol": "ns", + "identifier": "nanoseconds" + } + ], + "speed": [ { "aliases": [ - "megabit", - "megabits", - "Mb" + "meter per second", + "meters per second", + "metre per second", + "metres per second" ], - "symbol": "Mbit", - "identifier": "megabits" + "symbol": "m/s", + "identifier": "metersPerSecond" }, { "aliases": [ - "kilobit", - "kilobits", - "Kb" + "kilometer per hour", + "kilometers per hour", + "kilometre per hour", + "kilometres per hour", + "kmph", + "kph", + "kmh" ], - "symbol": "kbit", - "identifier": "kilobits" + "symbol": "km/h", + "identifier": "kilometersPerHour" }, { "aliases": [ - "yobibyte", - "yobibytes", - "YiB", - "yib" + "mile per hour", + "miles per hour" ], - "symbol": "YiB", - "identifier": "yobibytes" + "symbol": "mph", + "identifier": "milesPerHour" }, { "aliases": [ - "zebibyte", - "zebibytes", - "ZiB", - "zib" + "knot", + "knots" ], - "symbol": "ZiB", - "identifier": "zebibytes" - }, + "symbol": "kn", + "identifier": "knots" + } + ], + "angle": [ { "aliases": [ - "exbibyte", - "exbibytes", - "EiB", - "eib" + "degree", + "degrees", + "º" ], - "symbol": "EiB", - "identifier": "exbibytes" + "symbol": "°", + "identifier": "degrees" }, { "aliases": [ - "pebibyte", - "pebibytes", - "PiB", - "pib" + "arcminutes", + "arcmin", + "arc minutes", + "arc min" ], - "symbol": "PiB", - "identifier": "pebibytes" + "symbol": "′", + "identifier": "arcMinutes" }, { "aliases": [ - "tebibyte", - "tebibytes", - "TiB", - "tib" + "arcseconds", + "arcsec", + "arc seconds", + "arc sec" ], - "symbol": "TiB", - "identifier": "tebibytes" + "symbol": "″", + "identifier": "arcSeconds" }, { "aliases": [ - "gibibyte", - "gibibytes", - "GiB", - "gib" + "radian", + "radians" ], - "symbol": "GiB", - "identifier": "gibibytes" + "symbol": "rad", + "identifier": "radians" + } + ], + "frameRate": [ + { + "aliases": [ + ], + "symbol": "fps", + "identifier": "framesPerSecond" + } + ], + "length": [ + { + "aliases": [ + "meter", + "meters", + "metre", + "metres" + ], + "symbol": "m", + "identifier": "meters" }, { "aliases": [ - "mebibyte", - "mebibytes", - "MiB", - "mib" + "kilometer", + "kilometers", + "kilometre", + "kilometres" ], - "symbol": "MiB", - "identifier": "mebibytes" + "symbol": "km", + "identifier": "kilometers" }, { "aliases": [ - "kibibyte", - "kibibytes", - "KiB", - "kib" + "centimeter", + "centimeters", + "centimetre", + "centimetres" ], - "symbol": "KiB", - "identifier": "kibibytes" + "symbol": "cm", + "identifier": "centimeters" }, { "aliases": [ - "yobibit", - "yobibits", - "Yibit" + "millimeter", + "millimetres", + "millimetre", + "millimeters" ], - "symbol": "Yib", - "identifier": "yobibits" + "symbol": "mm", + "identifier": "millimeters" }, { "aliases": [ - "zebibit", - "zebibits", - "Zibit" + "micrometre", + "micrometres", + "micrometre", + "micrometers" ], - "symbol": "Zib", - "identifier": "zebibits" + "symbol": "µm", + "identifier": "micrometers" }, { "aliases": [ - "exbibit", - "exbibits", - "Eibit" + "nanometer", + "nanometers", + "nanometre", + "nanometres" ], - "symbol": "Eib", - "identifier": "exbibits" + "symbol": "nm", + "identifier": "nanometers" }, { "aliases": [ - "pebibit", - "pebibits", - "Pibit" + "inch", + "inches" ], - "symbol": "Pib", - "identifier": "pebibits" + "symbol": "in", + "identifier": "inches" }, { "aliases": [ - "tebibit", - "tebibits", - "Tibit" + "foot", + "feet" ], - "symbol": "Tib", - "identifier": "tebibits" + "symbol": "ft", + "identifier": "feet" }, { "aliases": [ - "gibibit", - "gibibits", - "Gibit" + "yard", + "yards" ], - "symbol": "Gib", - "identifier": "gibibits" + "symbol": "yd", + "identifier": "yards" }, { "aliases": [ - "mebibit", - "mebibits", - "Mibit" + "mile", + "miles" ], - "symbol": "Mib", - "identifier": "mebibits" + "symbol": "mi", + "identifier": "miles" }, { "aliases": [ - "kibibit", - "kibibits", - "Kibit" + "light year", + "light years" ], - "symbol": "Kib", - "identifier": "kibibits" + "symbol": "ly", + "identifier": "lightyears" + }, + { + "aliases": [ + "parsec", + "parsecs" + ], + "symbol": "pc", + "identifier": "parsecs" + }, + { + "aliases": [ + "nautical mile", + "nautical miles" + ], + "symbol": "NM", + "identifier": "nauticalMiles" + }, + { + "aliases": [ + "fathom", + "fathoms" + ], + "symbol": "ftm", + "identifier": "fathoms" + }, + { + "aliases": [ + "furlong", + "furlongs" + ], + "symbol": "fur", + "identifier": "furlongs" + }, + { + "aliases": [ + "pixel", + "pixels" + ], + "symbol": "px", + "identifier": "pixel" + }, + { + "aliases": [ + ], + "symbol": "em", + "identifier": "em" + }, + { + "aliases": [ + "pts", + "PostScript point", + "PostScript points" + ], + "symbol": "pt", + "identifier": "point" } ], "energy": [ @@ -714,54 +780,89 @@ "identifier": "terawattHours" } ], - "temperature": [ + "power": [ { "aliases": [ - "kelvin" + "watt", + "watts" ], - "symbol": "K", - "identifier": "kelvin" + "symbol": "W", + "identifier": "watts" }, { "aliases": [ - "degree celsius", - "degrees celsius", - "degrees celcius", - "celsius", - "ºC", - "℃", - "C", - "degC" + "milliwatt", + "milliwatts" ], - "symbol": "°C", - "identifier": "celsius" + "symbol": "mW", + "identifier": "milliwatts" }, { "aliases": [ - "degree fahrenheit", - "degrees fahrenheit", - "ºF", - "℉", - "F", - "degF", - "fahrenheit" + "kilowatt", + "kilowatts" ], - "symbol": "°F", - "identifier": "fahrenheit" - } - ], - "dataTransfer": [ + "symbol": "kW", + "identifier": "kilowatts" + }, { "aliases": [ - "bytes per second" + "megawatt", + "megawatts" ], - "symbol": "Bps", - "identifier": "bytesPerSecond" + "symbol": "MW", + "identifier": "megawatts" }, { "aliases": [ - "bits per second" - ], + "gigawatt", + "gigawatts" + ], + "symbol": "GW", + "identifier": "gigawatts" + }, + { + "aliases": [ + "terawatt", + "terawatts" + ], + "symbol": "TW", + "identifier": "terawatts" + }, + { + "aliases": [ + "horsepower" + ], + "symbol": "hp", + "identifier": "horsepower" + } + ], + "fuelEconomy": [ + { + "aliases": [ + ], + "symbol": "km/L", + "identifier": "kilometersPerLiter" + }, + { + "aliases": [ + ], + "symbol": "mpg", + "identifier": "milesPerGallon" + } + ], + "dataTransfer": [ + { + "aliases": [ + "bytes per second" + ], + "symbol": "Bps", + "identifier": "bytesPerSecond" + }, + { + "aliases": [ + "bits per second" + ], "symbol": "bps", "identifier": "bitsPerSecond" }, @@ -998,185 +1099,19 @@ "identifier": "kibibitsPerSecond" } ], - "angle": [ - { - "aliases": [ - "degree", - "degrees", - "º" - ], - "symbol": "°", - "identifier": "degrees" - }, - { - "aliases": [ - "radian", - "radians" - ], - "symbol": "rad", - "identifier": "radians" - } - ], - "length": [ - { - "aliases": [ - "meter", - "meters", - "metre", - "metres" - ], - "symbol": "m", - "identifier": "meters" - }, - { - "aliases": [ - "kilometer", - "kilometers", - "kilometre", - "kilometres" - ], - "symbol": "km", - "identifier": "kilometers" - }, - { - "aliases": [ - "centimeter", - "centimeters", - "centimetre", - "centimetres" - ], - "symbol": "cm", - "identifier": "centimeters" - }, - { - "aliases": [ - "millimeter", - "millimetres", - "millimetre", - "millimeters" - ], - "symbol": "mm", - "identifier": "millimeters" - }, - { - "aliases": [ - "micrometre", - "micrometres", - "micrometre", - "micrometers" - ], - "symbol": "µm", - "identifier": "micrometers" - }, - { - "aliases": [ - "nanometer", - "nanometers", - "nanometre", - "nanometres" - ], - "symbol": "nm", - "identifier": "nanometers" - }, - { - "aliases": [ - "inch", - "inches" - ], - "symbol": "in", - "identifier": "inches" - }, - { - "aliases": [ - "foot", - "feet" - ], - "symbol": "ft", - "identifier": "feet" - }, - { - "aliases": [ - "yard", - "yards" - ], - "symbol": "yd", - "identifier": "yards" - }, - { - "aliases": [ - "mile", - "miles" - ], - "symbol": "mi", - "identifier": "miles" - }, - { - "aliases": [ - "light year", - "light years" - ], - "symbol": "ly", - "identifier": "lightyears" - }, - { - "aliases": [ - "parsec", - "parsecs" - ], - "symbol": "pc", - "identifier": "parsecs" - }, - { - "aliases": [ - "nautical mile", - "nautical miles" - ], - "symbol": "NM", - "identifier": "nauticalMiles" - }, - { - "aliases": [ - "fathom", - "fathoms" - ], - "symbol": "ftm", - "identifier": "fathoms" - }, - { - "aliases": [ - "furlong", - "furlongs" - ], - "symbol": "fur", - "identifier": "furlongs" - }, - { - "aliases": [ - "pixel", - "pixels" - ], - "symbol": "px", - "identifier": "pixel" - }, - { - "aliases": [ - ], - "symbol": "em", - "identifier": "em" - }, + "frames": [ { "aliases": [ - "pts", - "PostScript point", - "PostScript points" + "frame" ], - "symbol": "pt", - "identifier": "point" + "symbol": "frames", + "identifier": "frames" } ], "area": [ { "aliases": [ + "square km", "square kilometer", "square kilometers", "square kilometre", @@ -1194,6 +1129,7 @@ }, { "aliases": [ + "square m", "square meter", "square meters", "square metre", @@ -1219,6 +1155,7 @@ }, { "aliases": [ + "square cm", "square centimeter", "square centimeters", "square centimetre", @@ -1236,6 +1173,7 @@ }, { "aliases": [ + "square mm", "square millimeter", "square millimeters", "square millimetre", @@ -1253,6 +1191,7 @@ }, { "aliases": [ + "square µm", "square micrometer", "square micrometers", "square micrometre", @@ -1269,6 +1208,7 @@ }, { "aliases": [ + "square in", "square inch", "square inches", "sqin", @@ -1281,6 +1221,7 @@ }, { "aliases": [ + "square ft", "square foot", "square feet", "sqft", @@ -1295,6 +1236,7 @@ }, { "aliases": [ + "square yd", "square yard", "square yards", "sqyard", @@ -1309,6 +1251,7 @@ }, { "aliases": [ + "square mi", "square mile", "square miles", "mi^2", @@ -1348,100 +1291,43 @@ "identifier": "ares" } ], - "power": [ + "mass": [ { "aliases": [ - "watt", - "watts" + "kilogram", + "kilograms" ], - "symbol": "W", - "identifier": "watts" + "symbol": "kg", + "identifier": "kilograms" }, { "aliases": [ - "milliwatt", - "milliwatts" + "gram", + "grams" ], - "symbol": "mW", - "identifier": "milliwatts" + "symbol": "g", + "identifier": "grams" }, { "aliases": [ - "kilowatt", - "kilowatts" + "milligram", + "milligrams" ], - "symbol": "kW", - "identifier": "kilowatts" + "symbol": "mg", + "identifier": "milligrams" }, { "aliases": [ - "megawatt", - "megawatts" + "nanogram", + "nanograms" ], - "symbol": "MW", - "identifier": "megawatts" + "symbol": "ng", + "identifier": "nanograms" }, { "aliases": [ - "gigawatt", - "gigawatts" - ], - "symbol": "GW", - "identifier": "gigawatts" - }, - { - "aliases": [ - "terawatt", - "terawatts" - ], - "symbol": "TW", - "identifier": "terawatts" - }, - { - "aliases": [ - "horsepower" - ], - "symbol": "hp", - "identifier": "horsepower" - } - ], - "mass": [ - { - "aliases": [ - "kilogram", - "kilograms" - ], - "symbol": "kg", - "identifier": "kilograms" - }, - { - "aliases": [ - "gram", - "grams" - ], - "symbol": "g", - "identifier": "grams" - }, - { - "aliases": [ - "milligram", - "milligrams" - ], - "symbol": "mg", - "identifier": "milligrams" - }, - { - "aliases": [ - "nanogram", - "nanograms" - ], - "symbol": "ng", - "identifier": "nanograms" - }, - { - "aliases": [ - "ounce", - "ounces" + "ounce", + "ounces" ], "symbol": "oz", "identifier": "ounces" @@ -1501,177 +1387,416 @@ "identifier": "ouncesTroy" } ], - "duration": [ + "frequency": [ { "aliases": [ - "hour", - "hours", - "hrs", - "h" + "hertz", + "hz" ], - "symbol": "hr", - "identifier": "hours" + "symbol": "Hz", + "identifier": "hertz" }, { "aliases": [ - "second", - "seconds", - "sec", - "secs" + "kilohertz" ], - "symbol": "s", - "identifier": "seconds" + "symbol": "kHz", + "identifier": "kilohertz" }, { "aliases": [ - "minute", - "minutes", - "mins" + "megahertz" ], - "symbol": "min", - "identifier": "minutes" + "symbol": "MHz", + "identifier": "megahertz" }, { "aliases": [ - "days" + "gigahertz" ], - "symbol": "day", - "identifier": "days" + "symbol": "GHz", + "identifier": "gigahertz" }, { "aliases": [ - "weekday", - "weekdays", - "workdays", - "week day", - "week days", - "work days", - "working days", - "working day", - "business day", - "business days" + "terahertz" ], - "symbol": "workday", - "identifier": "weekdays" + "symbol": "THz", + "identifier": "terahertz" }, { "aliases": [ - "weeks" + "millihertz" ], - "symbol": "week", - "identifier": "weeks" + "symbol": "mHz", + "identifier": "millihertz" }, { "aliases": [ - "months" + "microhertz" ], - "symbol": "month", - "identifier": "months" + "symbol": "µHz", + "identifier": "microhertz" }, { "aliases": [ - "years" + "nanohertz" ], - "symbol": "year", - "identifier": "years" + "symbol": "nHz", + "identifier": "nanohertz" + } + ], + "dataStorage": [ + { + "aliases": [ + "byte", + "bytes" + ], + "symbol": "B", + "identifier": "bytes" }, { "aliases": [ - "millisecond", - "milliseconds" + "bit", + "bits" ], - "symbol": "ms", - "identifier": "milliseconds" + "symbol": "bit", + "identifier": "bits" }, { "aliases": [ - "microsecond", - "microseconds" + "yottabyte", + "yottabytes" ], - "symbol": "µs", - "identifier": "microseconds" + "symbol": "YB", + "identifier": "yottabytes" }, { "aliases": [ - "nanosecond", - "nanoseconds" + "zettabyte", + "zettabytes" ], - "symbol": "ns", - "identifier": "nanoseconds" - } - ], - "frames": [ + "symbol": "ZB", + "identifier": "zettabytes" + }, { "aliases": [ - "frame" + "exabyte", + "exabytes" ], - "symbol": "frames", - "identifier": "frames" - } - ], - "frequency": [ + "symbol": "EB", + "identifier": "exabytes" + }, { "aliases": [ - "hertz", - "hz" + "petabyte", + "petabytes" ], - "symbol": "Hz", - "identifier": "hertz" + "symbol": "PB", + "identifier": "petabytes" }, { "aliases": [ - "kilohertz" + "terabyte", + "terabytes", + "TB", + "tb" ], - "symbol": "kHz", - "identifier": "kilohertz" + "symbol": "TB", + "identifier": "terabytes" }, { "aliases": [ - "megahertz" + "gigabyte", + "gigabytes", + "GB", + "gb" ], - "symbol": "MHz", - "identifier": "megahertz" + "symbol": "GB", + "identifier": "gigabytes" }, { "aliases": [ - "gigahertz" + "megabyte", + "megabytes", + "MB", + "mb" ], - "symbol": "GHz", - "identifier": "gigahertz" + "symbol": "MB", + "identifier": "megabytes" }, { "aliases": [ - "terahertz" + "kilobyte", + "kilobytes", + "KB", + "kb" ], - "symbol": "THz", - "identifier": "terahertz" + "symbol": "kB", + "identifier": "kilobytes" }, { "aliases": [ - "millihertz" + "yottabit", + "yottabits", + "Yb" ], - "symbol": "mHz", - "identifier": "millihertz" + "symbol": "Ybit", + "identifier": "yottabits" }, { "aliases": [ - "microhertz" + "zettabit", + "zettabits", + "Zb" ], - "symbol": "µHz", - "identifier": "microhertz" + "symbol": "Zbit", + "identifier": "zettabits" }, { "aliases": [ - "nanohertz" + "exabit", + "exabits", + "Eb" ], - "symbol": "nHz", - "identifier": "nanohertz" + "symbol": "Ebit", + "identifier": "exabits" }, { "aliases": [ + "petabit", + "petabits", + "Pb" ], - "symbol": "fps", - "identifier": "framesPerSecond" + "symbol": "Pbit", + "identifier": "petabits" + }, + { + "aliases": [ + "terabit", + "terabits", + "Tb" + ], + "symbol": "Tbit", + "identifier": "terabits" + }, + { + "aliases": [ + "gigabit", + "gigabits", + "Gb" + ], + "symbol": "Gbit", + "identifier": "gigabits" + }, + { + "aliases": [ + "megabit", + "megabits", + "Mb" + ], + "symbol": "Mbit", + "identifier": "megabits" + }, + { + "aliases": [ + "kilobit", + "kilobits", + "Kb" + ], + "symbol": "kbit", + "identifier": "kilobits" + }, + { + "aliases": [ + "yobibyte", + "yobibytes", + "YiB", + "yib" + ], + "symbol": "YiB", + "identifier": "yobibytes" + }, + { + "aliases": [ + "zebibyte", + "zebibytes", + "ZiB", + "zib" + ], + "symbol": "ZiB", + "identifier": "zebibytes" + }, + { + "aliases": [ + "exbibyte", + "exbibytes", + "EiB", + "eib" + ], + "symbol": "EiB", + "identifier": "exbibytes" + }, + { + "aliases": [ + "pebibyte", + "pebibytes", + "PiB", + "pib" + ], + "symbol": "PiB", + "identifier": "pebibytes" + }, + { + "aliases": [ + "tebibyte", + "tebibytes", + "TiB", + "tib" + ], + "symbol": "TiB", + "identifier": "tebibytes" + }, + { + "aliases": [ + "gibibyte", + "gibibytes", + "GiB", + "gib" + ], + "symbol": "GiB", + "identifier": "gibibytes" + }, + { + "aliases": [ + "mebibyte", + "mebibytes", + "MiB", + "mib" + ], + "symbol": "MiB", + "identifier": "mebibytes" + }, + { + "aliases": [ + "kibibyte", + "kibibytes", + "KiB", + "kib" + ], + "symbol": "KiB", + "identifier": "kibibytes" + }, + { + "aliases": [ + "yobibit", + "yobibits", + "Yibit" + ], + "symbol": "Yib", + "identifier": "yobibits" + }, + { + "aliases": [ + "zebibit", + "zebibits", + "Zibit" + ], + "symbol": "Zib", + "identifier": "zebibits" + }, + { + "aliases": [ + "exbibit", + "exbibits", + "Eibit" + ], + "symbol": "Eib", + "identifier": "exbibits" + }, + { + "aliases": [ + "pebibit", + "pebibits", + "Pibit" + ], + "symbol": "Pib", + "identifier": "pebibits" + }, + { + "aliases": [ + "tebibit", + "tebibits", + "Tibit" + ], + "symbol": "Tib", + "identifier": "tebibits" + }, + { + "aliases": [ + "gibibit", + "gibibits", + "Gibit" + ], + "symbol": "Gib", + "identifier": "gibibits" + }, + { + "aliases": [ + "mebibit", + "mebibits", + "Mibit" + ], + "symbol": "Mib", + "identifier": "mebibits" + }, + { + "aliases": [ + "kibibit", + "kibibits", + "Kibit" + ], + "symbol": "Kib", + "identifier": "kibibits" + } + ], + "amountOfSubstance": [ + { + "aliases": [ + "mole", + "moles", + "mols" + ], + "symbol": "mol", + "identifier": "moles" + }, + { + "aliases": [ + "millimole", + "millimol", + "millimols" + ], + "symbol": "mmol", + "identifier": "millimoles" + }, + { + "aliases": [ + "micromole", + "micromol", + "millimols", + "umol" + ], + "symbol": "µmol", + "identifier": "micromoles" + }, + { + "aliases": [ + "nanomole", + "nanomol", + "nanomols" + ], + "symbol": "nmol", + "identifier": "nanomoles" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json index 256e2aa64..c7bebb5b2 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json @@ -558,7 +558,7 @@ "identifier": "rateUnitChange" } ], - "tagRelated": [ + "statistics": [ { "identifier": "tagTotal", "prototypeExpressions": [ @@ -590,4 +590,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/SoulverCore b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/SoulverCore index 0da5bfc80..837f72962 100755 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/SoulverCore and b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/SoulverCore differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources index 6952a6448..1bd59a3a4 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources +++ b/SoulverCore.xcframework/ios-arm64_x86_64-maccatalyst/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - 2KjnwMEsZASERtDNYDKKHuIh4yQ= + 6d1EnV++0PQ9+bVNe15muQbSknM= Resources/de.lproj/Cities.json @@ -120,7 +120,7 @@ hash - C+YRH1pX5WHisPEzaadbaC9e1Kw= + eXg1+1PENcr07fzqCB+X2nk7Qhg= optional @@ -147,7 +147,7 @@ hash - +F/iTqZtnPF3JSAxyYXg5dQHvf4= + RbFD+EnNDBiXlAExS/Fli4oloiA= optional @@ -165,7 +165,7 @@ hash - EzyYZu2evCeqa4LKc/fCY/4X5+E= + +ac10N7ZPUDZsCNgvEi6d97W0aY= optional @@ -183,7 +183,7 @@ hash - Kz5cYm6hoov66WW0VLAq7mew80E= + dznWR1SIc77Bu7VHkGAfS9o1GLU= optional @@ -411,7 +411,7 @@ hash2 - YUze+UKx79dVtUUgxlthRyDzycR1fyGYNR/eROkuZdE= + m4/AaScGAcR9fj/aLEPtoTRNw/NABhTIb4JlrtVMhRg= Headers/SoulverCore.h @@ -425,84 +425,42 @@ hash2 - 8T5setQ+yEfDBHi/qGHoWdouWjN95RSIACU+YZXfvas= + 6I6EZU4XQzZIx9U87fSaAXXd5AYFgHHQq+OHubvG0r4= Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface hash2 - sfIwdfe/WdSR49ReIvea+ZoVvgiEfrci3auuu+/Znt4= + xz1BfEWk0zuNC4rtUTsik0UEcn25MkTCaPp2Ltia4TQ= Modules/SoulverCore.swiftmodule/arm64-apple-ios-macabi.swiftmodule hash2 - GBRyrkuGEyn1D6bzFBZR8HGTJ64uogk2nEstjFC/s94= - - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - hash2 - - 8T5setQ+yEfDBHi/qGHoWdouWjN95RSIACU+YZXfvas= - - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - hash2 - - sfIwdfe/WdSR49ReIvea+ZoVvgiEfrci3auuu+/Znt4= - - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - hash2 - - GBRyrkuGEyn1D6bzFBZR8HGTJ64uogk2nEstjFC/s94= + BAJFqgMQOo/4TtvkIjr5fnjI9JGshJOlIgCDcirynTE= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc hash2 - ZNC1cWhF3+c9oJf12R5Mk+xGUDbpmVJLjQHnQJzA6kQ= + 75GyEfdUm1Vp8mPqn2Z+5Q/G+IhGZ375idpxoo1Xc8Q= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface hash2 - PdJ2Erg6gP1UHDq5vrYN+6mxDcFPXx/PZWlX/nSArVs= + BdkDsGKQux+9BHfYnwq07NH4I81etZ3nK5FGbwEfdBs= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-macabi.swiftmodule hash2 - 5cv5w0G3Z2fo+nBdKAhwV71fVfcsaQi7Gabz4hsgmWM= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftdoc - - hash2 - - ZNC1cWhF3+c9oJf12R5Mk+xGUDbpmVJLjQHnQJzA6kQ= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftinterface - - hash2 - - PdJ2Erg6gP1UHDq5vrYN+6mxDcFPXx/PZWlX/nSArVs= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftmodule - - hash2 - - 5cv5w0G3Z2fo+nBdKAhwV71fVfcsaQi7Gabz4hsgmWM= + xSwp1F88Tw3iGHGI8F5jRknbu9mglYgOFpeoG0eFXWY= Modules/module.modulemap @@ -516,7 +474,7 @@ hash2 - sBUOgb5fmNs2uBuiGu/Jc/UzzP9gCGQa2H6oWaF7FUk= + Lys73UdHTZIg6xJe1YkF2D2ueh2RcEl1vrAndoyZ43M= Resources/de.lproj/Cities.json @@ -631,7 +589,7 @@ hash2 - d4sZI1sJzrwK3s0f2FjiYAgip+P2I1GgFgBHZGdUHUE= + mAzky+DlQ9Ld3W2NgYiwqA0YNVBn4ScNam8wDaQHkoQ= optional @@ -658,7 +616,7 @@ hash2 - EZeIj4Dlo9TemXVLrmOODRf9f2GLbVM0JtY0VFLAklQ= + 4PyZ+90vgrVJupcCrGXUeLCe9ZIB2qHcPMsT2r8l9r8= optional @@ -676,7 +634,7 @@ hash2 - mMgm9L8M5lcoIFs/H84sZiJSnTNPLUM+VkM0Q2reBxw= + M03rxMhNqn7Ac2viDTYDguuxHVMqh+eAc2XzIaE5CSo= optional @@ -694,7 +652,7 @@ hash2 - BX6SQEj0pd3fxPCrRJ8OOwRObDciEXx9oVNH4umDt9M= + gzLT+TjoU6ZezlRGNRtZPo+zzhEgCLqWEqRvANNQBpI= optional diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Headers/SoulverCore-Swift.h b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Headers/SoulverCore-Swift.h index 898b5fa93..3320339e2 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Headers/SoulverCore-Swift.h +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Headers/SoulverCore-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -186,6 +186,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -208,7 +215,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
          @@ -259,7 +265,7 @@ SWIFT_CLASS("_TtC11SoulverCore46VanillaBackgroundEvaluationAndMergingOperation") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -445,6 +451,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -467,7 +480,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
            diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Info.plist b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Info.plist index 5c54ec61c..4b1dbd33d 100644 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Info.plist and b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Info.plist differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 18f76596d..273a6ad2d 100644 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 3254a6204..476bb5f7d 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target arm64-apple-ios13.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 18f76596d..000000000 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 3254a6204..000000000 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target arm64-apple-ios13.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index a01869aa1..12896edeb 100644 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 2e8ec66c3..154d88295 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target x86_64-apple-ios13.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index a01869aa1..000000000 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index 2e8ec66c3..000000000 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target x86_64-apple-ios13.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/SoulverCore b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/SoulverCore index b3a78c3eb..dd685c3bd 100755 Binary files a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/SoulverCore and b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/SoulverCore differ diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/_CodeSignature/CodeResources b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/_CodeSignature/CodeResources index ef823abdb..4df462073 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/_CodeSignature/CodeResources +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/SoulverCore-Swift.h - kEkCJgJmUwy/uMUzcf/SWMYVGMw= + DPl0gJfmoFwQNsv6UzvGI8oRjS4= Headers/SoulverCore.h @@ -14,55 +14,31 @@ Info.plist - 8rpfmf3PU8OhKNB5pCku6subzG0= + SyzMgzXcXtU+CyJyioUdfvtjCJw= Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc - nXebQYN4MCaR38iyvxSf6uXeh6M= + 3YakyduSIB+Epn5+NKoWYqVzwec= Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface - NTrDjxwSkcTEsGFJAbmIPwWHZD8= + Rj7kpe82U6Kk+B0R3EfAKU0JDes= Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule - gQbbT8CPS66NnqUopLXP3wuLL9o= - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - nXebQYN4MCaR38iyvxSf6uXeh6M= - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - NTrDjxwSkcTEsGFJAbmIPwWHZD8= - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - gQbbT8CPS66NnqUopLXP3wuLL9o= + JWoh13O/FX3WyOEDXtDg8KM2ixI= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - ZjXTBTLy/oYwxia3sLSNNU+/HKk= + uoeNnsK21UYHZ+qaO1FnQHhRF3A= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - tiH78qQX2hI98UplSnd1rwyFays= + jPOySG9v5uNDJq04SHN996V3AQI= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - uNbqg6xrS5LQZcuTnCV6fD3qiNw= - - Modules/SoulverCore.swiftmodule/x86_64.swiftdoc - - ZjXTBTLy/oYwxia3sLSNNU+/HKk= - - Modules/SoulverCore.swiftmodule/x86_64.swiftinterface - - tiH78qQX2hI98UplSnd1rwyFays= - - Modules/SoulverCore.swiftmodule/x86_64.swiftmodule - - uNbqg6xrS5LQZcuTnCV6fD3qiNw= + 6D2uYoX1s1uW/HhWrM5CgccUDig= Modules/module.modulemap @@ -180,7 +156,7 @@ hash - C+YRH1pX5WHisPEzaadbaC9e1Kw= + eXg1+1PENcr07fzqCB+X2nk7Qhg= optional @@ -207,7 +183,7 @@ hash - +F/iTqZtnPF3JSAxyYXg5dQHvf4= + RbFD+EnNDBiXlAExS/Fli4oloiA= optional @@ -225,7 +201,7 @@ hash - EzyYZu2evCeqa4LKc/fCY/4X5+E= + +ac10N7ZPUDZsCNgvEi6d97W0aY= optional @@ -243,7 +219,7 @@ hash - Kz5cYm6hoov66WW0VLAq7mew80E= + dznWR1SIc77Bu7VHkGAfS9o1GLU= optional @@ -471,7 +447,7 @@ hash2 - YUze+UKx79dVtUUgxlthRyDzycR1fyGYNR/eROkuZdE= + m4/AaScGAcR9fj/aLEPtoTRNw/NABhTIb4JlrtVMhRg= Headers/SoulverCore.h @@ -485,84 +461,42 @@ hash2 - eRsF6CzI/DiccxxBzq45Ii1DtvN4vAqy/ToYYqhvC+8= + 7K+ezIeu73QgX8O9zmhpY1myFD8xQObQUhKO40X7TW4= Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - uezbzgytVwBoh39JmOLhWr9Y5M6npDb7iOqnwzn1ijM= + mb1CFeUE5eJKSJnvAZjrzl5u2JcTvFSV/K0/X5+ysZg= Modules/SoulverCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - CHUMV/ku+xqZu+3UZ4p+5oBPyEGEEy8vduEtSps+2wI= - - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - hash2 - - eRsF6CzI/DiccxxBzq45Ii1DtvN4vAqy/ToYYqhvC+8= - - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - hash2 - - uezbzgytVwBoh39JmOLhWr9Y5M6npDb7iOqnwzn1ijM= - - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - hash2 - - CHUMV/ku+xqZu+3UZ4p+5oBPyEGEEy8vduEtSps+2wI= + gk2ugS9NmopIG39DgngcHmI3y8ruL8YmuP77LLsUuMs= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - 6GrwJaR/wrTUI3ubr1CkMwqF+VQgfBzlHCVSHDOgDYc= + AV4RLbvCnpMnCEDnqrIyxHkxc9DY2dAwQyE5s5dPiRE= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - xxm6A4tFyzmmyZAJ+QxNO6lnANUmGqUh8rrgf/yZ4Ro= + S5GrMBM1wGzqDKg1d7Gzk6l0ycp6QPSnBAb6yl/MYME= Modules/SoulverCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - txIm/iPfXC5ug+EDIMTjUGzcIRg0R8tWrO6fShfHS78= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftdoc - - hash2 - - 6GrwJaR/wrTUI3ubr1CkMwqF+VQgfBzlHCVSHDOgDYc= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftinterface - - hash2 - - xxm6A4tFyzmmyZAJ+QxNO6lnANUmGqUh8rrgf/yZ4Ro= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftmodule - - hash2 - - txIm/iPfXC5ug+EDIMTjUGzcIRg0R8tWrO6fShfHS78= + 1uUPr2LihKwGxhIkYgXHqUXG1zO023Jcg1dV6wmgvf4= Modules/module.modulemap @@ -684,7 +618,7 @@ hash2 - d4sZI1sJzrwK3s0f2FjiYAgip+P2I1GgFgBHZGdUHUE= + mAzky+DlQ9Ld3W2NgYiwqA0YNVBn4ScNam8wDaQHkoQ= optional @@ -711,7 +645,7 @@ hash2 - EZeIj4Dlo9TemXVLrmOODRf9f2GLbVM0JtY0VFLAklQ= + 4PyZ+90vgrVJupcCrGXUeLCe9ZIB2qHcPMsT2r8l9r8= optional @@ -729,7 +663,7 @@ hash2 - mMgm9L8M5lcoIFs/H84sZiJSnTNPLUM+VkM0Q2reBxw= + M03rxMhNqn7Ac2viDTYDguuxHVMqh+eAc2XzIaE5CSo= optional @@ -747,7 +681,7 @@ hash2 - BX6SQEj0pd3fxPCrRJ8OOwRObDciEXx9oVNH4umDt9M= + gzLT+TjoU6ZezlRGNRtZPo+zzhEgCLqWEqRvANNQBpI= optional diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/FunctionDescriptions.json index 090511067..7206f941d 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/FunctionDescriptions.json @@ -1,4 +1,81 @@ { + "unitRelated": [ + { + "prototypeExpressions": [ + "convert __unit_expression into __unit", + "convert __unit into __unit" + ], + "identifier": "unitConversion" + }, + { + "prototypeExpressions": [ + "__unit in __unit_expression", + "__unit in a __unit", + "__unit in an __unit" + ], + "identifier": "unitInUnitExpression" + }, + { + "prototypeExpressions": [ + "__unit_expression __substance in __unit", + "__unit_expression of __substance in __unit", + "__unit_expression __substance as __unit", + "__unit_expression of __substance as __unit", + "__unit_expression __substance to __unit", + "__unit_expression of __substance to __unit" + ], + "identifier": "substanceWeightToVolumeConversion" + }, + { + "prototypeExpressions": [ + "density of __substance", + "__substance density" + ], + "identifier": "densityOfSubstance" + }, + { + "prototypeExpressions": [ + "__unit in __timespan" + ], + "identifier": "unitInTimespan" + }, + { + "identifier": "rateUnitChange", + "prototypeExpressions": [ + "__rate is what / __unit", + "__rate is how much / __unit", + "__rate as / __unit", + "__rate is what /__unit", + "__rate is how much /__unit", + "__rate as /__unit", + "__rate is what per __unit", + "__rate is how much per __unit", + "__rate as per __unit", + "__rate is what per__unit", + "__rate is how much per__unit", + "__rate as per__unit" + ] + }, + { + "identifier": "rateForADuration", + "prototypeExpressions": [ + "__rate for a __duration" + ] + }, + { + "identifier": "screenDensity", + "prototypeExpressions": [ + "ppi of __length at __resolution", + "ppi of __length device at __resolution", + "ppi of __length screen at __resolution", + "ppi of __length display at __resolution", + "density of __length at __resolution", + "density of __length screen at __resolution", + "density of __length device at __resolution", + "density of __length display at __resolution" + ] + } + ], "datetime": [ { "prototypeExpressions": [ @@ -185,6 +262,180 @@ ] } ], + "videoRelated": [ + { + "prototypeExpressions": [ + "__frametime at __frameRate_expression", + "__laptime at __frameRate_expression", + "__timespan at __frameRate_expression", + "__frametime @ __frameRate_expression", + "__laptime @ __frameRate_expression", + "__timespan @ __frameRate_expression", + "__frametime at __rate", + "__laptime at __rate" + ], + "identifier": "formFrametime" + }, + { + "prototypeExpressions": [ + "__frames_expression at __frameRate_expression", + "__frames_expression at __rate", + "__frames_expression @ __frameRate_expression", + "__frames_expression @ __rate" + ], + "identifier": "framesToFrametime" + } + ], + "financial": [ + { + "prototypeExpressions": [ + "present value of 1000 after __timespan at __percentage", + "present value of 1000 over __timespan at __percentage" + ], + "identifier": "presentValue" + }, + { + "prototypeExpressions": [ + "annual return on 500 invested 1000 returned after __timespan", + "yearly return on 500 invested 1000 returned after __timespan", + "annual return on 500 invested 1000 returned over __timespan", + "yearly return on 500 invested 1000 returned over __timespan" + ], + "identifier": "returnOnInvestmentAfter" + }, + { + "identifier": "returnOnInvestment", + "prototypeExpressions": [ + "500 invested 1000 returned" + ] + }, + { + "identifier": "totalLoanRepayment", + "prototypeExpressions": [ + "total repayment on 10000 for __timespan at __percentage", + "total repayment on 10000 after __timespan at __percentage", + "total repayment on 10000 over __timespan at __percentage", + "total payment on 10000 for __timespan at __percentage", + "total payment on 10000 after __timespan at __percentage", + "total payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "annual repayment on 10000 for __timespan at __percentage", + "annual repayment on 10000 after __timespan at __percentage", + "annual repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 after __timespan at __percentage", + "yearly repayment on 10000 for __timespan at __percentage", + "annual payment on 10000 for __timespan at __percentage", + "annual payment on 10000 after __timespan at __percentage", + "annual payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 after __timespan at __percentage", + "yearly payment on 10000 for __timespan at __percentage" + ], + "identifier": "annualLoanRepayment" + }, + { + "identifier": "monthlyLoanRepayment", + "prototypeExpressions": [ + "monthly repayment on 10000 for __timespan at __percentage", + "monthly repayment on 10000 after __timespan at __percentage", + "monthly repayment on 10000 over __timespan at __percentage", + "monthly payment on 10000 for __timespan at __percentage", + "monthly payment on 10000 after __timespan at __percentage", + "monthly payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "total interest on 10000 for __timespan at __percentage", + "total interest on 10000 after __timespan at __percentage", + "total interest on 10000 over __timespan at __percentage" + ], + "identifier": "totalInterestOnLoanRepayment" + }, + { + "identifier": "annualInterestOnLoanRepayment", + "prototypeExpressions": [ + "annual interest on 10000 for __timespan at __percentage", + "annual interest on 10000 after __timespan at __percentage", + "annual interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 after __timespan at __percentage", + "yearly interest on 10000 for __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "monthly interest on 10000 for __timespan at __percentage", + "monthly interest on 10000 after __timespan at __percentage", + "monthly interest on 10000 over __timespan at __percentage" + ], + "identifier": "monthlyInterestOnLoanRepayment" + }, + { + "identifier": "compoundInterestCompoundingMonthly", + "prototypeExpressions": [ + "100 after __timespan at __percentage compounded monthly", + "100 for __timespan at __percentage compounded monthly", + "100 over __timespan at __percentage compounded monthly", + "100 at __percentage after __timespan compounded monthly", + "100 at __percentage for __timespan compounded monthly", + "100 at __percentage over __timespan compounded monthly", + "100 after __timespan at __percentage compounding monthly", + "100 for __timespan at __percentage compounding monthly", + "100 over __timespan at __percentage compounding monthly", + "100 at __percentage after __timespan compounding monthly", + "100 at __percentage for __timespan compounding monthly", + "100 at __percentage over __timespan compounding monthly" + ] + }, + { + "identifier": "compoundInterest", + "prototypeExpressions": [ + "100 after __timespan at __percentage", + "100 for __timespan at __percentage", + "100 over __timespan at __percentage", + "100 at __percentage after __timespan", + "100 at __percentage for __timespan", + "100 at __percentage over __timespan" + ] + }, + { + "identifier": "dollarWorthAdjustedForInflation", + "prototypeExpressions": [ + "500 from __datestamp is worth what __datestamp", + "500 in __datestamp is worth what __datestamp", + "500 from __datestamp is worth what in __datestamp", + "500 in __datestamp is worth what in __datestamp", + "what is 500 __datestamp worth in __datestamp", + "what is 500 in __datestamp worth in __datestamp", + "what is 500 from __datestamp worth in __datestamp", + "what is 500 __datestamp worth __datestamp", + "what is 500 in __datestamp worth __datestamp", + "what is 500 from __datestamp worth __datestamp" + ] + }, + { + "identifier": "predictedDollarWorthGivenInflation", + "prototypeExpressions": [ + "what will 500 be worth in __datestamp with __percentage inflation", + "what will 500 be worth in __datestamp given __percentage inflation", + "what will 500 be worth in __datestamp assuming __percentage inflation", + "what will 500 be worth in __datestamp at __percentage inflation", + "value of 500 in __datestamp with __percentage inflation", + "value of 500 in __datestamp given __percentage inflation", + "value of 500 in __datestamp assuming __percentage inflation", + "value of 500 in __datestamp at __percentage inflation", + "purchasing power of 500 in __datestamp with __percentage inflation", + "purchasing power of 500 in __datestamp given __percentage inflation", + "purchasing power of 500 in __datestamp assuming __percentage inflation", + "purchasing power of 500 in __datestamp at __percentage inflation" + ] + } + ], "general": [ { "prototypeExpressions": [ @@ -332,160 +583,22 @@ "identifier": "scrubNumberWithSpecifiedRange" } ], - "financial": [ - { - "prototypeExpressions": [ - "present value of 1000 after __timespan at __percentage", - "present value of 1000 over __timespan at __percentage" - ], - "identifier": "presentValue" - }, - { - "prototypeExpressions": [ - "annual return on 500 invested 1000 returned after __timespan", - "yearly return on 500 invested 1000 returned after __timespan", - "annual return on 500 invested 1000 returned over __timespan", - "yearly return on 500 invested 1000 returned over __timespan" - ], - "identifier": "returnOnInvestmentAfter" - }, - { - "identifier": "returnOnInvestment", - "prototypeExpressions": [ - "500 invested 1000 returned" - ] - }, - { - "identifier": "totalLoanRepayment", - "prototypeExpressions": [ - "total repayment on 10000 for __timespan at __percentage", - "total repayment on 10000 after __timespan at __percentage", - "total repayment on 10000 over __timespan at __percentage", - "total payment on 10000 for __timespan at __percentage", - "total payment on 10000 after __timespan at __percentage", - "total payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "annual repayment on 10000 for __timespan at __percentage", - "annual repayment on 10000 after __timespan at __percentage", - "annual repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 after __timespan at __percentage", - "yearly repayment on 10000 for __timespan at __percentage", - "annual payment on 10000 for __timespan at __percentage", - "annual payment on 10000 after __timespan at __percentage", - "annual payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 after __timespan at __percentage", - "yearly payment on 10000 for __timespan at __percentage" - ], - "identifier": "annualLoanRepayment" - }, - { - "identifier": "monthlyLoanRepayment", - "prototypeExpressions": [ - "monthly repayment on 10000 for __timespan at __percentage", - "monthly repayment on 10000 after __timespan at __percentage", - "monthly repayment on 10000 over __timespan at __percentage", - "monthly payment on 10000 for __timespan at __percentage", - "monthly payment on 10000 after __timespan at __percentage", - "monthly payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "total interest on 10000 for __timespan at __percentage", - "total interest on 10000 after __timespan at __percentage", - "total interest on 10000 over __timespan at __percentage" - ], - "identifier": "totalInterestOnLoanRepayment" - }, - { - "identifier": "annualInterestOnLoanRepayment", - "prototypeExpressions": [ - "annual interest on 10000 for __timespan at __percentage", - "annual interest on 10000 after __timespan at __percentage", - "annual interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 after __timespan at __percentage", - "yearly interest on 10000 for __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "monthly interest on 10000 for __timespan at __percentage", - "monthly interest on 10000 after __timespan at __percentage", - "monthly interest on 10000 over __timespan at __percentage" - ], - "identifier": "monthlyInterestOnLoanRepayment" - }, - { - "identifier": "compoundInterestCompoundingMonthly", - "prototypeExpressions": [ - "100 after __timespan at __percentage compounded monthly", - "100 for __timespan at __percentage compounded monthly", - "100 over __timespan at __percentage compounded monthly", - "100 at __percentage after __timespan compounded monthly", - "100 at __percentage for __timespan compounded monthly", - "100 at __percentage over __timespan compounded monthly", - "100 after __timespan at __percentage compounding monthly", - "100 for __timespan at __percentage compounding monthly", - "100 over __timespan at __percentage compounding monthly", - "100 at __percentage after __timespan compounding monthly", - "100 at __percentage for __timespan compounding monthly", - "100 at __percentage over __timespan compounding monthly" - ] - }, - { - "identifier": "compoundInterest", - "prototypeExpressions": [ - "100 after __timespan at __percentage", - "100 for __timespan at __percentage", - "100 over __timespan at __percentage", - "100 at __percentage after __timespan", - "100 at __percentage for __timespan", - "100 at __percentage over __timespan" - ] - } - ], - "videoRelated": [ - { - "prototypeExpressions": [ - "__frametime at __frequency_expression", - "__laptime at __frequency_expression", - "__timespan at __frequency_expression", - "__frametime @ __frequency_expression", - "__laptime @ __frequency_expression", - "__timespan @ __frequency_expression", - "__frametime at __rate", - "__laptime at __rate" - ], - "identifier": "formFrametime" - }, - { - "prototypeExpressions": [ - "__frames_expression at __frequency_expression", - "__frames_expression at __rate", - "__frames_expression @ __frequency_expression", - "__frames_expression @ __rate" - ], - "identifier": "framesToFrametime" - } - ], "changeRelated": [ { "identifier": "exponentialGrowth", "prototypeExpressions": [ "20 after __timespan at __percentage every __timespan", "20 after __timespan at __percentage each __timespan", + "20 after __timespan at __percentage per __timespan", "20 after __timespan at __percentage every __unit", "20 after __timespan at __percentage each __unit", + "20 after __timespan at __percentage per __unit", "20 after __timespan at __percentage growth every __timespan", "20 after __timespan at __percentage growth each __timespan", + "20 after __timespan at __percentage growth per __timespan", "20 after __timespan at __percentage growth every __unit", - "20 after __timespan at __percentage growth each __unit" + "20 after __timespan at __percentage growth each __unit", + "20 after __timespan at __percentage growth per __unit" ] }, { @@ -493,16 +606,22 @@ "prototypeExpressions": [ "20 after __timespan at −__percentage every __timespan", "20 after __timespan at −__percentage each __timespan", + "20 after __timespan at −__percentage per __timespan", "20 after __timespan at −__percentage every __unit", "20 after __timespan at −__percentage each __unit", + "20 after __timespan at −__percentage per __unit", "20 after __timespan at -__percentage every __timespan", "20 after __timespan at -__percentage each __timespan", + "20 after __timespan at -__percentage per __timespan", "20 after __timespan at -__percentage every __unit", "20 after __timespan at -__percentage each __unit", + "20 after __timespan at -__percentage per __unit", "20 after __timespan at __percentage decay every __timespan", "20 after __timespan at __percentage decay each __timespan", + "20 after __timespan at __percentage decay per __timespan", "20 after __timespan at __percentage decay every __unit", - "20 after __timespan at __percentage decay each __unit" + "20 after __timespan at __percentage decay each __unit", + "20 after __timespan at __percentage decay per __unit" ] }, { @@ -512,22 +631,32 @@ "time from 20 to 30 at __percentage every __unit", "time from 20 to 30 at __percentage each __timespan", "time from 20 to 30 at __percentage each __unit", + "time from 20 to 30 at __percentage per __timespan", + "time from 20 to 30 at __percentage per __unit", "time from 20 to 30 at −__percentage every __timespan", "time from 20 to 30 at −__percentage every __unit", "time from 20 to 30 at −__percentage each __timespan", "time from 20 to 30 at −__percentage each __unit", + "time from 20 to 30 at −__percentage per __timespan", + "time from 20 to 30 at −__percentage per __unit", "time from 20 to 30 at -__percentage every __timespan", "time from 20 to 30 at -__percentage every __unit", "time from 20 to 30 at -__percentage each __timespan", "time from 20 to 30 at -__percentage each __unit", + "time from 20 to 30 at -__percentage per __timespan", + "time from 20 to 30 at -__percentage per __unit", "time from 20 to 30 at __percentage growth every __timespan", "time from 20 to 30 at __percentage growth every __unit", "time from 20 to 30 at __percentage growth each __timespan", "time from 20 to 30 at __percentage growth each __unit", + "time from 20 to 30 at __percentage growth per __timespan", + "time from 20 to 30 at __percentage growth per __unit", "time from 20 to 30 at __percentage decay every __timespan", "time from 20 to 30 at __percentage decay every __unit", "time from 20 to 30 at __percentage decay each __timespan", - "time from 20 to 30 at __percentage decay each __unit" + "time from 20 to 30 at __percentage decay each __unit", + "time from 20 to 30 at __percentage decay per __timespan", + "time from 20 to 30 at __percentage decay per __unit" ] }, { @@ -536,7 +665,15 @@ "growth per __timespan from 20 to 30 over __timespan", "decay per __timespan from 20 to 30 over __timespan", "growth per __unit from 20 to 30 over __timespan", - "decay per __unit from 20 to 30 over __timespan" + "decay per __unit from 20 to 30 over __timespan", + "growth each __timespan from 20 to 30 over __timespan", + "decay each __timespan from 20 to 30 over __timespan", + "growth each __unit from 20 to 30 over __timespan", + "decay each __unit from 20 to 30 over __timespan", + "growth every __timespan from 20 to 30 over __timespan", + "decay every __timespan from 20 to 30 over __timespan", + "growth every __unit from 20 to 30 over __timespan", + "decay every __unit from 20 to 30 over __timespan" ] }, { @@ -574,63 +711,6 @@ ] } ], - "unitRelated": [ - { - "prototypeExpressions": [ - "__unit in __unit_expression", - "__unit in a __unit", - "__unit in an __unit" - ], - "identifier": "unitInUnitExpression" - }, - { - "prototypeExpressions": [ - "__unit_expression __substance in __unit", - "__unit_expression of __substance in __unit", - "__unit_expression __substance as __unit", - "__unit_expression of __substance as __unit", - "__unit_expression __substance to __unit", - "__unit_expression of __substance to __unit" - ], - "identifier": "substanceWeightToVolumeConversion" - }, - { - "prototypeExpressions": [ - "density of __substance", - "__substance density" - ], - "identifier": "densityOfSubstance" - }, - { - "prototypeExpressions": [ - "__unit in __timespan" - ], - "identifier": "unitInTimespan" - }, - { - "identifier": "rateUnitChange", - "prototypeExpressions": [ - "__rate is what / __unit", - "__rate is how much / __unit", - "__rate as / __unit", - "__rate is what /__unit", - "__rate is how much /__unit", - "__rate as /__unit", - "__rate is what per __unit", - "__rate is how much per __unit", - "__rate as per __unit", - "__rate is what per__unit", - "__rate is how much per__unit", - "__rate as per__unit" - ] - }, - { - "identifier": "rateForADuration", - "prototypeExpressions": [ - "__rate for a __duration" - ] - } - ], "percentage": [ { "prototypeExpressions": [ @@ -689,58 +769,82 @@ { "prototypeExpressions": [ "10 is what % of 20", + "10 is what percent of 20", + "10 is what percentage of 20", "10 as a % of 20", - "10 as % of 20" + "10 as % of 20", + "10 as a percent of 20", + "10 as percent of 20", + "10 as a percentage of 20", + "10 as percentage of 20" ], "identifier": "isWhatPercentOf" }, { "prototypeExpressions": [ "10 is what % off 20", + "10 is what percent off 20", + "10 is what percentage off 20", "10 as a % off 20", - "10 as % off 20" + "10 as % off 20", + "10 as a percent off 20", + "10 as percent off 20", + "10 as a percentage off 20", + "10 as percentage off 20" ], "identifier": "isWhatPercentOff" }, { "prototypeExpressions": [ "20 is what % on 10", + "20 is what percent on 10", + "20 is what percentage on 10", "20 as a % on 10", - "20 as % on 10" + "20 as % on 10", + "20 as percent on 10", + "20 as a percent on 10", + "20 as percentage on 10", + "20 as a percentage on 10" ], "identifier": "isWhatPercentOn" + }, + { + "prototypeExpressions": [ + "__sales_tax in 500", + "__sales_tax from 500" + ], + "identifier": "salesTaxIn" } ], - "tagRelated": [ + "statistics": [ { "prototypeExpressions": [ - "total of __tag", - "total __tag", - "__tag total", - "sum of __tag", - "sum __tag", - "__tag sum" + "__statistic_type of __list", + "__statistic_type __list" ], - "identifier": "tagTotal" + "identifier": "statisticOfList" }, { "prototypeExpressions": [ - "average of __tag", - "average __tag", - "__tag average", - "mean of __tag", - "mean __tag", - "__tag mean" + "__statistic_type of __tag", + "__statistic_type __tag", + "__tag __statistic_type" + ], + "identifier": "statisticOfTag" + } + ], + "soundRelated": [ + { + "prototypeExpressions": [ + "wavelength of __frequency_expression" ], - "identifier": "tagAverage" + "identifier": "wavelengthOfFrequencyOfSound" }, { "prototypeExpressions": [ - "count of __tag", - "count __tag", - "__tag count" + "frequency of __length_expression" ], - "identifier": "tagCount" + "identifier": "frequencyOfWavelengthOfSound" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/LocalizedFixtures.json b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/LocalizedFixtures.json index 5ed639613..39d66dff3 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/LocalizedFixtures.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/LocalizedFixtures.json @@ -7,22 +7,6 @@ "nextDateQualifiers": [ "next" ], - "thisDateQualifiers": [ - "this" - ], - "ordinalSuffixes": [ - "st", - "nd", - "rd", - "th" - ], - "middayAliases": [ - "midday", - "noon" - ], - "midnightAliases": [ - "midnight" - ], "converterSymbols": [ "to", "as" @@ -45,18 +29,21 @@ "hereAliases": [ "here" ], - "pmAliases": [ - "pm" - ], - "amAliases": [ - "am" - ], "nowDateAliases": [ "now" ], + "ordinalSuffixes": [ + "st", + "nd", + "rd", + "th" + ], "piAliases": [ "π" ], + "thisDateQualifiers": [ + "this" + ], "divisionOperators": [ "÷", "per" @@ -64,17 +51,13 @@ "fractionTypes": [ "fraction" ], + "midnightAliases": [ + "midnight" + ], "multiplierTypes": [ "multiplier", "multiple" ], - "binaryTypes": [ - "binary" - ], - "hexadecimalTypes": [ - "hexadecimal", - "hex" - ], "roundingUpConverters": [ "rounded up" ], @@ -98,13 +81,16 @@ "iso8601Types": [ "iso8601" ], - "lessThanOrEqualToOperators": [ - "<=", - "=<" + "pmAliases": [ + "pm" ], "roundingConverters": [ "rounded" ], + "lessThanOrEqualToOperators": [ + "<=", + "=<" + ], "subtractionOperators": [ "−", "–", @@ -113,6 +99,14 @@ "dateTypes": [ "date" ], + "middayAliases": [ + "midday", + "noon" + ], + "hexadecimalTypes": [ + "hexadecimal", + "hex" + ], "reverseSubtractionOperators": [ ], "numberTypes": [ @@ -122,12 +116,23 @@ "roundingDownConverters": [ "rounded down" ], + "amAliases": [ + "am" + ], "todayDateAliases": [ "today" ], + "binaryTypes": [ + "binary" + ], "additionOperators": [ "plus" ], + "midiTypes": [ + "midi", + "midi number", + "MIDI note number" + ], "isNotEqualToOperators": [ "!=", "=!" @@ -136,18 +141,36 @@ ">=", "=>" ], + "totalAliases": [ + "total", + "sum" + ], "multiplicationOperators": [ "×", "x" ], + "medianAliases": [ + "median" + ], "timestampTypes": [ "timestamp" ], + "averageAliases": [ + "average", + "mean" + ], + "pitchTypes": [ + "pitch", + "musical note" + ], "yesterdayDateAliases": [ "yesterday" ], + "countAliases": [ + "count" + ], "tomorrowDateAliases": [ "tomorrow" ] } -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/UnitDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/UnitDescriptions.json index 1cc2920be..49596741e 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/UnitDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/en.lproj/UnitDescriptions.json @@ -1,43 +1,15 @@ { - "speed": [ - { - "aliases": [ - "meter per second", - "meters per second", - "metre per second", - "metres per second" - ], - "symbol": "m/s", - "identifier": "metersPerSecond" - }, - { - "aliases": [ - "kilometer per hour", - "kilometers per hour", - "kilometre per hour", - "kilometres per hour", - "kmph", - "kph", - "kmh" - ], - "symbol": "km/h", - "identifier": "kilometersPerHour" - }, - { - "aliases": [ - "mile per hour", - "miles per hour" - ], - "symbol": "mph", - "identifier": "milesPerHour" - }, + "fuelConsumption": [ { "aliases": [ - "knot", - "knots" + "L/100 km", + "liters per 100 km", + "litres per 100 km", + "liters per 100 kilometers", + "litres per 100 kilometres" ], - "symbol": "kn", - "identifier": "knots" + "symbol": "L/100km", + "identifier": "litersPer100Kilometers" } ], "volume": [ @@ -99,7 +71,9 @@ "identifier": "microliters" }, { + "identifier": "cubicKilometers", "aliases": [ + "cubic km", "cubic kilometer", "cubic kilometers", "cubic kilometre", @@ -113,11 +87,11 @@ "km3", "km^3" ], - "symbol": "km³", - "identifier": "cubicKilometers" + "symbol": "km³" }, { "aliases": [ + "cubic m", "cubic meter", "cubic meters", "cubic metre", @@ -134,6 +108,7 @@ }, { "aliases": [ + "cubic cm", "cubic centimeter", "cubic centimeters", "cubic centimetre", @@ -147,6 +122,7 @@ }, { "aliases": [ + "cubic mm", "cubic millimeter", "cubic millimeters", "cubic millimetre", @@ -172,6 +148,7 @@ }, { "aliases": [ + "cubic ft", "cubic foot", "cubic feet", "cuft", @@ -184,6 +161,7 @@ }, { "aliases": [ + "cubic yd", "cubic yard", "cubic yards", "yd³", @@ -197,6 +175,7 @@ }, { "aliases": [ + "cubic mi", "cubic mile", "cubic miles", "mi³", @@ -294,318 +273,405 @@ "identifier": "fluidOunces" } ], - "dataStorage": [ + "substanceConcentration": [ { "aliases": [ - "byte", - "bytes" + "molars", + "molar" ], - "symbol": "B", - "identifier": "bytes" - }, + "symbol": "ᴍ", + "identifier": "molar" + } + ], + "temperature": [ { "aliases": [ - "bit", - "bits" + "kelvin" ], - "symbol": "bit", - "identifier": "bits" + "symbol": "K", + "identifier": "kelvin" }, { "aliases": [ - "yottabyte", - "yottabytes" + "degree celsius", + "degrees celsius", + "degrees celcius", + "celsius", + "ºC", + "℃", + "C", + "degC" ], - "symbol": "YB", - "identifier": "yottabytes" + "symbol": "°C", + "identifier": "celsius" }, { "aliases": [ - "zettabyte", - "zettabytes" + "degree fahrenheit", + "degrees fahrenheit", + "ºF", + "℉", + "F", + "degF", + "fahrenheit" ], - "symbol": "ZB", - "identifier": "zettabytes" - }, + "symbol": "°F", + "identifier": "fahrenheit" + } + ], + "screenDensity": [ { "aliases": [ - "exabyte", - "exabytes" + "pixels per inch", + "pixel per inch", + "ppi" ], - "symbol": "EB", - "identifier": "exabytes" - }, + "symbol": "PPI", + "identifier": "ppi" + } + ], + "duration": [ { "aliases": [ - "petabyte", - "petabytes" + "hour", + "hours", + "hrs", + "h" ], - "symbol": "PB", - "identifier": "petabytes" + "symbol": "hr", + "identifier": "hours" }, { "aliases": [ - "terabyte", - "terabytes", - "TB", - "tb" + "second", + "seconds", + "sec", + "secs" ], - "symbol": "TB", - "identifier": "terabytes" + "symbol": "s", + "identifier": "seconds" }, { "aliases": [ - "gigabyte", - "gigabytes", - "GB", - "gb" + "minute", + "minutes", + "mins" ], - "symbol": "GB", - "identifier": "gigabytes" + "symbol": "min", + "identifier": "minutes" }, { "aliases": [ - "megabyte", - "megabytes", - "MB", - "mb" + "days" ], - "symbol": "MB", - "identifier": "megabytes" + "symbol": "day", + "identifier": "days" }, { "aliases": [ - "kilobyte", - "kilobytes", - "KB", - "kb" + "weekday", + "weekdays", + "workdays", + "week day", + "week days", + "work days", + "working days", + "working day", + "business day", + "business days" ], - "symbol": "kB", - "identifier": "kilobytes" + "symbol": "workday", + "identifier": "weekdays" }, { "aliases": [ - "yottabit", - "yottabits", - "Yb" + "weeks" ], - "symbol": "Ybit", - "identifier": "yottabits" + "symbol": "week", + "identifier": "weeks" }, { "aliases": [ - "zettabit", - "zettabits", - "Zb" + "months" ], - "symbol": "Zbit", - "identifier": "zettabits" + "symbol": "month", + "identifier": "months" }, { "aliases": [ - "exabit", - "exabits", - "Eb" + "years" ], - "symbol": "Ebit", - "identifier": "exabits" + "symbol": "year", + "identifier": "years" }, { "aliases": [ - "petabit", - "petabits", - "Pb" + "millisecond", + "milliseconds" ], - "symbol": "Pbit", - "identifier": "petabits" + "symbol": "ms", + "identifier": "milliseconds" }, { "aliases": [ - "terabit", - "terabits", - "Tb" + "microsecond", + "microseconds" ], - "symbol": "Tbit", - "identifier": "terabits" + "symbol": "µs", + "identifier": "microseconds" }, { "aliases": [ - "gigabit", - "gigabits", - "Gb" + "nanosecond", + "nanoseconds" ], - "symbol": "Gbit", - "identifier": "gigabits" - }, + "symbol": "ns", + "identifier": "nanoseconds" + } + ], + "speed": [ { "aliases": [ - "megabit", - "megabits", - "Mb" + "meter per second", + "meters per second", + "metre per second", + "metres per second" ], - "symbol": "Mbit", - "identifier": "megabits" + "symbol": "m/s", + "identifier": "metersPerSecond" }, { "aliases": [ - "kilobit", - "kilobits", - "Kb" + "kilometer per hour", + "kilometers per hour", + "kilometre per hour", + "kilometres per hour", + "kmph", + "kph", + "kmh" ], - "symbol": "kbit", - "identifier": "kilobits" + "symbol": "km/h", + "identifier": "kilometersPerHour" }, { "aliases": [ - "yobibyte", - "yobibytes", - "YiB", - "yib" + "mile per hour", + "miles per hour" ], - "symbol": "YiB", - "identifier": "yobibytes" + "symbol": "mph", + "identifier": "milesPerHour" }, { "aliases": [ - "zebibyte", - "zebibytes", - "ZiB", - "zib" + "knot", + "knots" ], - "symbol": "ZiB", - "identifier": "zebibytes" - }, + "symbol": "kn", + "identifier": "knots" + } + ], + "angle": [ { "aliases": [ - "exbibyte", - "exbibytes", - "EiB", - "eib" + "degree", + "degrees", + "º" ], - "symbol": "EiB", - "identifier": "exbibytes" + "symbol": "°", + "identifier": "degrees" }, { "aliases": [ - "pebibyte", - "pebibytes", - "PiB", - "pib" + "arcminutes", + "arcmin", + "arc minutes", + "arc min" ], - "symbol": "PiB", - "identifier": "pebibytes" + "symbol": "′", + "identifier": "arcMinutes" }, { "aliases": [ - "tebibyte", - "tebibytes", - "TiB", - "tib" + "arcseconds", + "arcsec", + "arc seconds", + "arc sec" ], - "symbol": "TiB", - "identifier": "tebibytes" + "symbol": "″", + "identifier": "arcSeconds" }, { "aliases": [ - "gibibyte", - "gibibytes", - "GiB", - "gib" + "radian", + "radians" ], - "symbol": "GiB", - "identifier": "gibibytes" + "symbol": "rad", + "identifier": "radians" + } + ], + "frameRate": [ + { + "aliases": [ + ], + "symbol": "fps", + "identifier": "framesPerSecond" + } + ], + "length": [ + { + "aliases": [ + "meter", + "meters", + "metre", + "metres" + ], + "symbol": "m", + "identifier": "meters" }, { "aliases": [ - "mebibyte", - "mebibytes", - "MiB", - "mib" + "kilometer", + "kilometers", + "kilometre", + "kilometres" ], - "symbol": "MiB", - "identifier": "mebibytes" + "symbol": "km", + "identifier": "kilometers" }, { "aliases": [ - "kibibyte", - "kibibytes", - "KiB", - "kib" + "centimeter", + "centimeters", + "centimetre", + "centimetres" ], - "symbol": "KiB", - "identifier": "kibibytes" + "symbol": "cm", + "identifier": "centimeters" }, { "aliases": [ - "yobibit", - "yobibits", - "Yibit" + "millimeter", + "millimetres", + "millimetre", + "millimeters" ], - "symbol": "Yib", - "identifier": "yobibits" + "symbol": "mm", + "identifier": "millimeters" }, { "aliases": [ - "zebibit", - "zebibits", - "Zibit" + "micrometre", + "micrometres", + "micrometre", + "micrometers" ], - "symbol": "Zib", - "identifier": "zebibits" + "symbol": "µm", + "identifier": "micrometers" }, { "aliases": [ - "exbibit", - "exbibits", - "Eibit" + "nanometer", + "nanometers", + "nanometre", + "nanometres" ], - "symbol": "Eib", - "identifier": "exbibits" + "symbol": "nm", + "identifier": "nanometers" }, { "aliases": [ - "pebibit", - "pebibits", - "Pibit" + "inch", + "inches" ], - "symbol": "Pib", - "identifier": "pebibits" + "symbol": "in", + "identifier": "inches" }, { "aliases": [ - "tebibit", - "tebibits", - "Tibit" + "foot", + "feet" ], - "symbol": "Tib", - "identifier": "tebibits" + "symbol": "ft", + "identifier": "feet" }, { "aliases": [ - "gibibit", - "gibibits", - "Gibit" + "yard", + "yards" ], - "symbol": "Gib", - "identifier": "gibibits" + "symbol": "yd", + "identifier": "yards" }, { "aliases": [ - "mebibit", - "mebibits", - "Mibit" + "mile", + "miles" ], - "symbol": "Mib", - "identifier": "mebibits" + "symbol": "mi", + "identifier": "miles" }, { "aliases": [ - "kibibit", - "kibibits", - "Kibit" + "light year", + "light years" ], - "symbol": "Kib", - "identifier": "kibibits" + "symbol": "ly", + "identifier": "lightyears" + }, + { + "aliases": [ + "parsec", + "parsecs" + ], + "symbol": "pc", + "identifier": "parsecs" + }, + { + "aliases": [ + "nautical mile", + "nautical miles" + ], + "symbol": "NM", + "identifier": "nauticalMiles" + }, + { + "aliases": [ + "fathom", + "fathoms" + ], + "symbol": "ftm", + "identifier": "fathoms" + }, + { + "aliases": [ + "furlong", + "furlongs" + ], + "symbol": "fur", + "identifier": "furlongs" + }, + { + "aliases": [ + "pixel", + "pixels" + ], + "symbol": "px", + "identifier": "pixel" + }, + { + "aliases": [ + ], + "symbol": "em", + "identifier": "em" + }, + { + "aliases": [ + "pts", + "PostScript point", + "PostScript points" + ], + "symbol": "pt", + "identifier": "point" } ], "energy": [ @@ -714,54 +780,89 @@ "identifier": "terawattHours" } ], - "temperature": [ + "power": [ { "aliases": [ - "kelvin" + "watt", + "watts" ], - "symbol": "K", - "identifier": "kelvin" + "symbol": "W", + "identifier": "watts" }, { "aliases": [ - "degree celsius", - "degrees celsius", - "degrees celcius", - "celsius", - "ºC", - "℃", - "C", - "degC" + "milliwatt", + "milliwatts" ], - "symbol": "°C", - "identifier": "celsius" + "symbol": "mW", + "identifier": "milliwatts" }, { "aliases": [ - "degree fahrenheit", - "degrees fahrenheit", - "ºF", - "℉", - "F", - "degF", - "fahrenheit" + "kilowatt", + "kilowatts" ], - "symbol": "°F", - "identifier": "fahrenheit" - } - ], - "dataTransfer": [ + "symbol": "kW", + "identifier": "kilowatts" + }, { "aliases": [ - "bytes per second" + "megawatt", + "megawatts" ], - "symbol": "Bps", - "identifier": "bytesPerSecond" + "symbol": "MW", + "identifier": "megawatts" }, { "aliases": [ - "bits per second" - ], + "gigawatt", + "gigawatts" + ], + "symbol": "GW", + "identifier": "gigawatts" + }, + { + "aliases": [ + "terawatt", + "terawatts" + ], + "symbol": "TW", + "identifier": "terawatts" + }, + { + "aliases": [ + "horsepower" + ], + "symbol": "hp", + "identifier": "horsepower" + } + ], + "fuelEconomy": [ + { + "aliases": [ + ], + "symbol": "km/L", + "identifier": "kilometersPerLiter" + }, + { + "aliases": [ + ], + "symbol": "mpg", + "identifier": "milesPerGallon" + } + ], + "dataTransfer": [ + { + "aliases": [ + "bytes per second" + ], + "symbol": "Bps", + "identifier": "bytesPerSecond" + }, + { + "aliases": [ + "bits per second" + ], "symbol": "bps", "identifier": "bitsPerSecond" }, @@ -998,185 +1099,19 @@ "identifier": "kibibitsPerSecond" } ], - "angle": [ - { - "aliases": [ - "degree", - "degrees", - "º" - ], - "symbol": "°", - "identifier": "degrees" - }, - { - "aliases": [ - "radian", - "radians" - ], - "symbol": "rad", - "identifier": "radians" - } - ], - "length": [ - { - "aliases": [ - "meter", - "meters", - "metre", - "metres" - ], - "symbol": "m", - "identifier": "meters" - }, - { - "aliases": [ - "kilometer", - "kilometers", - "kilometre", - "kilometres" - ], - "symbol": "km", - "identifier": "kilometers" - }, - { - "aliases": [ - "centimeter", - "centimeters", - "centimetre", - "centimetres" - ], - "symbol": "cm", - "identifier": "centimeters" - }, - { - "aliases": [ - "millimeter", - "millimetres", - "millimetre", - "millimeters" - ], - "symbol": "mm", - "identifier": "millimeters" - }, - { - "aliases": [ - "micrometre", - "micrometres", - "micrometre", - "micrometers" - ], - "symbol": "µm", - "identifier": "micrometers" - }, - { - "aliases": [ - "nanometer", - "nanometers", - "nanometre", - "nanometres" - ], - "symbol": "nm", - "identifier": "nanometers" - }, - { - "aliases": [ - "inch", - "inches" - ], - "symbol": "in", - "identifier": "inches" - }, - { - "aliases": [ - "foot", - "feet" - ], - "symbol": "ft", - "identifier": "feet" - }, - { - "aliases": [ - "yard", - "yards" - ], - "symbol": "yd", - "identifier": "yards" - }, - { - "aliases": [ - "mile", - "miles" - ], - "symbol": "mi", - "identifier": "miles" - }, - { - "aliases": [ - "light year", - "light years" - ], - "symbol": "ly", - "identifier": "lightyears" - }, - { - "aliases": [ - "parsec", - "parsecs" - ], - "symbol": "pc", - "identifier": "parsecs" - }, - { - "aliases": [ - "nautical mile", - "nautical miles" - ], - "symbol": "NM", - "identifier": "nauticalMiles" - }, - { - "aliases": [ - "fathom", - "fathoms" - ], - "symbol": "ftm", - "identifier": "fathoms" - }, - { - "aliases": [ - "furlong", - "furlongs" - ], - "symbol": "fur", - "identifier": "furlongs" - }, - { - "aliases": [ - "pixel", - "pixels" - ], - "symbol": "px", - "identifier": "pixel" - }, - { - "aliases": [ - ], - "symbol": "em", - "identifier": "em" - }, + "frames": [ { "aliases": [ - "pts", - "PostScript point", - "PostScript points" + "frame" ], - "symbol": "pt", - "identifier": "point" + "symbol": "frames", + "identifier": "frames" } ], "area": [ { "aliases": [ + "square km", "square kilometer", "square kilometers", "square kilometre", @@ -1194,6 +1129,7 @@ }, { "aliases": [ + "square m", "square meter", "square meters", "square metre", @@ -1219,6 +1155,7 @@ }, { "aliases": [ + "square cm", "square centimeter", "square centimeters", "square centimetre", @@ -1236,6 +1173,7 @@ }, { "aliases": [ + "square mm", "square millimeter", "square millimeters", "square millimetre", @@ -1253,6 +1191,7 @@ }, { "aliases": [ + "square µm", "square micrometer", "square micrometers", "square micrometre", @@ -1269,6 +1208,7 @@ }, { "aliases": [ + "square in", "square inch", "square inches", "sqin", @@ -1281,6 +1221,7 @@ }, { "aliases": [ + "square ft", "square foot", "square feet", "sqft", @@ -1295,6 +1236,7 @@ }, { "aliases": [ + "square yd", "square yard", "square yards", "sqyard", @@ -1309,6 +1251,7 @@ }, { "aliases": [ + "square mi", "square mile", "square miles", "mi^2", @@ -1348,100 +1291,43 @@ "identifier": "ares" } ], - "power": [ + "mass": [ { "aliases": [ - "watt", - "watts" + "kilogram", + "kilograms" ], - "symbol": "W", - "identifier": "watts" + "symbol": "kg", + "identifier": "kilograms" }, { "aliases": [ - "milliwatt", - "milliwatts" + "gram", + "grams" ], - "symbol": "mW", - "identifier": "milliwatts" + "symbol": "g", + "identifier": "grams" }, { "aliases": [ - "kilowatt", - "kilowatts" + "milligram", + "milligrams" ], - "symbol": "kW", - "identifier": "kilowatts" + "symbol": "mg", + "identifier": "milligrams" }, { "aliases": [ - "megawatt", - "megawatts" + "nanogram", + "nanograms" ], - "symbol": "MW", - "identifier": "megawatts" + "symbol": "ng", + "identifier": "nanograms" }, { "aliases": [ - "gigawatt", - "gigawatts" - ], - "symbol": "GW", - "identifier": "gigawatts" - }, - { - "aliases": [ - "terawatt", - "terawatts" - ], - "symbol": "TW", - "identifier": "terawatts" - }, - { - "aliases": [ - "horsepower" - ], - "symbol": "hp", - "identifier": "horsepower" - } - ], - "mass": [ - { - "aliases": [ - "kilogram", - "kilograms" - ], - "symbol": "kg", - "identifier": "kilograms" - }, - { - "aliases": [ - "gram", - "grams" - ], - "symbol": "g", - "identifier": "grams" - }, - { - "aliases": [ - "milligram", - "milligrams" - ], - "symbol": "mg", - "identifier": "milligrams" - }, - { - "aliases": [ - "nanogram", - "nanograms" - ], - "symbol": "ng", - "identifier": "nanograms" - }, - { - "aliases": [ - "ounce", - "ounces" + "ounce", + "ounces" ], "symbol": "oz", "identifier": "ounces" @@ -1501,177 +1387,416 @@ "identifier": "ouncesTroy" } ], - "duration": [ + "frequency": [ { "aliases": [ - "hour", - "hours", - "hrs", - "h" + "hertz", + "hz" ], - "symbol": "hr", - "identifier": "hours" + "symbol": "Hz", + "identifier": "hertz" }, { "aliases": [ - "second", - "seconds", - "sec", - "secs" + "kilohertz" ], - "symbol": "s", - "identifier": "seconds" + "symbol": "kHz", + "identifier": "kilohertz" }, { "aliases": [ - "minute", - "minutes", - "mins" + "megahertz" ], - "symbol": "min", - "identifier": "minutes" + "symbol": "MHz", + "identifier": "megahertz" }, { "aliases": [ - "days" + "gigahertz" ], - "symbol": "day", - "identifier": "days" + "symbol": "GHz", + "identifier": "gigahertz" }, { "aliases": [ - "weekday", - "weekdays", - "workdays", - "week day", - "week days", - "work days", - "working days", - "working day", - "business day", - "business days" + "terahertz" ], - "symbol": "workday", - "identifier": "weekdays" + "symbol": "THz", + "identifier": "terahertz" }, { "aliases": [ - "weeks" + "millihertz" ], - "symbol": "week", - "identifier": "weeks" + "symbol": "mHz", + "identifier": "millihertz" }, { "aliases": [ - "months" + "microhertz" ], - "symbol": "month", - "identifier": "months" + "symbol": "µHz", + "identifier": "microhertz" }, { "aliases": [ - "years" + "nanohertz" ], - "symbol": "year", - "identifier": "years" + "symbol": "nHz", + "identifier": "nanohertz" + } + ], + "dataStorage": [ + { + "aliases": [ + "byte", + "bytes" + ], + "symbol": "B", + "identifier": "bytes" }, { "aliases": [ - "millisecond", - "milliseconds" + "bit", + "bits" ], - "symbol": "ms", - "identifier": "milliseconds" + "symbol": "bit", + "identifier": "bits" }, { "aliases": [ - "microsecond", - "microseconds" + "yottabyte", + "yottabytes" ], - "symbol": "µs", - "identifier": "microseconds" + "symbol": "YB", + "identifier": "yottabytes" }, { "aliases": [ - "nanosecond", - "nanoseconds" + "zettabyte", + "zettabytes" ], - "symbol": "ns", - "identifier": "nanoseconds" - } - ], - "frames": [ + "symbol": "ZB", + "identifier": "zettabytes" + }, { "aliases": [ - "frame" + "exabyte", + "exabytes" ], - "symbol": "frames", - "identifier": "frames" - } - ], - "frequency": [ + "symbol": "EB", + "identifier": "exabytes" + }, { "aliases": [ - "hertz", - "hz" + "petabyte", + "petabytes" ], - "symbol": "Hz", - "identifier": "hertz" + "symbol": "PB", + "identifier": "petabytes" }, { "aliases": [ - "kilohertz" + "terabyte", + "terabytes", + "TB", + "tb" ], - "symbol": "kHz", - "identifier": "kilohertz" + "symbol": "TB", + "identifier": "terabytes" }, { "aliases": [ - "megahertz" + "gigabyte", + "gigabytes", + "GB", + "gb" ], - "symbol": "MHz", - "identifier": "megahertz" + "symbol": "GB", + "identifier": "gigabytes" }, { "aliases": [ - "gigahertz" + "megabyte", + "megabytes", + "MB", + "mb" ], - "symbol": "GHz", - "identifier": "gigahertz" + "symbol": "MB", + "identifier": "megabytes" }, { "aliases": [ - "terahertz" + "kilobyte", + "kilobytes", + "KB", + "kb" ], - "symbol": "THz", - "identifier": "terahertz" + "symbol": "kB", + "identifier": "kilobytes" }, { "aliases": [ - "millihertz" + "yottabit", + "yottabits", + "Yb" ], - "symbol": "mHz", - "identifier": "millihertz" + "symbol": "Ybit", + "identifier": "yottabits" }, { "aliases": [ - "microhertz" + "zettabit", + "zettabits", + "Zb" ], - "symbol": "µHz", - "identifier": "microhertz" + "symbol": "Zbit", + "identifier": "zettabits" }, { "aliases": [ - "nanohertz" + "exabit", + "exabits", + "Eb" ], - "symbol": "nHz", - "identifier": "nanohertz" + "symbol": "Ebit", + "identifier": "exabits" }, { "aliases": [ + "petabit", + "petabits", + "Pb" ], - "symbol": "fps", - "identifier": "framesPerSecond" + "symbol": "Pbit", + "identifier": "petabits" + }, + { + "aliases": [ + "terabit", + "terabits", + "Tb" + ], + "symbol": "Tbit", + "identifier": "terabits" + }, + { + "aliases": [ + "gigabit", + "gigabits", + "Gb" + ], + "symbol": "Gbit", + "identifier": "gigabits" + }, + { + "aliases": [ + "megabit", + "megabits", + "Mb" + ], + "symbol": "Mbit", + "identifier": "megabits" + }, + { + "aliases": [ + "kilobit", + "kilobits", + "Kb" + ], + "symbol": "kbit", + "identifier": "kilobits" + }, + { + "aliases": [ + "yobibyte", + "yobibytes", + "YiB", + "yib" + ], + "symbol": "YiB", + "identifier": "yobibytes" + }, + { + "aliases": [ + "zebibyte", + "zebibytes", + "ZiB", + "zib" + ], + "symbol": "ZiB", + "identifier": "zebibytes" + }, + { + "aliases": [ + "exbibyte", + "exbibytes", + "EiB", + "eib" + ], + "symbol": "EiB", + "identifier": "exbibytes" + }, + { + "aliases": [ + "pebibyte", + "pebibytes", + "PiB", + "pib" + ], + "symbol": "PiB", + "identifier": "pebibytes" + }, + { + "aliases": [ + "tebibyte", + "tebibytes", + "TiB", + "tib" + ], + "symbol": "TiB", + "identifier": "tebibytes" + }, + { + "aliases": [ + "gibibyte", + "gibibytes", + "GiB", + "gib" + ], + "symbol": "GiB", + "identifier": "gibibytes" + }, + { + "aliases": [ + "mebibyte", + "mebibytes", + "MiB", + "mib" + ], + "symbol": "MiB", + "identifier": "mebibytes" + }, + { + "aliases": [ + "kibibyte", + "kibibytes", + "KiB", + "kib" + ], + "symbol": "KiB", + "identifier": "kibibytes" + }, + { + "aliases": [ + "yobibit", + "yobibits", + "Yibit" + ], + "symbol": "Yib", + "identifier": "yobibits" + }, + { + "aliases": [ + "zebibit", + "zebibits", + "Zibit" + ], + "symbol": "Zib", + "identifier": "zebibits" + }, + { + "aliases": [ + "exbibit", + "exbibits", + "Eibit" + ], + "symbol": "Eib", + "identifier": "exbibits" + }, + { + "aliases": [ + "pebibit", + "pebibits", + "Pibit" + ], + "symbol": "Pib", + "identifier": "pebibits" + }, + { + "aliases": [ + "tebibit", + "tebibits", + "Tibit" + ], + "symbol": "Tib", + "identifier": "tebibits" + }, + { + "aliases": [ + "gibibit", + "gibibits", + "Gibit" + ], + "symbol": "Gib", + "identifier": "gibibits" + }, + { + "aliases": [ + "mebibit", + "mebibits", + "Mibit" + ], + "symbol": "Mib", + "identifier": "mebibits" + }, + { + "aliases": [ + "kibibit", + "kibibits", + "Kibit" + ], + "symbol": "Kib", + "identifier": "kibibits" + } + ], + "amountOfSubstance": [ + { + "aliases": [ + "mole", + "moles", + "mols" + ], + "symbol": "mol", + "identifier": "moles" + }, + { + "aliases": [ + "millimole", + "millimol", + "millimols" + ], + "symbol": "mmol", + "identifier": "millimoles" + }, + { + "aliases": [ + "micromole", + "micromol", + "millimols", + "umol" + ], + "symbol": "µmol", + "identifier": "micromoles" + }, + { + "aliases": [ + "nanomole", + "nanomol", + "nanomols" + ], + "symbol": "nmol", + "identifier": "nanomoles" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/fr.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/fr.lproj/FunctionDescriptions.json index 256e2aa64..c7bebb5b2 100644 --- a/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/fr.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/ios-arm64_x86_64-simulator/SoulverCore.framework/fr.lproj/FunctionDescriptions.json @@ -558,7 +558,7 @@ "identifier": "rateUnitChange" } ], - "tagRelated": [ + "statistics": [ { "identifier": "tagTotal", "prototypeExpressions": [ @@ -590,4 +590,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h index 898b5fa93..3320339e2 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Headers/SoulverCore-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -186,6 +186,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -208,7 +215,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
              @@ -259,7 +265,7 @@ SWIFT_CLASS("_TtC11SoulverCore46VanillaBackgroundEvaluationAndMergingOperation") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) #ifndef SOULVERCORE_SWIFT_H #define SOULVERCORE_SWIFT_H #pragma clang diagnostic push @@ -445,6 +451,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(IBSegueAction) # define IBSegueAction #endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" @@ -467,7 +480,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif -@class NSNumber; /// Subclass of Operation that adds support of asynchronous operations. ///
                diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftdoc b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftdoc index 950affb70..e6f3b59d5 100644 Binary files a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftdoc and b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftinterface b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftinterface index e9bc3c942..6b0674a81 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftinterface +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target arm64-apple-macos10.14.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 950affb70..000000000 Binary files a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface deleted file mode 100644 index e9bc3c942..000000000 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target arm64-apple-macos10.14.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftdoc b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftdoc index 2a9116cbe..dcbee3058 100644 Binary files a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftdoc and b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftinterface b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftinterface index ab707f7ac..31f7f29b8 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) // swift-module-flags: -target x86_64-apple-macos10.14.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore import Foundation @_exported import SoulverCore @@ -119,13 +119,19 @@ public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { case speed case acceleration case temperature + case fuelConsumption + case fuelEconomy case concentrationMass + case amountOfSubstance + case substanceConcentraion case dispersion case dataStorage case dataTransfer case area case frequency case frames + case frameRate + case screenDensity case angle case illuminance case energy @@ -178,9 +184,19 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case acres case ares case hectares + case litersPerKilometer + case litersPer100Kilometers + case kilometersPerLiter + case milesPerImperialGallon + case milesPerGallon case gramsPerLiter case milligramsPerDeciliter case partsPerMillion + case moles + case millimoles + case micromoles + case nanomoles + case molar case picoseconds case nanoseconds case microseconds @@ -237,6 +253,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case nanohertz case framesPerSecond case megameters + case hectokilometers case kilometers case hectometers case decameters @@ -373,6 +390,7 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte case gibibits case mebibits case kibibits + case ppi case pixel case em case point @@ -626,6 +644,10 @@ public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIte extension Swift.Int { public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult } +public struct SalesTax : Swift.Equatable { + public let decimalValue: Foundation.Decimal + public static func == (a: SoulverCore.SalesTax, b: SoulverCore.SalesTax) -> Swift.Bool +} public struct EngineCustomization : Swift.Equatable, Swift.Hashable { public let locale: Foundation.Locale public let calendar: Foundation.Calendar @@ -670,6 +692,17 @@ public struct Percentage : Swift.Equatable { public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection @objc deinit } +public enum StatisticType : Swift.Int, Swift.RawRepresentable { + case total + case average + case count + case median + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} public struct UnitExpression { public let value: Foundation.Decimal public let unit: SoulverCore.SCUnit @@ -835,6 +868,10 @@ public enum LineExpressionAlignment : Swift.String, Swift.Codable { get } } +public struct Resolution { + public let width: Foundation.Decimal + public let height: Foundation.Decimal +} extension Foundation.NSNotification.Name { public static let currenciesUpdateSucceeded: Foundation.Notification.Name public static let currenciesUpdateFailed: Foundation.Notification.Name @@ -931,6 +968,8 @@ public struct LineCollectionArchive : Swift.Codable { public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection @objc deinit } +public struct List { +} public protocol RoutineOwner : AnyObject { func routineCompleted(routine: SoulverCore.Routine) } @@ -1112,8 +1151,8 @@ public struct CustomFunction : Swift.Hashable, Swift.Equatable { } } public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) + public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool public func encode(to encoder: Swift.Encoder) throws public var hashValue: Swift.Int { get @@ -1224,6 +1263,7 @@ extension Swift.String { public static let standardDecimalPoint: Swift.String public static let standardDash: Swift.String public static let standardHash: Swift.String + public static let standardSlash: Swift.String public static let newlineSymbol: Swift.String public var isNewline: Swift.Bool { get @@ -1322,6 +1362,7 @@ public enum TokenType : Swift.CaseIterable { case typeName case conditionalKeyword case conjunctionWord + case otherSpecialWord case function case timezone case substance @@ -1343,16 +1384,21 @@ public enum TokenType : Swift.CaseIterable { case frametime case datespan case dateWord + case pitch case dateQualifier case ordinalSuffix case relativePlaceWord case numberWord + case statisticType case unitExpression case compoundUnitExpression case conditionalExpression case percentage + case salesTax case multiplier case dpSpecifier + case resolution + case list case boolean case rate case functionExpression @@ -1405,6 +1451,15 @@ public enum TokenSubType { case lessThanOrEqualTo case equalTo case notEqualTo + case logicalAndOperator + case logicalOrOperator + case logicalNotOperator + case bitwiseAndOperator + case bitwiseOrOperator + case bitwiseXorOperator + case bitwiseNotOperator + case bitwiseLeftShiftOperator + case bitwiseRightShiftOperator case `false` case `true` case openBracket @@ -1426,6 +1481,8 @@ public enum TokenSubType { case timespanConverter case laptimeConverter case frametimeConverter + case pitchConverter + case midiConverter case timezoneConverter case roundingToDpConverter case roundingUpConverter @@ -1450,6 +1507,11 @@ public enum TokenSubType { case dateQualifierThis case dateQualifierPrevious case relativePlaceWordHere + case statisticWordTotal + case statisticWordAverage + case statisticWordCount + case statisticWordMedian + case otherWordFrom case conjunctionWordAnd case conjunctionWordOr case numberTypeName @@ -1467,6 +1529,8 @@ public enum TokenSubType { case dateTypeName case iso8601TypeName case decimalPlacesTypeName + case midiTypeName + case pitchTypeName case builtInWordFunction case customWordFunction case conditionalKeywordIf @@ -1505,6 +1569,9 @@ indirect public enum EvaluationResult { case timespan(SoulverCore.Timespan) case laptime(SoulverCore.Laptime) case frametime(SoulverCore.Frametime) + case resolution(SoulverCore.Resolution) + case salesTax(SoulverCore.SalesTax) + case pitch(SoulverCore.Pitch) case error(SoulverCore.EvaluationError) case variable(SoulverCore.Variable) case unit(SoulverCore.SCUnit) @@ -1512,6 +1579,8 @@ indirect public enum EvaluationResult { case datespan(SoulverCore.Datespan) case place(SoulverCore.Place) case customType(SoulverCore.CustomType) + case statisticType(SoulverCore.StatisticType) + case list(SoulverCore.List) case pending case failed case none @@ -1562,6 +1631,12 @@ extension SoulverCore.Token { public var hexValue: Swift.Int? { get } + public var resolutionValue: SoulverCore.Resolution? { + get + } + public var salesTaxValue: SoulverCore.SalesTax? { + get + } public var percentageValue: SoulverCore.Percentage { get } @@ -1589,6 +1664,9 @@ extension SoulverCore.Token { public var placeValue: SoulverCore.Place? { get } + public var pitchValue: SoulverCore.Pitch? { + get + } public var timeZoneValue: Foundation.TimeZone? { get } @@ -1598,6 +1676,9 @@ extension SoulverCore.Token { public var timespanValue: SoulverCore.Timespan? { get } + public var booleanValue: Swift.Bool { + get + } public var laptimeValue: SoulverCore.Laptime? { get } @@ -1613,6 +1694,9 @@ extension SoulverCore.Token { public var dynamicVariable: SoulverCore.DynamicVariable? { get } + public var statisticType: SoulverCore.StatisticType? { + get + } public var isLineReference: Swift.Bool { get } @@ -1812,6 +1896,9 @@ extension Foundation._NSRange { public struct TokenTypeSet { public init(types: Swift.Set) public let types: Swift.Set + public var count: Swift.Int { + get + } public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool public static let randomWords: SoulverCore.TokenTypeSet } @@ -2026,7 +2113,7 @@ public struct LineSheetDelta { public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? @objc deinit } -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { +public struct EngineFeatureFlags : Swift.Codable { public var calendarCalculations: Swift.Bool public var units: Swift.Bool public var wordFunctions: Swift.Bool @@ -2040,16 +2127,26 @@ public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codabl public var seeksFutureDate: Swift.Bool public var leftToRightOperatorEvaluation: Swift.Bool public var remoteQueries: Swift.Bool + public var bitwiseOperators: Swift.Bool + public var musicalConversions: Swift.Bool + public var disabledUnits: Swift.Set? + public var disabledFunctions: Swift.Set? public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) + public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, bitwiseOperators: Swift.Bool, musicalConversions: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: Swift.Encoder) throws +} +extension SoulverCore.EngineFeatureFlags : Swift.Equatable, Swift.Hashable { + public static func == (lhs: SoulverCore.EngineFeatureFlags, rhs: SoulverCore.EngineFeatureFlags) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) public var hashValue: Swift.Int { get } } +public typealias PitchNotation = Swift.String +public struct Pitch : Swift.Equatable { + public static func == (a: SoulverCore.Pitch, b: SoulverCore.Pitch) -> Swift.Bool +} public struct Fraction : Swift.Equatable { public let decimalValue: Foundation.Decimal public let unitValue: SoulverCore.SCUnit? @@ -2141,6 +2238,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case reversedPercentOf case reversedPercentOff case reversedPercentOn + case salesTaxIn case xToYIsWhatPercentage case xToYIsWhatMultiplier case xToY @@ -2175,6 +2273,7 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case intervalBetweenLaptimes case framesBetweenFrametimes case intervalBetweenFrametimes + case unitConversion case unitInUnitExpression case unitInTimespan case rateUnitChange @@ -2192,12 +2291,15 @@ public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable case monthlyLoanRepayment case compoundInterest case compoundInterestCompoundingMonthly - case valueOfDollarsInYear + case dollarWorthAdjustedForInflation + case predictedDollarWorthGivenInflation + case screenDensity + case wavelengthOfFrequencyOfSound + case frequencyOfWavelengthOfSound case pythagorusSeekingHypotenuse case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount + case statisticOfList + case statisticOfTag case scrubNumberWithSpecifiedRange public var returnType: SoulverCore.TokenType? { get @@ -2444,6 +2546,8 @@ extension SoulverCore.UnitType : Swift.Hashable {} extension SoulverCore.UnitType : Swift.RawRepresentable {} extension SoulverCore.UnitIdentifier : Swift.Equatable {} extension SoulverCore.UnitIdentifier : Swift.Hashable {} +extension SoulverCore.StatisticType : Swift.Equatable {} +extension SoulverCore.StatisticType : Swift.Hashable {} extension SoulverCore.ApparentLineType : Swift.Equatable {} extension SoulverCore.ApparentLineType : Swift.Hashable {} extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index 2a9116cbe..000000000 Binary files a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index ab707f7ac..000000000 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Modules/SoulverCore.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,2491 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) -// swift-module-flags: -target x86_64-apple-macos10.14.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore -import Foundation -@_exported import SoulverCore -import Swift -import _Concurrency -final public class VariableList : Swift.CustomDebugStringConvertible, Swift.Equatable, Swift.Hashable { - public init() - convenience public init(variableList: SoulverCore.VariableList) - convenience public init(variables: [SoulverCore.Variable]) - final public func provideDefinitionsForValuesWith(definitionBlock: (SoulverCore.RawExpression) -> SoulverCore.CalculationResult) - final public func allVariables() -> [SoulverCore.Variable] - final public func variablesExludingLineReferences() -> [SoulverCore.Variable] - final public func singleWordVariables() -> [SoulverCore.Variable] - final public func multiWordVariables(reverseSortByLength: Swift.Bool) -> [SoulverCore.Variable] - final public func setVariable(_ variable: SoulverCore.Variable) - final public func setVariables(_ variables: [SoulverCore.Variable]) - final public func clearVariable(withName name: Swift.String) - final public var debugDescription: Swift.String { - get - } - public static func == (lhs: SoulverCore.VariableList, rhs: SoulverCore.VariableList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - @objc deinit - final public var hashValue: Swift.Int { - get - } -} -public struct Substance : Swift.Equatable { - public let name: Swift.String - public let value: Foundation.Decimal - public var rateValue: SoulverCore.UnitRate { - get - } - public static func == (a: SoulverCore.Substance, b: SoulverCore.Substance) -> Swift.Bool -} -public enum DatespanType { - case season - case quarter - public static func == (a: SoulverCore.DatespanType, b: SoulverCore.DatespanType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum DatespanSubtype { - case summer - case autumn - case winter - case spring - case firstQuarter - case secondQuarter - case thirdQuarter - case fourthQuarter - public static func == (a: SoulverCore.DatespanSubtype, b: SoulverCore.DatespanSubtype) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datespan : Swift.Equatable { - public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool -} -public struct CalculationResult : Swift.Equatable { - public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String) - public let evaluationResult: SoulverCore.EvaluationResult - public let stringValue: Swift.String - public static func == (a: SoulverCore.CalculationResult, b: SoulverCore.CalculationResult) -> Swift.Bool -} -extension SoulverCore.CalculationResult { - public var isEmptyResult: Swift.Bool { - get - } - public var isPendingResult: Swift.Bool { - get - } - public var isFailedResult: Swift.Bool { - get - } -} -public let EmptyResult: SoulverCore.CalculationResult -public let PendingResult: SoulverCore.CalculationResult -public let FailedResult: SoulverCore.CalculationResult -public typealias UID = Swift.String -public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible { - public let UID: SoulverCore.UID - public init(UID: SoulverCore.UID) - public var description: Swift.String { - get - } - public static func == (a: SoulverCore.LineReference, b: SoulverCore.LineReference) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public protocol Evaluator { - func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult -} -public struct Laptime : Swift.Equatable { - public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool -} -public struct WhileEscape { - public init(maximumCycles: Swift.Int) - public mutating func increment() - public var shouldBreak: Swift.Bool { - get - } -} -public enum UnitType : Swift.String, Swift.CaseIterable, Swift.Codable { - case length - case mass - case duration - case currency - case volume - case speed - case acceleration - case temperature - case concentrationMass - case dispersion - case dataStorage - case dataTransfer - case area - case frequency - case frames - case angle - case illuminance - case energy - case power - case pressure - case electricCurrent - case electricCharge - case electricPotential - case electricResistance - case other - public var label: Swift.String { - get - } - public var baseUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public var associatedOtherUnits: [SoulverCore.UnitIdentifier] { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitType] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitType] { - get - } - public var rawValue: Swift.String { - get - } -} -public enum UnitIdentifier : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case metersPerSecondSquared - case gravity - case degrees - case arcMinutes - case arcSeconds - case radians - case gradians - case revolutions - case squareMegameters - case squareKilometers - case squareMeters - case squareCentimeters - case squareMillimeters - case squareMicrometers - case squareNanometers - case squareInches - case squareFeet - case squareYards - case squareMiles - case acres - case ares - case hectares - case gramsPerLiter - case milligramsPerDeciliter - case partsPerMillion - case picoseconds - case nanoseconds - case microseconds - case milliseconds - case seconds - case minutes - case hours - case days - case weekdays - case weeks - case months - case years - case coulombs - case megaampereHours - case kiloampereHours - case ampereHours - case milliampereHours - case microampereHours - case megaamperes - case kiloamperes - case amperes - case milliamperes - case microamperes - case megavolts - case kilovolts - case volts - case millivolts - case microvolts - case megaohms - case kiloohms - case ohms - case milliohms - case microohms - case joules - case kilojoules - case megajoules - case gigajoules - case kilocalories - case calories - case wattSeconds - case wattMinutes - case wattHours - case kilowattHours - case megawattHours - case gigawattHours - case terawattHours - case terahertz - case gigahertz - case megahertz - case kilohertz - case hertz - case millihertz - case microhertz - case nanohertz - case framesPerSecond - case megameters - case kilometers - case hectometers - case decameters - case meters - case decimeters - case centimeters - case millimeters - case micrometers - case nanometers - case picometers - case inches - case feet - case yards - case miles - case scandinavianMiles - case lightyears - case astronomicalUnits - case nauticalMiles - case fathoms - case furlongs - case parsecs - case lux - case kilograms - case grams - case decigrams - case centigrams - case milligrams - case micrograms - case nanograms - case picograms - case ounces - case pounds - case stones - case metricTons - case shortTons - case carats - case ouncesTroy - case slugs - case terawatts - case gigawatts - case megawatts - case kilowatts - case watts - case milliwatts - case microwatts - case nanowatts - case picowatts - case femtowatts - case horsepower - case newtonsPerMetersSquared - case gigapascals - case megapascals - case kilopascals - case hectopascals - case inchesOfMercury - case bars - case millibars - case millimetersOfMercury - case poundsForcePerSquareInch - case metersPerSecond - case kilometersPerHour - case milesPerHour - case knots - case kelvin - case celsius - case fahrenheit - case megaliters - case kiloliters - case liters - case milliliters - case microliters - case centiliters - case deciliters - case cubicKilometers - case cubicMeters - case cubicDecimeters - case cubicCentimeters - case cubicMillimeters - case cubicInches - case cubicFeet - case cubicYards - case cubicMiles - case acreFeet - case bushels - case teaspoons - case tablespoons - case fluidOunces - case cups - case pints - case quarts - case gallons - case imperialTeaspoons - case imperialTablespoons - case imperialFluidOunces - case imperialPints - case imperialQuarts - case imperialGallons - case metricCups - case metricTeaspoons - case metricTablespoons - case metricAUTablespoons - case bytes - case bits - case nibbles - case yottabytes - case zettabytes - case exabytes - case petabytes - case terabytes - case gigabytes - case megabytes - case kilobytes - case yottabits - case zettabits - case exabits - case petabits - case terabits - case gigabits - case megabits - case kilobits - case yobibytes - case zebibytes - case exbibytes - case pebibytes - case tebibytes - case gibibytes - case mebibytes - case kibibytes - case yobibits - case zebibits - case exbibits - case pebibits - case tebibits - case gibibits - case mebibits - case kibibits - case pixel - case em - case point - case frames - case bytesPerSecond - case bitsPerSecond - case yottabytesPerSecond - case zettabytesPerSecond - case exabytesPerSecond - case petabytesPerSecond - case terabytesPerSecond - case gigabytesPerSecond - case megabytesPerSecond - case kilobytesPerSecond - case yottabitsPerSecond - case zettabitsPerSecond - case exabitsPerSecond - case petabitsPerSecond - case terabitsPerSecond - case gigabitsPerSecond - case megabitsPerSecond - case kilobitsPerSecond - case yobibytesPerSecond - case zebibytesPerSecond - case exbibytesPerSecond - case pebibytesPerSecond - case tebibytesPerSecond - case gibibytesPerSecond - case mebibytesPerSecond - case kibibytesPerSecond - case yobibitsPerSecond - case zebibitsPerSecond - case exbibitsPerSecond - case pebibitsPerSecond - case tebibitsPerSecond - case gibibitsPerSecond - case mebibitsPerSecond - case kibibitsPerSecond - case currencyADA - case currencyAED - case currencyAFN - case currencyALL - case currencyAMD - case currencyANG - case currencyAOA - case currencyARS - case currencyAUD - case currencyAWG - case currencyAZN - case currencyBAM - case currencyBBD - case currencyBCH - case currencyBDT - case currencyBGN - case currencyBHD - case currencyBIF - case currencyBMD - case currencyBNB - case currencyBND - case currencyBOB - case currencyBRL - case currencyBSD - case currencyBSV - case currencyBTC - case currencyBTN - case currencyBWP - case currencyBYN - case currencyBZD - case currencyCAD - case currencyCDF - case currencyCHF - case currencyCLF - case currencyCLP - case currencyCNY - case currencyCOP - case currencyCRC - case currencyCUC - case currencyCVE - case currencyCZK - case currencyDASH - case currencyDJF - case currencyDKK - case currencyDOGE - case currencyDOP - case currencyDZD - case currencyEGP - case currencyEOS - case currencyERN - case currencyETB - case currencyETC - case currencyETH - case currencyEUR - case currencyFJD - case currencyFKP - case currencyGBP - case currencyGEL - case currencyGGP - case currencyGHS - case currencyGIP - case currencyGMD - case currencyGNF - case currencyGTQ - case currencyGYD - case currencyHKD - case currencyHNL - case currencyHRK - case currencyHTG - case currencyHUF - case currencyIDR - case currencyILS - case currencyIMP - case currencyINR - case currencyIQD - case currencyIRR - case currencyISK - case currencyJEP - case currencyJMD - case currencyJOD - case currencyJPY - case currencyKES - case currencyKGS - case currencyKHR - case currencyKMF - case currencyKPW - case currencyKRW - case currencyKWD - case currencyKYD - case currencyKZT - case currencyLAK - case currencyLBP - case currencyLKR - case currencyLRD - case currencyLSL - case currencyLTC - case currencyLTL - case currencyLVL - case currencyLYD - case currencyMAD - case currencyMDL - case currencyMGA - case currencyMKD - case currencyMMK - case currencyMNT - case currencyMOP - case currencyMRO - case currencyMUR - case currencyMVR - case currencyMWK - case currencyMXN - case currencyMYR - case currencyMZN - case currencyNAD - case currencyNEO - case currencyNGN - case currencyNIO - case currencyNOK - case currencyNPR - case currencyNZD - case currencyOMR - case currencyPAB - case currencyPEN - case currencyPGK - case currencyPHP - case currencyPKR - case currencyPLN - case currencyPYG - case currencyQAR - case currencyRON - case currencyRSD - case currencyRUB - case currencyRWF - case currencySAR - case currencySBD - case currencySCR - case currencySDG - case currencySEK - case currencySGD - case currencySHP - case currencySLL - case currencySOS - case currencySOL - case currencyAVAX - case currencyLUNA - case currencyDOT - case currencyMATIC - case currencySHIB - case currencyTether - case currencySRD - case currencySTD - case currencySVC - case currencySYP - case currencySZL - case currencyTHB - case currencyTJS - case currencyTMT - case currencyTND - case currencyTOP - case currencyTRX - case currencyTRY - case currencyTTD - case currencyTWD - case currencyTZS - case currencyUAH - case currencyUGX - case currencyUSD - case currencyUYU - case currencyUZS - case currencyVEF - case currencyVND - case currencyVUV - case currencyWST - case currencyXAF - case currencyXAG - case currencyXAU - case currencyXCD - case currencyXDR - case currencyXLM - case currencyXMR - case currencyXOF - case currencyXPF - case currencyXRP - case currencyYER - case currencyZAR - case currencyZMK - case currencyZMW - case currencyZWL - case currencySatoshi - case currencyDollarCents - case currencyBritishPence - case currencyEuroCents - case undefined - public var unit: SoulverCore.SCUnit { - get - } - public var unitType: SoulverCore.UnitType { - get - } - public var motherUnitIdentifier: SoulverCore.UnitIdentifier { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -extension Swift.Int { - public func compare(_ other: Swift.Int) -> Foundation.ComparisonResult -} -public struct EngineCustomization : Swift.Equatable, Swift.Hashable { - public let locale: Foundation.Locale - public let calendar: Foundation.Calendar - public var timeZone: Foundation.TimeZone { - get - } - public var customUnits: [SoulverCore.CustomUnit] - public var currencyUnits: [SoulverCore.UnitDescription] - public var customSymbols: [SoulverCore.UnitSymbolReplacement] - public var customPlaces: [SoulverCore.Place] - public var customFunctions: [SoulverCore.CustomFunction] - public var dynamicVariables: [SoulverCore.DynamicVariable] - public var holidays: [SoulverCore.Holiday] - public var unitSystem: SoulverCore.UnitMeasurementSystem - public var featureFlags: SoulverCore.EngineFeatureFlags - public init(locale: Foundation.Locale, calendar: Foundation.Calendar? = nil) - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.EngineCustomization, rhs: SoulverCore.EngineCustomization) -> Swift.Bool - public static var standard: SoulverCore.EngineCustomization { - get - } - public func convertTo(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.EngineCustomization { - public static func standardWith(locale: Foundation.Locale) -> SoulverCore.EngineCustomization - public func isOperator(text: Swift.String) -> Swift.Bool - public func longFormNameFor(unit: SoulverCore.SCUnit) -> Swift.String? -} -extension SoulverCore.EngineCustomization : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct Percentage : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Percentage, b: SoulverCore.Percentage) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class LineCollectionTrimmer { - public class func trimmingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -public struct UnitExpression { - public let value: Foundation.Decimal - public let unit: SoulverCore.SCUnit -} -extension SoulverCore.UnitExpression : Swift.Comparable { - public static func == (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool - public static func < (lhs: SoulverCore.UnitExpression, rhs: SoulverCore.UnitExpression) -> Swift.Bool -} -extension SoulverCore.UnitExpression : Swift.Hashable { - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var prefersZeroDP: Swift.Bool { - get - } - public var prefersThreeDP: Swift.Bool { - get - } -} -public typealias RawExpression = Swift.String -extension Foundation.Locale { - public static let chineseLocalePrefix: Swift.String - public var isChinese: Swift.Bool { - get - } - public var isTraditionalChinese: Swift.Bool { - get - } - public var isSimplifiedChinese: Swift.Bool { - get - } - public var isAussieSpeaking: Swift.Bool { - get - } - public var isRussian: Swift.Bool { - get - } - public var isEngish: Swift.Bool { - get - } - public var isGerman: Swift.Bool { - get - } -} -public struct Frametime : Swift.Equatable { - public static func == (a: SoulverCore.Frametime, b: SoulverCore.Frametime) -> Swift.Bool -} -public struct Place : Swift.Hashable, Swift.Equatable { - public enum PlaceType : Swift.Equatable, Swift.Hashable { - case country(country: SoulverCore.Country) - case city(city: SoulverCore.City) - case airport(airport: SoulverCore.Airport) - case timeZoneAbbreviation - case unspecified - public static func == (a: SoulverCore.Place.PlaceType, b: SoulverCore.Place.PlaceType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(name: Swift.String, aliases: [Swift.String]?, timeZone: Foundation.TimeZone, type: SoulverCore.Place.PlaceType = .unspecified) - public let name: Swift.String - public let aliases: [Swift.String]? - public let timeZone: Foundation.TimeZone - public let type: SoulverCore.Place.PlaceType - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Place, b: SoulverCore.Place) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionCompletions { - public class func completionsFor(textFragment: Swift.String, charIndex: Swift.Int, onLineAtIndex lineIndex: SoulverCore.LineIndex, in lineCollection: SoulverCore.LineCollection) -> [Swift.String] - @objc deinit -} -final public class Line : Swift.Codable { - final public var expression: Swift.String - final public var behaviour: SoulverCore.LineCalculationBehaviour - final public var skipStatistics: Swift.Bool - final public var lineReference: SoulverCore.LineReference? - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var expressionAlignment: SoulverCore.LineExpressionAlignment - final public var result: SoulverCore.CalculationResult? - final public var parsedExpression: SoulverCore.TokenList? - final public var apparentLineType: SoulverCore.ApparentLineType? - final public var lineIndex: SoulverCore.LineIndex? - final public var explicitDependencies: Foundation.IndexSet? - final public var variableEnvironment: SoulverCore.VariableList? - final public var rawResult: Swift.String { - get - } - final public var formattedResult: Swift.String { - get - } - convenience public init(_ expression: SoulverCore.RawExpression) - public init() - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - @objc deinit -} -extension SoulverCore.Line { - final public var isSubtotal: Swift.Bool { - get - } - final public var isHeading: Swift.Bool { - get - } -} -extension SoulverCore.Line { - final public var declaredVariable: SoulverCore.Variable? { - get - } - final public func referencesInExpressionTo(variable: SoulverCore.Variable) -> [SoulverCore.Token] - final public var indexesReferencedInExpression: Foundation.IndexSet { - get - } -} -extension SoulverCore.Line : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.Line, rhs: SoulverCore.Line) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - public static var EmptyLine: SoulverCore.Line { - get - } - final public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Line : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -public enum ApparentLineType { - case regular - case comment - case header - case variableDeclaration - public static func == (a: SoulverCore.ApparentLineType, b: SoulverCore.ApparentLineType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum LineCalculationBehaviour : Swift.String, Swift.Codable { - case evaluatesExpression - case sumsLinesAbove - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public enum LineExpressionAlignment : Swift.String, Swift.Codable { - case left - case center - case right - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -extension Foundation.NSNotification.Name { - public static let currenciesUpdateSucceeded: Foundation.Notification.Name - public static let currenciesUpdateFailed: Foundation.Notification.Name - public static let currenciesUpdateStarted: Foundation.Notification.Name -} -public enum CurrencySet : Swift.String { - case popular - case realWorld - case realWorldPlusCrypto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct CurrencySourceCredentials { - public init(currencyLayerKey: Swift.String? = nil, nomicsKey: Swift.String? = nil, acqualiaKey: Swift.String? = nil) -} -@_hasMissingDesignatedInitializers final public class CurrencyList { - public static let shared: SoulverCore.CurrencyList - final public var rateRefreshingCredentials: SoulverCore.CurrencySourceCredentials - final public var defaultCurrencySet: SoulverCore.CurrencySet { - get - set - } - final public func refreshRates(completionHandler: ((Swift.Bool) -> Swift.Void)? = nil) - final public func saveCurrenciesTo(url: Foundation.URL) - final public func loadCurrenciesFrom(url: Foundation.URL) throws - @objc deinit -} -public typealias VariableName = Swift.String -public typealias VariableValue = Swift.String -public enum VariableType : Swift.String, Swift.RawRepresentable, Swift.Codable { - case undefined - case local - case global - case lineReference - case relativeLineReference - case tag - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Variable : Swift.Codable { - public let name: SoulverCore.VariableName - public let value: SoulverCore.VariableValue? - public init(name: SoulverCore.VariableName, value: SoulverCore.VariableValue?, type: SoulverCore.VariableType = .undefined) - public var definition: SoulverCore.EvaluationResult? - public var type: SoulverCore.VariableType - public var isPhrase: Swift.Bool? - public var declaringLineIndex: SoulverCore.LineIndex? - public var relatedLineIndexes: Foundation.IndexSet? - public var representedResults: [SoulverCore.EvaluationResult]? - public func encode(to encoder: Swift.Encoder) throws - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Variable : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.Variable, rhs: SoulverCore.Variable) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias Scalar = Swift.String -public struct UnitRate { - public let value: Foundation.Decimal - public let ofUnit: SoulverCore.SCUnit? - public let perUnit: SoulverCore.SCUnit -} -extension SoulverCore.UnitRate : Swift.Comparable { - public static func < (lhs: SoulverCore.UnitRate, rhs: SoulverCore.UnitRate) -> Swift.Bool - public static func == (a: SoulverCore.UnitRate, b: SoulverCore.UnitRate) -> Swift.Bool -} -extension SoulverCore.UnitRate : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.UnitExpression : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -public struct LineCollectionArchive : Swift.Codable { - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws -} -@_hasMissingDesignatedInitializers public class LineCollectionArchiver { - public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, baseVariables: SoulverCore.VariableList?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection - public class func archiveFor(lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollectionArchive - public class func lineCollectionFrom(archive: SoulverCore.LineCollectionArchive, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale) -> SoulverCore.LineCollection - @objc deinit -} -public protocol RoutineOwner : AnyObject { - func routineCompleted(routine: SoulverCore.Routine) -} -public protocol Routine : AnyObject { - var routineOwner: SoulverCore.RoutineOwner? { get set } - func go() - func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -extension SoulverCore.Routine { - public func goWithCompletionBlock(completion: @escaping (() -> Swift.Void)) -} -@_hasMissingDesignatedInitializers final public class StaticResouces { - public static var localizedStandardPlaces: [SoulverCore.Place] { - get - } - public static var localizedCountries: [SoulverCore.Country] { - get - } - public static var localizedCities: [SoulverCore.City] { - get - } - @objc deinit -} -public typealias DynamicVariableDefinitonBlock = (_ variableList: SoulverCore.VariableList) -> SoulverCore.CalculationResult -public struct DynamicVariable : Swift.Hashable, Swift.Equatable { - public enum DynamicVariableType { - case undefined - case distantValue - case subsheet - public static func == (a: SoulverCore.DynamicVariable.DynamicVariableType, b: SoulverCore.DynamicVariable.DynamicVariableType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public init(symbol: Swift.String, type: SoulverCore.DynamicVariable.DynamicVariableType = .undefined, handler: @escaping SoulverCore.DynamicVariableDefinitonBlock) - public let type: SoulverCore.DynamicVariable.DynamicVariableType - public let name: Swift.String - public let handler: SoulverCore.DynamicVariableDefinitonBlock - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.DynamicVariable, rhs: SoulverCore.DynamicVariable) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public class EvaluationResultFormatter { - public init(customization: SoulverCore.EngineCustomization, formattingPreferences: SoulverCore.FormattingPreferences?) - public func format(result: SoulverCore.EvaluationResult) -> SoulverCore.CalculationResult - @objc deinit -} -public typealias TokenIndex = Swift.Int -public struct TokenIndexPath : Swift.Equatable { - public let tokenIndex: SoulverCore.TokenIndex - public let lineIndex: SoulverCore.LineIndex - public init(tokenIndex: SoulverCore.TokenIndex, lineIndex: SoulverCore.LineIndex) - public static func == (a: SoulverCore.TokenIndexPath, b: SoulverCore.TokenIndexPath) -> Swift.Bool -} -extension Foundation.NumberFormatter { - open func string(from number: Foundation.Decimal) -> Swift.String? -} -public enum DatestampType { - case clockTime - case utcTime - case nakedDayOfMonth - case nakedMonth - case nakedYear - case dayAndMonth - case monthAndYear - case dayMonthYear - case dayMonthYearWithClockTimeDownToSeconds - case dayMonthYearWithClockTimeDownToSubSeconds - case weekDay - case weekdayWithClockTime - case relativeWeekday - case now - case today - case tomorrow - case yesterday - case nextWeek - case nextMonth - case nextYear - case lastWeek - case lastYear - case lastMonth - case thisWeek - case thisYear - case thisMonth - case quarter - case unspecified - public static func == (a: SoulverCore.DatestampType, b: SoulverCore.DatestampType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Datestamp : Swift.Equatable { - public init(date: Foundation.Date, type: SoulverCore.DatestampType, timezone: Foundation.TimeZone, hasExplicitTimeComponent: Swift.Bool, hasExplicitTimeZone: Swift.Bool, isAmbiguous: Swift.Bool = false) - public let date: Foundation.Date - public var type: SoulverCore.DatestampType - public var timezone: Foundation.TimeZone - public let hasExplicitTimeComponent: Swift.Bool - public let hasExplicitTimeZone: Swift.Bool - public let isAmbiguous: Swift.Bool - public static func == (a: SoulverCore.Datestamp, b: SoulverCore.Datestamp) -> Swift.Bool -} -public struct ExportOptions { - public var plainTextSeparator: Swift.String - public var useUnformattedResults: Swift.Bool - public var substituteLineReferences: Swift.Bool - public var includeAnswers: Swift.Bool - public init() -} -@_hasMissingDesignatedInitializers public class LineCollectionExporter { - public class func jsonDataFor(lineCollection: SoulverCore.LineCollection) -> Foundation.Data? - public class func csvDataFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Foundation.Data? - public class func textFor(lineCollection: SoulverCore.LineCollection, options: SoulverCore.ExportOptions) -> Swift.String - @objc deinit -} -final public class Calculator { - final public var formattingPreferences: SoulverCore.FormattingPreferences? - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var customFunctionEvaluator: SoulverCore.CustomFunctionEvaluator? - public init(customization: SoulverCore.EngineCustomization) - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> SoulverCore.CalculationResult - final public func calculate(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil, completionHandler: @escaping ((SoulverCore.CalculationResult) -> Swift.Void)) - @objc deinit -} -public protocol CustomFunctionEvaluator { - func evaluate(customFunction: SoulverCore.CustomFunction, with parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -} -extension SoulverCore.Calculator { - final public func dateFor(_ expression: Swift.String, with variableList: SoulverCore.VariableList? = nil) -> (date: Foundation.Date, result: SoulverCore.CalculationResult)? -} -extension SoulverCore.Calculator { - public static var basic: SoulverCore.Calculator { - get - } -} -extension Foundation.IndexSet { - public func isJust(_ integer: Swift.Int) -> Swift.Bool - public var onlyFirst: Foundation.IndexSet { - get - } - public var removingFirstIndex: Foundation.IndexSet { - get - } - public var smartDescription: Swift.String { - get - } - public var secondLastIndex: Swift.Int? { - get - } -} -public typealias CustomFunctionHandler = (_ parameters: [SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult -public typealias PrototypePlaceholder = Swift.String -public struct CustomType : Swift.Hashable, Swift.Equatable { - public init(prototypePlaceholder: SoulverCore.PrototypePlaceholder, symbols: [Swift.String], associatedObject: Any?) - public let prototypePlaceholder: SoulverCore.PrototypePlaceholder - public let symbols: [Swift.String] - public let associatedObject: Any? - public static func == (lhs: SoulverCore.CustomType, rhs: SoulverCore.CustomType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct CustomFunction : Swift.Hashable, Swift.Equatable { - public init(prototypeExpression: SoulverCore.PrototypeExpression, handler: @escaping SoulverCore.CustomFunctionHandler) - public var backgroundHandler: SoulverCore.CustomFunctionHandler? - public var customTypes: [SoulverCore.CustomType]? - public var aliases: [SoulverCore.PrototypeExpression]? - public var prerequisiteTypes: SoulverCore.TokenTypeSet? - public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct Airport : Swift.Codable, Swift.Hashable, Swift.Equatable { - public static func == (a: SoulverCore.Airport, b: SoulverCore.Airport) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct Token : Swift.Equatable, Swift.Hashable, Swift.Comparable { - public static func == (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public static func < (lhs: SoulverCore.Token, rhs: SoulverCore.Token) -> Swift.Bool - public let type: SoulverCore.TokenType - public let subType: SoulverCore.TokenSubType - public var stringValue: Swift.String - public var range: Foundation.NSRange - public var subtokens: SoulverCore.TokenList? - public var metadata: SoulverCore.TokenMetadata? - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.Token : Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList : Swift.Equatable, Swift.Hashable { - public static func == (lhs: SoulverCore.TokenList, rhs: SoulverCore.TokenList) -> Swift.Bool - final public func hash(into hasher: inout Swift.Hasher) - final public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers final public class TokenList { - final public var tokens: [SoulverCore.Token] - final public var count: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var flattenedTokens: [SoulverCore.Token] { - get - } - final public subscript(index: Swift.Int) -> SoulverCore.Token { - get - set(newValue) - } - final public func tokensOfType(_ tokenType: SoulverCore.TokenType) -> [SoulverCore.Token] - final public func allTokensOfType(_ tokenType: SoulverCore.TokenType, excludingTokensWhereParentIsIn parentTokenTypes: SoulverCore.TokenTypeSet = TokenTypeSet(types: [])) -> [SoulverCore.Token] - final public func allTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func onlyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func anyTypesHaveBeenPresentIn(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool - final public func tokenBefore(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBe type: SoulverCore.TokenType, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenAfter(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - final public func tokenBefore(_ token: SoulverCore.Token, mustBeIn types: SoulverCore.TokenTypeSet, ignoreWhitespace: Swift.Bool = true, ignoreTypes: SoulverCore.TokenTypeSet? = nil) -> SoulverCore.Token? - @objc deinit -} -extension SoulverCore.TokenList { - final public var rebuiltExpression: SoulverCore.RawExpression { - get - } -} -extension SoulverCore.TokenList : Swift.CustomDebugStringConvertible { - final public var debugDescription: Swift.String { - get - } -} -extension SoulverCore.TokenList { - final public func tokenFor(tokenIndex: SoulverCore.TokenIndex) -> SoulverCore.Token? - final public func tokenIndexFor(token: SoulverCore.Token) -> SoulverCore.TokenIndex? - final public func tokenFor(characterIndex: Swift.Int, ignoreWhitespace: Swift.Bool = true) -> SoulverCore.Token? - final public func findParentOf(childToken: SoulverCore.Token, in tokenList: SoulverCore.TokenList, inRange limitToRange: Swift.ClosedRange? = nil) -> SoulverCore.Token? -} -public typealias TokenListEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void -public typealias TokenListStoppableEnumerationBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?, inout Swift.Bool) -> Swift.Void -public typealias TokenListLeftAndRightEnumerationBlock = (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void -public typealias TokenListTestBlock = (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Bool -extension SoulverCore.TokenList { - final public func enumerateSublists(reversed: Swift.Bool, includeSelf: Swift.Bool, enumerationBlock: (_ subList: SoulverCore.TokenList, _ parent: SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokens(reversed: Swift.Bool = true, enumerationBlock: (SoulverCore.Token, SoulverCore.TokenList, SoulverCore.Token?) -> Swift.Void) - final public func enumerateAllTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, ignoreWhitespace: Swift.Bool, ensureBothSides: Swift.Bool, enumerationBlock: (SoulverCore.Token, SoulverCore.Token?, SoulverCore.Token?, SoulverCore.TokenList) -> Swift.Void) - final public func enumerateTokens(reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfType(_ type: SoulverCore.TokenType, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) - final public func enumerateTokensOfTypes(_ types: SoulverCore.TokenTypeSet, reversed: Swift.Bool, enumerationBlock: (_ token: SoulverCore.Token, _ stop: inout Swift.Bool) -> Swift.Void) -} -extension SoulverCore.TokenList { - final public func containsToken(token: SoulverCore.Token) -> Swift.Bool - final public func scanForTokenWithTypes(_ tokenTypes: SoulverCore.TokenTypeSet, ignoreParentsWithTypes parentTypes: SoulverCore.TokenTypeSet? = nil) -> Swift.Bool -} -extension SoulverCore.TokenList { - final public func typePrecheck(_ type: SoulverCore.TokenType) -> Swift.Bool - final public func typesPrecheck(_ types: SoulverCore.TokenTypeSet) -> Swift.Bool -} -extension SoulverCore.TokenList { - public static var EmptyList: SoulverCore.TokenList -} -extension Swift.String { - public func removingThousandsSeparators(locale: Foundation.Locale) -> Swift.String - public func wrappedIn(_ character: Swift.String) -> Swift.String - public func bracketed() -> Swift.String - public func invertedCommad() -> Swift.String - public func spaced() -> Swift.String - public static var standardEasternEuropeanThousandsSeparator: Swift.String - public static var standardWhitespace: Swift.String - public static var nonBreakingSpace: Swift.String - public static let standardDecimalPoint: Swift.String - public static let standardDash: Swift.String - public static let standardHash: Swift.String - public static let newlineSymbol: Swift.String - public var isNewline: Swift.Bool { - get - } - public var isSingleWhitespace: Swift.Bool { - get - } - public var isLowercased: Swift.Bool { - get - } - public var isUppercased: Swift.Bool { - get - } - public var isMixedCase: Swift.Bool { - get - } - public func replaceCharactersFromSet(characterSet: Foundation.CharacterSet, replacementString: Swift.String = "") -> Swift.String - public var whitespaceStandardized: Swift.String { - get - } - public var whitespaceRemoved: Swift.String { - get - } - public var whitespaceTrimmed: Swift.String { - get - } - public func firstWord() -> Swift.String? - public func lastWord() -> Swift.String? -} -extension Swift.String { - public var completeStringRange: Foundation.NSRange { - get - } - public var completeRange: Swift.Range { - get - } - public var dirtyWordCount: Swift.Int { - get - } - public var dirtyLineCount: Swift.Int { - get - } - public var newLineCount: Swift.Int { - get - } - public var isNotEmpty: Swift.Bool { - get - } - public func removingPrefix(_ prefix: Swift.String) -> Swift.String - public func removingSuffix(_ suffix: Swift.String) -> Swift.String - public func addingPrefix(_ prefix: Swift.String) -> Swift.String - public func addingSuffix(_ suffix: Swift.String) -> Swift.String - public func characterBefore(_ index: Swift.String.Index) -> Swift.Character? - public func characterAfter(_ index: Swift.String.Index) -> Swift.Character? - public var lastCharaterIndex: Swift.String.Index? { - get - } -} -extension Swift.String { - public func enumerateCharacters(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public func enumerateRangesOf(pattern: Swift.String, reverse: Swift.Bool, invoking body: @escaping (Foundation.NSRange) -> Swift.Void) - public func enumerateParagraphs(invoking body: @escaping (Swift.String, inout Swift.Bool) -> Swift.Void) - public var isSingleWord: Swift.Bool { - get - } - public var isPhrase: Swift.Bool { - get - } -} -extension Swift.String { - public func containsPattern(_ regex: Swift.String) -> Swift.Bool - public func capturedGroups(with pattern: Foundation.NSRegularExpression) -> [Foundation.NSRange] - public func capturedGroups(withRegex pattern: Swift.String) -> [Foundation.NSRange] - public func erasingPattern(_ pattern: Swift.String) -> Swift.String - public var trailingDigit: Swift.Int? { - get - } -} -extension Swift.String { - public func containsCharacter(_ element: Swift.Character) -> Swift.Bool - public func rangesOf(string: Swift.String) -> [Swift.Range] - public func rangesOf(strings: [Swift.String]) -> [Swift.Range] -} -public enum TokenType : Swift.CaseIterable { - case number - case `operator` - case percentageSymbol - case converterSymbol - case unit - case bracket - case whitespace - case variable - case dynamicVariable - case equals - case pi - case typeName - case conditionalKeyword - case conjunctionWord - case function - case timezone - case substance - case comma - case dot - case colon - case hash - case questionMark - case label - case fraction - case binaryNumber - case hexadecimalNumber - case converter - case unixTimestamp - case datestamp - case iso8601 - case timespan - case laptime - case frametime - case datespan - case dateWord - case dateQualifier - case ordinalSuffix - case relativePlaceWord - case numberWord - case unitExpression - case compoundUnitExpression - case conditionalExpression - case percentage - case multiplier - case dpSpecifier - case boolean - case rate - case functionExpression - case wordFunction - case variableDeclaration - case declaredVariable - case variableAssignmentOperator - case subexpression - case wordComment - case hashtag - case bracketComment - case slashComment - case legacyQuotationComment - case labelExpression - case url - case customType - case error - case pending - case failed - case remoteQuery - case scalar - case unidentified - case customInternal - case dateComponents - case literal - public static func == (a: SoulverCore.TokenType, b: SoulverCore.TokenType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public typealias AllCases = [SoulverCore.TokenType] - public static var allCases: [SoulverCore.TokenType] { - get - } - public var hashValue: Swift.Int { - get - } -} -public enum TokenSubType { - case additionOperator - case subtractionOperator - case multiplicationOperator - case divisionOperator - case reverseDivisionOperator - case reverseSubtractionOperator - case powerOperator - case modOperator - case lesserOf - case greaterOf - case greaterThan - case greaterThanOrEqualTo - case lessThan - case lessThanOrEqualTo - case equalTo - case notEqualTo - case `false` - case `true` - case openBracket - case closeBracket - case numberConverter - case fractionConverter - case multiplierConveter - case binaryConverter - case hexadecimalConverter - case percentageConverter - case percentageApplier - case unitConverter - case unitExpressionConverter - case rateConverter - case dateConverter - case iso8601Converter - case feetAndInchesConverter - case timestampConverter - case timespanConverter - case laptimeConverter - case frametimeConverter - case timezoneConverter - case roundingToDpConverter - case roundingUpConverter - case roundingConverter - case roundingDownConverter - case dateWordToday - case dateWordNow - case dateWordTomorrow - case dateWordYesterday - case dateWordDayOfWeek - case dateWordMonthOfYear - case dateWordQuarterOfYear - case dateWordAm - case dateWordPm - case dateWordMidday - case dateWordMidnight - case dateWordSummer - case dateWordAutumn - case dateWordWinter - case dateWordSpring - case dateQualifierNext - case dateQualifierThis - case dateQualifierPrevious - case relativePlaceWordHere - case conjunctionWordAnd - case conjunctionWordOr - case numberTypeName - case fractionTypeName - case multiplierTypeName - case binaryTypeName - case hexadecimalTypeName - case percentageTypeName - case rateTypeName - case timestampTypeName - case timespanTypeName - case feetAndInchesTypeName - case laptimeTypeName - case frametimeTypeName - case dateTypeName - case iso8601TypeName - case decimalPlacesTypeName - case builtInWordFunction - case customWordFunction - case conditionalKeywordIf - case conditionalKeywordThen - case conditionalKeywordElse - case conditionalKeywordUnless - case unitMismatchError - case infinityError - case divideByZeroError - case imaginaryNumberError - case unsupportedUnitMultiplication - case unsupportedRate - case badDivision - case unknownError - case notSpecified - public static func == (a: SoulverCore.TokenSubType, b: SoulverCore.TokenSubType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -indirect public enum EvaluationResult { - case rawString(Swift.String) - case decimal(Foundation.Decimal) - case percentage(SoulverCore.Percentage) - case fraction(SoulverCore.Fraction) - case binary(Swift.Int) - case hex(Swift.Int) - case multiplier(SoulverCore.Multiplier) - case boolean(Swift.Bool) - case unitExpression(SoulverCore.UnitExpression) - case rate(SoulverCore.UnitRate) - case date(SoulverCore.Datestamp) - case iso8601(SoulverCore.iso8601) - case timestamp(SoulverCore.Timestamp) - case timespan(SoulverCore.Timespan) - case laptime(SoulverCore.Laptime) - case frametime(SoulverCore.Frametime) - case error(SoulverCore.EvaluationError) - case variable(SoulverCore.Variable) - case unit(SoulverCore.SCUnit) - case substance(SoulverCore.Substance) - case datespan(SoulverCore.Datespan) - case place(SoulverCore.Place) - case customType(SoulverCore.CustomType) - case pending - case failed - case none - public var stringValue: Swift.String? { - get - } - public var equivalentTokenType: SoulverCore.TokenType { - get - } - public var decimalValue: Foundation.Decimal? { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var substanceValue: SoulverCore.Substance? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } -} -extension SoulverCore.EvaluationResult : Swift.Equatable { - public static func == (lhs: SoulverCore.EvaluationResult, rhs: SoulverCore.EvaluationResult) -> Swift.Bool -} -extension SoulverCore.Token { - public var number: Foundation.Decimal? { - get - } - public var scalar: SoulverCore.Scalar? { - get - } - public var decimalValue: Foundation.Decimal { - get - } - public var binaryValue: Swift.Int? { - get - } - public var hexValue: Swift.Int? { - get - } - public var percentageValue: SoulverCore.Percentage { - get - } - public var unitExpressionValue: SoulverCore.UnitExpression? { - get - } - public var unitValue: SoulverCore.SCUnit? { - get - } - public var calendarComponentValue: Foundation.Calendar.Component? { - get - } - public var rateValue: SoulverCore.UnitRate? { - get - } - public var datestampValue: SoulverCore.Datestamp? { - get - } - public var datespanValue: SoulverCore.Datespan? { - get - } - public var dateComponentsValue: Foundation.DateComponents? { - get - } - public var placeValue: SoulverCore.Place? { - get - } - public var timeZoneValue: Foundation.TimeZone? { - get - } - public var fractionValue: SoulverCore.Fraction? { - get - } - public var timespanValue: SoulverCore.Timespan? { - get - } - public var laptimeValue: SoulverCore.Laptime? { - get - } - public var frametimeValue: SoulverCore.Frametime? { - get - } - public var errorValue: SoulverCore.EvaluationError? { - get - } - public var variable: SoulverCore.Variable? { - get - } - public var dynamicVariable: SoulverCore.DynamicVariable? { - get - } - public var isLineReference: Swift.Bool { - get - } - public var isVariable: Swift.Bool { - get - } - public var functionIdentifier: SoulverCore.FunctionIdentifier? { - get - } -} -final public class LineCollection { - public typealias EvaluatedLinesHandler = (_ evaluatedIndexes: Foundation.IndexSet) -> Swift.Void - final public var lineSheet: SoulverCore.LineSheet { - get - set - } - final public var customization: SoulverCore.EngineCustomization { - get - } - final public var variableList: SoulverCore.VariableList? { - get - set - } - final public var defaultLineFormattingPreferences: SoulverCore.FormattingPreferences? { - get - set - } - final public var expressionBeautificationOptions: SoulverCore.ExpressionBeautificationOptions? { - get - set - } - public init(customization: SoulverCore.EngineCustomization) - final public var deepCopy: SoulverCore.LineCollection { - get - } - final public func beginChanges() - final public func endChangesWith(evaluationHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?, dependenciesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler?) - @discardableResult - final public func addLine(_ expression: Swift.String = "") -> SoulverCore.Line - final public func setLinesWithExpressions(_ expressions: [SoulverCore.RawExpression]) - final public func insertLineBelow(lineIndex: SoulverCore.LineIndex, with expression: Swift.String) - final public func insertLineAt(lineIndex: SoulverCore.LineIndex, withExpression expression: Swift.String) - final public func insert(line: SoulverCore.Line, at lineIndex: SoulverCore.LineIndex) - final public func moveLineAt(lineIndex: SoulverCore.LineIndex, toLineIndex: SoulverCore.LineIndex) - final public func removeLineAt(lineIndex: SoulverCore.LineIndex) - final public func replaceLineAt(lineIndex: SoulverCore.LineIndex, with newLine: SoulverCore.Line) - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set(newValue) - } - final public subscript(safe index: SoulverCore.LineIndex) -> SoulverCore.Line? { - get - } - final public func setExpression(expression: Swift.String, forLineAt index: SoulverCore.LineIndex) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences) - final public func setFormatting(formattingPreferences: SoulverCore.FormattingPreferences?, forLineAt index: SoulverCore.LineIndex) - final public func setAlignment(alignment: SoulverCore.LineExpressionAlignment, forLineAt index: SoulverCore.LineIndex) - final public func setBehaviour(behaviour: SoulverCore.LineCalculationBehaviour, forLineAt index: SoulverCore.LineIndex) - final public func evaluateAll() - final public func evaluateLinesAt(indexes: Foundation.IndexSet, dependenciesUpdatedHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil) - @discardableResult - final public func makeReferenceForLineAt(lineIndex: SoulverCore.LineIndex) -> SoulverCore.LineReference - final public func clearReferenceForLineAt(lineIndex: SoulverCore.LineIndex) - @discardableResult - final public func observeEvaluationWith(handler: @escaping SoulverCore.LineCollection.EvaluatedLinesHandler) -> SoulverCore.LineCollectionObserverToken - final public func remove(observer: SoulverCore.LineCollectionObserverToken) - final public var quickSum: SoulverCore.CalculationResult? { - get - } - final public var quickAverage: SoulverCore.CalculationResult? { - get - } - final public var quickCount: SoulverCore.CalculationResult? { - get - } - final public func quickSumOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickAverageOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - final public func quickCountOf(indexes: Foundation.IndexSet) -> SoulverCore.CalculationResult? - @discardableResult - final public func convertToLocale(_ toLocale: Foundation.Locale) -> Swift.Bool - final public func set(customization: SoulverCore.EngineCustomization) - final public func performChanges(performBlock: ((SoulverCore.LineCollection) -> Swift.Void)) -> SoulverCore.LineCollectionStateTicket - @discardableResult - final public func revertToStateWith(ticket: SoulverCore.LineCollectionStateTicket) -> SoulverCore.LineSheetDelta? - final public func clearStates() - final public var lineCount: Swift.Int { - get - } - final public func isValidIndex(_ lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func areValidIndexes(_ indexes: Foundation.IndexSet) -> Swift.Bool - final public var allIndexes: Foundation.IndexSet { - get - } - final public var lastIndex: Swift.Int { - get - } - final public var firstIndex: Swift.Int { - get - } - final public var isEmpty: Swift.Bool { - get - } - final public var lines: [SoulverCore.Line] { - get - } - final public func linesAtIndexes(indexes: Foundation.IndexSet) -> [SoulverCore.Line] - final public func variableListForLineAtIndex(_ lineIndex: SoulverCore.LineIndex) -> SoulverCore.VariableList - final public func tokenFor(tokenIndexPath: SoulverCore.TokenIndexPath) -> SoulverCore.Token? - final public func isValidLineReference(UID: SoulverCore.UID, onLineAt lineIndex: SoulverCore.LineIndex) -> Swift.Bool - final public func lineForLineReference(lineReference: SoulverCore.LineReference) -> SoulverCore.Line? - final public func lineFor(_ lineReferenceVariable: SoulverCore.Variable) -> SoulverCore.Line? - final public func formattedDefinitionOf(inlineVariable: SoulverCore.Variable) -> Swift.String? - @discardableResult - final public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet - final public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String - final public var customEvaluator: SoulverCore.Evaluator? { - get - set - } - final public var remoteQueryEvaluator: SoulverCore.RemoteQueryEvaluator? - final public func addSubsheet(reference: SoulverCore.LineReference? = nil) -> SoulverCore.LineReference - final public func set(content lineSheet: SoulverCore.LineSheet, forSubsheetWith reference: SoulverCore.LineReference) - final public func contentForSubsheetWith(reference: SoulverCore.LineReference) -> SoulverCore.LineSheet? - final public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference - @objc deinit -} -public typealias LineCollectionStateTicket = Swift.String -extension SoulverCore.LineCollection : Swift.CustomDebugStringConvertible { - public typealias MultiLineText = Swift.String - final public class func textViewReadyLineCollectionWith(customization: SoulverCore.EngineCustomization) -> SoulverCore.LineCollection - convenience public init(multiLineText: SoulverCore.LineCollection.MultiLineText, customization: SoulverCore.EngineCustomization? = nil) - public static var basic: SoulverCore.LineCollection { - get - } - final public var debugDescription: Swift.String { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionObserverToken : Swift.Hashable, Swift.Equatable { - public static func == (lhs: SoulverCore.LineCollectionObserverToken, rhs: SoulverCore.LineCollectionObserverToken) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.LineCollection { - final public var indexesOfTimeDependentLines: Foundation.IndexSet { - get - } - final public func indexesOfLinesDependentOn(variables: [SoulverCore.Variable]) -> Foundation.IndexSet - final public var indexesOfPendingLines: Foundation.IndexSet { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionIterator : Swift.IteratorProtocol { - public typealias Element = SoulverCore.Line - public func next() -> SoulverCore.Line? - @objc deinit -} -extension SoulverCore.LineCollection : Swift.Sequence { - final public func makeIterator() -> SoulverCore.LineCollectionIterator - public typealias Element = SoulverCore.LineCollectionIterator.Element - public typealias Iterator = SoulverCore.LineCollectionIterator -} -extension SoulverCore.LineCollection { - final public var text: SoulverCore.LineCollection.MultiLineText { - get - } -} -public protocol RemoteQueryEvaluator { - func evaluate(expression: Swift.String, forLineWith reference: SoulverCore.LineReference, in lineCollection: SoulverCore.LineCollection) -} -public struct ExpressionBeautificationOptions { - public var quickOperators: Swift.Bool - public var autoThousandsSeparators: Swift.Bool - public var allowsOrphanedThousandsSeparators: Swift.Bool - public var padStandardOperators: Swift.Bool - public var fancyTimes: Swift.Bool - public var fancyMinus: Swift.Bool - public var collapseSpaces: Swift.Bool - public var formatsSlashCommentsWithSpaces: Swift.Bool - public static var defaults: SoulverCore.ExpressionBeautificationOptions { - get - } - public init() -} -public struct Timestamp : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Timestamp, b: SoulverCore.Timestamp) -> Swift.Bool -} -extension Foundation._NSRange { - public static var zero: Foundation.NSRange { - get - } -} -public struct TokenTypeSet { - public init(types: Swift.Set) - public let types: Swift.Set - public func contains(_ tokenType: SoulverCore.TokenType) -> Swift.Bool - public static let randomWords: SoulverCore.TokenTypeSet -} -public enum LineStyle : Swift.Int { - case normal - case heading - case label - case comment - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -final public class LineStyler { - public static let MARKDOWN_HEADING_CHARACTER: Swift.String - public static let HEADING_INDICATOR: Swift.String - public static let COMMENT_INDICATOR: Swift.String - public static let LABEL_INDICATOR: Swift.String - public init() - final public func lineStyleFor(expression: Swift.String) -> SoulverCore.LineStyle - final public func style(expression: Swift.String, with style: SoulverCore.LineStyle) -> Swift.String - final public func entireLabelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func labelRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingIndicatorRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public func headingRangeIn(_ expression: Swift.String) -> Foundation.NSRange? - final public var defaultLabel: Swift.String { - get - } - @objc deinit -} -public enum UnitSymbolReplacementPosition : Swift.String, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable { - case before - case beforeWithSpace - case after - case afterWithSpace - public var description: Swift.String { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.UnitSymbolReplacementPosition] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.UnitSymbolReplacementPosition] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct UnitSymbolReplacement : Swift.Equatable, Swift.Hashable, Swift.Codable { - public let originalSymbol: Swift.String - public let replacementSymbol: Swift.String - public let position: SoulverCore.UnitSymbolReplacementPosition - public init(original: Swift.String, replacement: Swift.String, position: SoulverCore.UnitSymbolReplacementPosition = .before) - public static func standardCustomSymbolsFor(locale: Foundation.Locale) -> [SoulverCore.UnitSymbolReplacement] - public static func == (a: SoulverCore.UnitSymbolReplacement, b: SoulverCore.UnitSymbolReplacement) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct CustomUnit : Swift.Hashable, Swift.Equatable, Swift.Codable { - public let name: Swift.String - public let definition: Foundation.Decimal - public let equivalentUnit: SoulverCore.UnitIdentifier - public let legacyDefinition: Swift.String? - public init(name: Swift.String, definition: Foundation.Decimal, equivalentUnit: SoulverCore.UnitIdentifier) - public init(from decoder: Swift.Decoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.CustomUnit, b: SoulverCore.CustomUnit) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionFuser { - public class func fusingTokensOfTypes(_ tokenTypeSet: SoulverCore.TokenTypeSet, from lineCollection: SoulverCore.LineCollection) -> SoulverCore.LineCollection - @objc deinit -} -extension Swift.Array where Element : Swift.Equatable { - public func doesNotContain(_ element: Element) -> Swift.Bool -} -extension Swift.Collection { - public var isNotEmpty: Swift.Bool { - get - } -} -extension Swift.Array { - public subscript(safe index: Swift.Array.Index) -> Element? { - get - } - public var lastIndex: Swift.Int? { - get - } - public func isValid(index: Swift.Int) -> Swift.Bool - public mutating func trim(where predicate: (Element) throws -> Swift.Bool) - public mutating func move(from oldIndex: Swift.Array.Index, to newIndex: Swift.Array.Index) - public mutating func extract(_ shouldExtract: (Element) -> Swift.Bool) -> [Element] -} -infix operator ~ : AdditionPrecedence -public struct WordFunctionArgument { - public let matchedToken: SoulverCore.Token - public let functionArgument: SoulverCore.EvaluationResult -} -@_hasMissingDesignatedInitializers public class FunctionSubstitutionUtility { - public class func functionArgumentsForCustomFunction(token: SoulverCore.Token) -> [SoulverCore.WordFunctionArgument]? - @objc deinit -} -public let UntokenizedLineReference: Swift.String -public enum UnitMeasurementSystem : Swift.String, Swift.RawRepresentable, Swift.Equatable { - case customaryUS - case imperial - case metric - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct Multiplier : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public static func == (a: SoulverCore.Multiplier, b: SoulverCore.Multiplier) -> Swift.Bool -} -open class StandardEvaluator : SoulverCore.Evaluator { - public init(customization: SoulverCore.EngineCustomization) - open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult - public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList - public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression - public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult - public func evaluationResultFor(string: Swift.String, with variables: SoulverCore.VariableList) -> SoulverCore.EvaluationResult - @objc deinit -} -public protocol TokenMetadata { -} -public struct URLTokenMetadata : SoulverCore.TokenMetadata { - public var url: Foundation.URL -} -public struct DynamicVariableTokenMetadata : SoulverCore.TokenMetadata { - public let dynamicVariable: SoulverCore.DynamicVariable - public let value: SoulverCore.CalculationResult -} -public enum SIThreshold : Swift.String { - case septillion - case sextillion - case quintillion - case quadrillion - case trillion - case billion - case million - case hundredThousand - case thousand - case hecto - case deca - case centi - case milli - case micro - case nano - case pico - case femto - case atto - case zetto - case yocto - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } -} -public struct LineSheetDelta { - public let indexesAdded: Foundation.IndexSet - public let indexesDeleted: Foundation.IndexSet - public let indexesModified: Foundation.IndexSet - public var isSingleLineEdit: Swift.Bool { - get - } -} -@_hasMissingDesignatedInitializers public class LineCollectionEnumerator { - public typealias EnumerationExpression = Swift.String - public typealias EnumerationResult = Swift.String - public enum ReferenceSubstituionPolicy { - case dontSubstitue - case formattedResult - case plainTextReference - case markdownLinkStyle - public static func == (a: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy, b: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public enum ResultFormatting { - case formatted - case raw - public static func == (a: SoulverCore.LineCollectionEnumerator.ResultFormatting, b: SoulverCore.LineCollectionEnumerator.ResultFormatting) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public struct LineCollectionEnumerationOptions { - public var referenceSubstitutionPolicy: SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy - public var resultFormatting: SoulverCore.LineCollectionEnumerator.ResultFormatting - public var reversed: Swift.Bool - public init() - } - public typealias LineCollectionStringEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public typealias LineCollectionModelEnumerationHandler = ((SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: (SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult, inout Swift.Bool) -> Swift.Void) - public class func enumerateModelsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in modelHandler: (SoulverCore.LineIndex, SoulverCore.TokenList, SoulverCore.CalculationResult?, inout Swift.Bool) -> Swift.Void) - public class func enumerateStringsIn(lineCollection: SoulverCore.LineCollection, with options: SoulverCore.LineCollectionEnumerator.LineCollectionEnumerationOptions = LineCollectionEnumerationOptions(), in handler: ((SoulverCore.LineIndex, SoulverCore.LineCollectionEnumerator.EnumerationExpression, SoulverCore.LineCollectionEnumerator.EnumerationResult) -> T?)) -> T? - @objc deinit -} -public struct EngineFeatureFlags : Swift.Equatable, Swift.Hashable, Swift.Codable { - public var calendarCalculations: Swift.Bool - public var units: Swift.Bool - public var wordFunctions: Swift.Bool - public var variableDeclarations: Swift.Bool - public var unitDeclarations: Swift.Bool - public var hexAndBinary: Swift.Bool - public var cookingSubstances: Swift.Bool - public var hashTags: Swift.Bool - public var bracketComments: Swift.Bool - public var inAmbiguityPreferSomethingToNothing: Swift.Bool - public var seeksFutureDate: Swift.Bool - public var leftToRightOperatorEvaluation: Swift.Bool - public var remoteQueries: Swift.Bool - public init() - public init(units: Swift.Bool, wordFunctions: Swift.Bool, variableDeclarations: Swift.Bool, bracketComments: Swift.Bool, calendarCalculations: Swift.Bool, leftToRightOperatorEvaluation: Swift.Bool, inAmbiguityPreferSomethingToNothing: Swift.Bool) - public init(from decoder: Swift.Decoder) throws - public static func == (a: SoulverCore.EngineFeatureFlags, b: SoulverCore.EngineFeatureFlags) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } -} -public struct Fraction : Swift.Equatable { - public let decimalValue: Foundation.Decimal - public let unitValue: SoulverCore.SCUnit? - public static func == (a: SoulverCore.Fraction, b: SoulverCore.Fraction) -> Swift.Bool -} -@_hasMissingDesignatedInitializers public class SCUnit : Swift.Equatable, Swift.Hashable, Swift.CustomDebugStringConvertible { - final public let identifier: SoulverCore.UnitIdentifier - final public let symbol: Swift.String - public var baseUnitValue: Foundation.Decimal { - get - } - public var baseUnit: SoulverCore.SCUnit { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (lhs: SoulverCore.SCUnit, rhs: SoulverCore.SCUnit) -> Swift.Bool - open class func baseUnit() -> SoulverCore.SCUnit - public var debugDescription: Swift.String { - get - } - @objc deinit - public var hashValue: Swift.Int { - get - } -} -extension SoulverCore.SCUnit { - public var unitType: SoulverCore.UnitType { - get - } -} -public class LineCollectionReducer { - public var inflectCustomUnits: Swift.Bool - public init(lineCollection: SoulverCore.LineCollection) - public var returnValue: SoulverCore.CalculationResult { - get - } - public var locallyDefinedVariables: [SoulverCore.Variable] { - get - } - public struct CustomDefinitions { - public let customVariables: [SoulverCore.Variable] - public let customUnits: [SoulverCore.CustomUnit] - public let customPlaces: [SoulverCore.Place] - } - public var customDefinitions: SoulverCore.LineCollectionReducer.CustomDefinitions { - get - } - @objc deinit -} -public typealias PrivateUnicodeSymbol = Swift.String -@_hasMissingDesignatedInitializers public class SingleCharacterUIDGenerator { - public class func isUID(symbol: SoulverCore.PrivateUnicodeSymbol) -> Swift.Bool - @objc deinit -} -extension Foundation.Decimal { - public var doubleValue: Swift.Double { - get - } -} -public enum FunctionIdentifier : Swift.String, Swift.CaseIterable, Swift.Codable, Swift.RawRepresentable { - case halfOf - case lesserOf - case greaterOf - case midpoint - case proportionsFindNumerator - case proportionsFindDenominator - case remainder - case makeRandomNumber - case gcd - case lcm - case squareRoot - case cubedRoot - case nthRoot - case nthLog - case nthLogReversed - case asMultiplierOf - case percentOf - case percentOff - case percentOn - case isPercentOfWhat - case isPercentOffWhat - case isPercentOnWhat - case isPercentOfWhatClassic - case isPercentOffWhatClassic - case isPercentOnWhatClassic - case isWhatPercentOf - case isWhatPercentOff - case isWhatPercentOn - case reversedPercentOf - case reversedPercentOff - case reversedPercentOn - case xToYIsWhatPercentage - case xToYIsWhatMultiplier - case xToY - case exponentialGrowth - case exponentialDecay - case timeRequiredForExponentialChange - case growthOverExponentialChange - case calendarUnitBetweenDates - case inclusiveCalendarUnitBetweenDates - case intervalBetweenDates - case inclusiveIntervalBetweenDates - case calendarUnitToDate - case calendarUnitSinceDate - case calendarUnitInDate - case calendarUnitToDatespan - case calendarUnitInDatespan - case calendarUnitExpressionAgo - case calendarUnitExpressionBeforeDate - case calendarUnitExpressionAfterDate - case halfwayBetweenDates - case weekdayAfterTimespan - case weekNumberOnDate - case weekOfYear - case dayOfWeekOnDate - case timeInTimezone - case dateInTimezone - case differenceBetweenTimezones - case generateTimestamp - case formFrametime - case framesToFrametime - case intervalBetweenTimestamps - case intervalBetweenLaptimes - case framesBetweenFrametimes - case intervalBetweenFrametimes - case unitInUnitExpression - case unitInTimespan - case rateUnitChange - case rateForADuration - case substanceWeightToVolumeConversion - case densityOfSubstance - case presentValue - case returnOnInvestmentAfter - case returnOnInvestment - case totalInterestOnLoanRepayment - case annualInterestOnLoanRepayment - case monthlyInterestOnLoanRepayment - case totalLoanRepayment - case annualLoanRepayment - case monthlyLoanRepayment - case compoundInterest - case compoundInterestCompoundingMonthly - case valueOfDollarsInYear - case pythagorusSeekingHypotenuse - case pythagorusSeekingOtherSide - case tagTotal - case tagAverage - case tagCount - case scrubNumberWithSpecifiedRange - public var returnType: SoulverCore.TokenType? { - get - } - public init?(rawValue: Swift.String) - public typealias AllCases = [SoulverCore.FunctionIdentifier] - public typealias RawValue = Swift.String - public static var allCases: [SoulverCore.FunctionIdentifier] { - get - } - public var rawValue: Swift.String { - get - } -} -public struct Country : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let name: Swift.String - public let capital: Swift.String - public let capitalCityTimezoneID: Swift.String? - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.Country, b: SoulverCore.Country) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -public struct City : Swift.Codable, Swift.Equatable, Swift.Hashable { - public let identifier: Swift.String - public let name: Swift.String - public let timezone_id: Swift.String - public var timeZone: Foundation.TimeZone? { - get - } - public static func == (a: SoulverCore.City, b: SoulverCore.City) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -@_hasMissingDesignatedInitializers public class LocaleProvider { - public class func localeWith(identifier: Swift.String) -> Foundation.Locale - @objc deinit -} -public enum EvaluationError : Swift.Error { - case UnitMismatch - case UnsupportedUnitMultiplication - case UnsupportedRate - case Infinity - case ImaginaryNumber - case DivideByZero - case BadDivision - case Other - public static func == (a: SoulverCore.EvaluationError, b: SoulverCore.EvaluationError) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public enum TokenListForm : Swift.Equatable { - case singleNumber(value: Foundation.Decimal) - case singleUnitExpression(value: SoulverCore.UnitExpression) - case singleDatestamp(value: SoulverCore.Datestamp) - case conversion(fromUnit: SoulverCore.SCUnit, toUnit: SoulverCore.SCUnit, quantity: Foundation.Decimal) - case dateSeeking(startDate: SoulverCore.Datestamp, timespan: SoulverCore.Timespan, direction: Foundation.Calendar.SearchDirection) - case unitUntilDateSeeking(unit: SoulverCore.SCUnit, toDate: SoulverCore.Datestamp) - case intervalBetweenDatesSeeking(startDate: SoulverCore.Datestamp, endDate: SoulverCore.Datestamp, unit: SoulverCore.SCUnit?) - case timeAtPlaceSeeking(place: SoulverCore.Place) - case timeDifferenceBetweenPlacesSeeking(firstPlace: SoulverCore.Place, secondPlace: SoulverCore.Place) - case timeConversionToPlace(fromDate: SoulverCore.Datestamp, toPlace: SoulverCore.Place) - case other - public static func == (a: SoulverCore.TokenListForm, b: SoulverCore.TokenListForm) -> Swift.Bool -} -public struct TokenListMetadata { - public let form: SoulverCore.TokenListForm -} -extension SoulverCore.TokenList { - final public var metadata: SoulverCore.TokenListMetadata { - get - } -} -public struct NotationPreferences : Swift.Equatable, Swift.Hashable { - public enum NotationStyle { - case auto - case on - case off - public static func == (a: SoulverCore.NotationPreferences.NotationStyle, b: SoulverCore.NotationPreferences.NotationStyle) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } - } - public var notationStyle: SoulverCore.NotationPreferences.NotationStyle - public var upperNotationThreshold: SoulverCore.SIThreshold - public var lowerNotationThreshold: SoulverCore.SIThreshold - public init(notationStyle: SoulverCore.NotationPreferences.NotationStyle, upperNotationThreshold: SoulverCore.SIThreshold, lowerNotationThreshold: SoulverCore.SIThreshold) - public static var off: SoulverCore.NotationPreferences { - get - } - public static func == (a: SoulverCore.NotationPreferences, b: SoulverCore.NotationPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct FormattingPreferences : Swift.Codable, Swift.Equatable, Swift.Hashable { - public static var maximumDp: Swift.Int - public var dp: Swift.Int - public var thousandsSeparatorDisabled: Swift.Bool - public var currencyFormattingDisabled: Swift.Bool - public var notationPreferences: SoulverCore.NotationPreferences - public var referencesTakeFormattedValue: Swift.Bool - public var fractionizeWherePossible: Swift.Bool - public init() - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public static func == (a: SoulverCore.FormattingPreferences, b: SoulverCore.FormattingPreferences) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public struct UnitDescription : Swift.Hashable, Swift.Codable { - public init(unit: SoulverCore.SCUnit, symbol: Swift.String, aliases: [Swift.String]) - public let symbol: Swift.String - public let aliases: [Swift.String] - public let associatedUnit: SoulverCore.SCUnit - public init(from decoder: Swift.Decoder) throws - public func encode(to encoder: Swift.Encoder) throws - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.UnitDescription, b: SoulverCore.UnitDescription) -> Swift.Bool - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpression = Swift.String -public enum PrototypeExpressionMatchType { - case matchLiteralString - case matchTokenType - case matchUnitType - public static func == (a: SoulverCore.PrototypeExpressionMatchType, b: SoulverCore.PrototypeExpressionMatchType) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public typealias PrototypeExpressionMatchTypeHandler = (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType -@_hasMissingDesignatedInitializers public class PrototypeExpressionGenerator { - public class func prototypeStringFrom(expression: SoulverCore.RawExpression, matchTypeHandler: (SoulverCore.Token) -> SoulverCore.PrototypeExpressionMatchType) -> SoulverCore.PrototypeExpression - @objc deinit -} -extension Swift.String { - public func foundationLocalized() -> Swift.String - public func localized(bundle: Foundation.Bundle = .main) -> Swift.String -} -public struct Holiday : Swift.Hashable, Swift.Equatable, Swift.Codable { - public init(day: Swift.Int, month: Swift.Int, year: Swift.Int) - public let day: Swift.Int - public let month: Swift.Int - public let year: Swift.Int - public var description: Swift.String? - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: SoulverCore.Holiday, b: SoulverCore.Holiday) -> Swift.Bool - public func encode(to encoder: Swift.Encoder) throws - public var hashValue: Swift.Int { - get - } - public init(from decoder: Swift.Decoder) throws -} -extension SoulverCore.Holiday { - public func isOnSameDayAs(otherHoliday: SoulverCore.Holiday) -> Swift.Bool -} -@objc @_inheritsConvenienceInitializers open class AsynchronousOperation : Foundation.Operation { - @objc override dynamic public var isAsynchronous: Swift.Bool { - @objc get - } - @objc override dynamic public var isExecuting: Swift.Bool { - @objc get - } - @objc override dynamic public var isFinished: Swift.Bool { - @objc get - } - @objc override dynamic public func start() - @objc override dynamic open func main() - public func finish() - public enum State : Swift.String { - case ready - case executing - case finished - public init?(rawValue: Swift.String) - public typealias RawValue = Swift.String - public var rawValue: Swift.String { - get - } - } - public var state: SoulverCore.AsynchronousOperation.State { - get - set - } - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers public class ResultContextualMetadata { - public class func humanReadableMetadataFor(formattedResult: SoulverCore.CalculationResult, customization: SoulverCore.EngineCustomization) -> Swift.String? - @objc deinit -} -public struct iso8601 : Swift.Equatable { - public let datestamp: SoulverCore.Datestamp - public static func == (a: SoulverCore.iso8601, b: SoulverCore.iso8601) -> Swift.Bool -} -public struct Timespan : Swift.Equatable { - public let dateComponents: Foundation.DateComponents - public static func == (a: SoulverCore.Timespan, b: SoulverCore.Timespan) -> Swift.Bool -} -public typealias LineIndex = Swift.Int -@_hasMissingDesignatedInitializers final public class LineSheet : Swift.Codable { - final public var copy: SoulverCore.LineSheet { - get - } - final public subscript(index: SoulverCore.LineIndex) -> SoulverCore.Line { - get - set - } - final public var allLineReferences: [SoulverCore.LineIndex : SoulverCore.LineReference] { - get - } - required public init(from decoder: Swift.Decoder) throws - final public func encode(to encoder: Swift.Encoder) throws - final public var debugDescription: Swift.String { - get - } - @objc deinit -} -extension SoulverCore.DatespanType : Swift.Equatable {} -extension SoulverCore.DatespanType : Swift.Hashable {} -extension SoulverCore.DatespanSubtype : Swift.Equatable {} -extension SoulverCore.DatespanSubtype : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.Equatable {} -extension SoulverCore.UnitType : Swift.Hashable {} -extension SoulverCore.UnitType : Swift.RawRepresentable {} -extension SoulverCore.UnitIdentifier : Swift.Equatable {} -extension SoulverCore.UnitIdentifier : Swift.Hashable {} -extension SoulverCore.ApparentLineType : Swift.Equatable {} -extension SoulverCore.ApparentLineType : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {} -extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {} -extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {} -extension SoulverCore.LineExpressionAlignment : Swift.Equatable {} -extension SoulverCore.LineExpressionAlignment : Swift.Hashable {} -extension SoulverCore.LineExpressionAlignment : Swift.RawRepresentable {} -extension SoulverCore.CurrencySet : Swift.Equatable {} -extension SoulverCore.CurrencySet : Swift.Hashable {} -extension SoulverCore.CurrencySet : Swift.RawRepresentable {} -extension SoulverCore.VariableType : Swift.Equatable {} -extension SoulverCore.VariableType : Swift.Hashable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Equatable {} -extension SoulverCore.DynamicVariable.DynamicVariableType : Swift.Hashable {} -extension SoulverCore.DatestampType : Swift.Equatable {} -extension SoulverCore.DatestampType : Swift.Hashable {} -extension SoulverCore.TokenType : Swift.Equatable {} -extension SoulverCore.TokenType : Swift.Hashable {} -extension SoulverCore.TokenSubType : Swift.Equatable {} -extension SoulverCore.TokenSubType : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.Equatable {} -extension SoulverCore.LineStyle : Swift.Hashable {} -extension SoulverCore.LineStyle : Swift.RawRepresentable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Equatable {} -extension SoulverCore.UnitSymbolReplacementPosition : Swift.Hashable {} -extension SoulverCore.UnitMeasurementSystem : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.Equatable {} -extension SoulverCore.SIThreshold : Swift.Hashable {} -extension SoulverCore.SIThreshold : Swift.RawRepresentable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ReferenceSubstituionPolicy : Swift.Hashable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Equatable {} -extension SoulverCore.LineCollectionEnumerator.ResultFormatting : Swift.Hashable {} -extension SoulverCore.FunctionIdentifier : Swift.Equatable {} -extension SoulverCore.FunctionIdentifier : Swift.Hashable {} -extension SoulverCore.EvaluationError : Swift.Equatable {} -extension SoulverCore.EvaluationError : Swift.Hashable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Equatable {} -extension SoulverCore.NotationPreferences.NotationStyle : Swift.Hashable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Equatable {} -extension SoulverCore.PrototypeExpressionMatchType : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Equatable {} -extension SoulverCore.AsynchronousOperation.State : Swift.Hashable {} -extension SoulverCore.AsynchronousOperation.State : Swift.RawRepresentable {} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/Info.plist b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/Info.plist index 44a5651e7..a379cbf94 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/Info.plist +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21D62 + 21E230 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,29 +17,29 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.4.4 + 1.4.5 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 22 + 23 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 13A1030d + 13E113 DTPlatformName macosx DTPlatformVersion - 12.0 + 12.3 DTSDKBuild - 21A344 + 21E226 DTSDKName - macosx12.0 + macosx12.3 DTXcode - 1310 + 1330 DTXcodeBuild - 13A1030d + 13E113 LSMinimumSystemVersion 10.14.4 NSHumanReadableCopyright diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json index 090511067..7206f941d 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/FunctionDescriptions.json @@ -1,4 +1,81 @@ { + "unitRelated": [ + { + "prototypeExpressions": [ + "convert __unit_expression into __unit", + "convert __unit into __unit" + ], + "identifier": "unitConversion" + }, + { + "prototypeExpressions": [ + "__unit in __unit_expression", + "__unit in a __unit", + "__unit in an __unit" + ], + "identifier": "unitInUnitExpression" + }, + { + "prototypeExpressions": [ + "__unit_expression __substance in __unit", + "__unit_expression of __substance in __unit", + "__unit_expression __substance as __unit", + "__unit_expression of __substance as __unit", + "__unit_expression __substance to __unit", + "__unit_expression of __substance to __unit" + ], + "identifier": "substanceWeightToVolumeConversion" + }, + { + "prototypeExpressions": [ + "density of __substance", + "__substance density" + ], + "identifier": "densityOfSubstance" + }, + { + "prototypeExpressions": [ + "__unit in __timespan" + ], + "identifier": "unitInTimespan" + }, + { + "identifier": "rateUnitChange", + "prototypeExpressions": [ + "__rate is what / __unit", + "__rate is how much / __unit", + "__rate as / __unit", + "__rate is what /__unit", + "__rate is how much /__unit", + "__rate as /__unit", + "__rate is what per __unit", + "__rate is how much per __unit", + "__rate as per __unit", + "__rate is what per__unit", + "__rate is how much per__unit", + "__rate as per__unit" + ] + }, + { + "identifier": "rateForADuration", + "prototypeExpressions": [ + "__rate for a __duration" + ] + }, + { + "identifier": "screenDensity", + "prototypeExpressions": [ + "ppi of __length at __resolution", + "ppi of __length device at __resolution", + "ppi of __length screen at __resolution", + "ppi of __length display at __resolution", + "density of __length at __resolution", + "density of __length screen at __resolution", + "density of __length device at __resolution", + "density of __length display at __resolution" + ] + } + ], "datetime": [ { "prototypeExpressions": [ @@ -185,6 +262,180 @@ ] } ], + "videoRelated": [ + { + "prototypeExpressions": [ + "__frametime at __frameRate_expression", + "__laptime at __frameRate_expression", + "__timespan at __frameRate_expression", + "__frametime @ __frameRate_expression", + "__laptime @ __frameRate_expression", + "__timespan @ __frameRate_expression", + "__frametime at __rate", + "__laptime at __rate" + ], + "identifier": "formFrametime" + }, + { + "prototypeExpressions": [ + "__frames_expression at __frameRate_expression", + "__frames_expression at __rate", + "__frames_expression @ __frameRate_expression", + "__frames_expression @ __rate" + ], + "identifier": "framesToFrametime" + } + ], + "financial": [ + { + "prototypeExpressions": [ + "present value of 1000 after __timespan at __percentage", + "present value of 1000 over __timespan at __percentage" + ], + "identifier": "presentValue" + }, + { + "prototypeExpressions": [ + "annual return on 500 invested 1000 returned after __timespan", + "yearly return on 500 invested 1000 returned after __timespan", + "annual return on 500 invested 1000 returned over __timespan", + "yearly return on 500 invested 1000 returned over __timespan" + ], + "identifier": "returnOnInvestmentAfter" + }, + { + "identifier": "returnOnInvestment", + "prototypeExpressions": [ + "500 invested 1000 returned" + ] + }, + { + "identifier": "totalLoanRepayment", + "prototypeExpressions": [ + "total repayment on 10000 for __timespan at __percentage", + "total repayment on 10000 after __timespan at __percentage", + "total repayment on 10000 over __timespan at __percentage", + "total payment on 10000 for __timespan at __percentage", + "total payment on 10000 after __timespan at __percentage", + "total payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "annual repayment on 10000 for __timespan at __percentage", + "annual repayment on 10000 after __timespan at __percentage", + "annual repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 over __timespan at __percentage", + "yearly repayment on 10000 after __timespan at __percentage", + "yearly repayment on 10000 for __timespan at __percentage", + "annual payment on 10000 for __timespan at __percentage", + "annual payment on 10000 after __timespan at __percentage", + "annual payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 over __timespan at __percentage", + "yearly payment on 10000 after __timespan at __percentage", + "yearly payment on 10000 for __timespan at __percentage" + ], + "identifier": "annualLoanRepayment" + }, + { + "identifier": "monthlyLoanRepayment", + "prototypeExpressions": [ + "monthly repayment on 10000 for __timespan at __percentage", + "monthly repayment on 10000 after __timespan at __percentage", + "monthly repayment on 10000 over __timespan at __percentage", + "monthly payment on 10000 for __timespan at __percentage", + "monthly payment on 10000 after __timespan at __percentage", + "monthly payment on 10000 over __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "total interest on 10000 for __timespan at __percentage", + "total interest on 10000 after __timespan at __percentage", + "total interest on 10000 over __timespan at __percentage" + ], + "identifier": "totalInterestOnLoanRepayment" + }, + { + "identifier": "annualInterestOnLoanRepayment", + "prototypeExpressions": [ + "annual interest on 10000 for __timespan at __percentage", + "annual interest on 10000 after __timespan at __percentage", + "annual interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 over __timespan at __percentage", + "yearly interest on 10000 after __timespan at __percentage", + "yearly interest on 10000 for __timespan at __percentage" + ] + }, + { + "prototypeExpressions": [ + "monthly interest on 10000 for __timespan at __percentage", + "monthly interest on 10000 after __timespan at __percentage", + "monthly interest on 10000 over __timespan at __percentage" + ], + "identifier": "monthlyInterestOnLoanRepayment" + }, + { + "identifier": "compoundInterestCompoundingMonthly", + "prototypeExpressions": [ + "100 after __timespan at __percentage compounded monthly", + "100 for __timespan at __percentage compounded monthly", + "100 over __timespan at __percentage compounded monthly", + "100 at __percentage after __timespan compounded monthly", + "100 at __percentage for __timespan compounded monthly", + "100 at __percentage over __timespan compounded monthly", + "100 after __timespan at __percentage compounding monthly", + "100 for __timespan at __percentage compounding monthly", + "100 over __timespan at __percentage compounding monthly", + "100 at __percentage after __timespan compounding monthly", + "100 at __percentage for __timespan compounding monthly", + "100 at __percentage over __timespan compounding monthly" + ] + }, + { + "identifier": "compoundInterest", + "prototypeExpressions": [ + "100 after __timespan at __percentage", + "100 for __timespan at __percentage", + "100 over __timespan at __percentage", + "100 at __percentage after __timespan", + "100 at __percentage for __timespan", + "100 at __percentage over __timespan" + ] + }, + { + "identifier": "dollarWorthAdjustedForInflation", + "prototypeExpressions": [ + "500 from __datestamp is worth what __datestamp", + "500 in __datestamp is worth what __datestamp", + "500 from __datestamp is worth what in __datestamp", + "500 in __datestamp is worth what in __datestamp", + "what is 500 __datestamp worth in __datestamp", + "what is 500 in __datestamp worth in __datestamp", + "what is 500 from __datestamp worth in __datestamp", + "what is 500 __datestamp worth __datestamp", + "what is 500 in __datestamp worth __datestamp", + "what is 500 from __datestamp worth __datestamp" + ] + }, + { + "identifier": "predictedDollarWorthGivenInflation", + "prototypeExpressions": [ + "what will 500 be worth in __datestamp with __percentage inflation", + "what will 500 be worth in __datestamp given __percentage inflation", + "what will 500 be worth in __datestamp assuming __percentage inflation", + "what will 500 be worth in __datestamp at __percentage inflation", + "value of 500 in __datestamp with __percentage inflation", + "value of 500 in __datestamp given __percentage inflation", + "value of 500 in __datestamp assuming __percentage inflation", + "value of 500 in __datestamp at __percentage inflation", + "purchasing power of 500 in __datestamp with __percentage inflation", + "purchasing power of 500 in __datestamp given __percentage inflation", + "purchasing power of 500 in __datestamp assuming __percentage inflation", + "purchasing power of 500 in __datestamp at __percentage inflation" + ] + } + ], "general": [ { "prototypeExpressions": [ @@ -332,160 +583,22 @@ "identifier": "scrubNumberWithSpecifiedRange" } ], - "financial": [ - { - "prototypeExpressions": [ - "present value of 1000 after __timespan at __percentage", - "present value of 1000 over __timespan at __percentage" - ], - "identifier": "presentValue" - }, - { - "prototypeExpressions": [ - "annual return on 500 invested 1000 returned after __timespan", - "yearly return on 500 invested 1000 returned after __timespan", - "annual return on 500 invested 1000 returned over __timespan", - "yearly return on 500 invested 1000 returned over __timespan" - ], - "identifier": "returnOnInvestmentAfter" - }, - { - "identifier": "returnOnInvestment", - "prototypeExpressions": [ - "500 invested 1000 returned" - ] - }, - { - "identifier": "totalLoanRepayment", - "prototypeExpressions": [ - "total repayment on 10000 for __timespan at __percentage", - "total repayment on 10000 after __timespan at __percentage", - "total repayment on 10000 over __timespan at __percentage", - "total payment on 10000 for __timespan at __percentage", - "total payment on 10000 after __timespan at __percentage", - "total payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "annual repayment on 10000 for __timespan at __percentage", - "annual repayment on 10000 after __timespan at __percentage", - "annual repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 over __timespan at __percentage", - "yearly repayment on 10000 after __timespan at __percentage", - "yearly repayment on 10000 for __timespan at __percentage", - "annual payment on 10000 for __timespan at __percentage", - "annual payment on 10000 after __timespan at __percentage", - "annual payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 over __timespan at __percentage", - "yearly payment on 10000 after __timespan at __percentage", - "yearly payment on 10000 for __timespan at __percentage" - ], - "identifier": "annualLoanRepayment" - }, - { - "identifier": "monthlyLoanRepayment", - "prototypeExpressions": [ - "monthly repayment on 10000 for __timespan at __percentage", - "monthly repayment on 10000 after __timespan at __percentage", - "monthly repayment on 10000 over __timespan at __percentage", - "monthly payment on 10000 for __timespan at __percentage", - "monthly payment on 10000 after __timespan at __percentage", - "monthly payment on 10000 over __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "total interest on 10000 for __timespan at __percentage", - "total interest on 10000 after __timespan at __percentage", - "total interest on 10000 over __timespan at __percentage" - ], - "identifier": "totalInterestOnLoanRepayment" - }, - { - "identifier": "annualInterestOnLoanRepayment", - "prototypeExpressions": [ - "annual interest on 10000 for __timespan at __percentage", - "annual interest on 10000 after __timespan at __percentage", - "annual interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 over __timespan at __percentage", - "yearly interest on 10000 after __timespan at __percentage", - "yearly interest on 10000 for __timespan at __percentage" - ] - }, - { - "prototypeExpressions": [ - "monthly interest on 10000 for __timespan at __percentage", - "monthly interest on 10000 after __timespan at __percentage", - "monthly interest on 10000 over __timespan at __percentage" - ], - "identifier": "monthlyInterestOnLoanRepayment" - }, - { - "identifier": "compoundInterestCompoundingMonthly", - "prototypeExpressions": [ - "100 after __timespan at __percentage compounded monthly", - "100 for __timespan at __percentage compounded monthly", - "100 over __timespan at __percentage compounded monthly", - "100 at __percentage after __timespan compounded monthly", - "100 at __percentage for __timespan compounded monthly", - "100 at __percentage over __timespan compounded monthly", - "100 after __timespan at __percentage compounding monthly", - "100 for __timespan at __percentage compounding monthly", - "100 over __timespan at __percentage compounding monthly", - "100 at __percentage after __timespan compounding monthly", - "100 at __percentage for __timespan compounding monthly", - "100 at __percentage over __timespan compounding monthly" - ] - }, - { - "identifier": "compoundInterest", - "prototypeExpressions": [ - "100 after __timespan at __percentage", - "100 for __timespan at __percentage", - "100 over __timespan at __percentage", - "100 at __percentage after __timespan", - "100 at __percentage for __timespan", - "100 at __percentage over __timespan" - ] - } - ], - "videoRelated": [ - { - "prototypeExpressions": [ - "__frametime at __frequency_expression", - "__laptime at __frequency_expression", - "__timespan at __frequency_expression", - "__frametime @ __frequency_expression", - "__laptime @ __frequency_expression", - "__timespan @ __frequency_expression", - "__frametime at __rate", - "__laptime at __rate" - ], - "identifier": "formFrametime" - }, - { - "prototypeExpressions": [ - "__frames_expression at __frequency_expression", - "__frames_expression at __rate", - "__frames_expression @ __frequency_expression", - "__frames_expression @ __rate" - ], - "identifier": "framesToFrametime" - } - ], "changeRelated": [ { "identifier": "exponentialGrowth", "prototypeExpressions": [ "20 after __timespan at __percentage every __timespan", "20 after __timespan at __percentage each __timespan", + "20 after __timespan at __percentage per __timespan", "20 after __timespan at __percentage every __unit", "20 after __timespan at __percentage each __unit", + "20 after __timespan at __percentage per __unit", "20 after __timespan at __percentage growth every __timespan", "20 after __timespan at __percentage growth each __timespan", + "20 after __timespan at __percentage growth per __timespan", "20 after __timespan at __percentage growth every __unit", - "20 after __timespan at __percentage growth each __unit" + "20 after __timespan at __percentage growth each __unit", + "20 after __timespan at __percentage growth per __unit" ] }, { @@ -493,16 +606,22 @@ "prototypeExpressions": [ "20 after __timespan at −__percentage every __timespan", "20 after __timespan at −__percentage each __timespan", + "20 after __timespan at −__percentage per __timespan", "20 after __timespan at −__percentage every __unit", "20 after __timespan at −__percentage each __unit", + "20 after __timespan at −__percentage per __unit", "20 after __timespan at -__percentage every __timespan", "20 after __timespan at -__percentage each __timespan", + "20 after __timespan at -__percentage per __timespan", "20 after __timespan at -__percentage every __unit", "20 after __timespan at -__percentage each __unit", + "20 after __timespan at -__percentage per __unit", "20 after __timespan at __percentage decay every __timespan", "20 after __timespan at __percentage decay each __timespan", + "20 after __timespan at __percentage decay per __timespan", "20 after __timespan at __percentage decay every __unit", - "20 after __timespan at __percentage decay each __unit" + "20 after __timespan at __percentage decay each __unit", + "20 after __timespan at __percentage decay per __unit" ] }, { @@ -512,22 +631,32 @@ "time from 20 to 30 at __percentage every __unit", "time from 20 to 30 at __percentage each __timespan", "time from 20 to 30 at __percentage each __unit", + "time from 20 to 30 at __percentage per __timespan", + "time from 20 to 30 at __percentage per __unit", "time from 20 to 30 at −__percentage every __timespan", "time from 20 to 30 at −__percentage every __unit", "time from 20 to 30 at −__percentage each __timespan", "time from 20 to 30 at −__percentage each __unit", + "time from 20 to 30 at −__percentage per __timespan", + "time from 20 to 30 at −__percentage per __unit", "time from 20 to 30 at -__percentage every __timespan", "time from 20 to 30 at -__percentage every __unit", "time from 20 to 30 at -__percentage each __timespan", "time from 20 to 30 at -__percentage each __unit", + "time from 20 to 30 at -__percentage per __timespan", + "time from 20 to 30 at -__percentage per __unit", "time from 20 to 30 at __percentage growth every __timespan", "time from 20 to 30 at __percentage growth every __unit", "time from 20 to 30 at __percentage growth each __timespan", "time from 20 to 30 at __percentage growth each __unit", + "time from 20 to 30 at __percentage growth per __timespan", + "time from 20 to 30 at __percentage growth per __unit", "time from 20 to 30 at __percentage decay every __timespan", "time from 20 to 30 at __percentage decay every __unit", "time from 20 to 30 at __percentage decay each __timespan", - "time from 20 to 30 at __percentage decay each __unit" + "time from 20 to 30 at __percentage decay each __unit", + "time from 20 to 30 at __percentage decay per __timespan", + "time from 20 to 30 at __percentage decay per __unit" ] }, { @@ -536,7 +665,15 @@ "growth per __timespan from 20 to 30 over __timespan", "decay per __timespan from 20 to 30 over __timespan", "growth per __unit from 20 to 30 over __timespan", - "decay per __unit from 20 to 30 over __timespan" + "decay per __unit from 20 to 30 over __timespan", + "growth each __timespan from 20 to 30 over __timespan", + "decay each __timespan from 20 to 30 over __timespan", + "growth each __unit from 20 to 30 over __timespan", + "decay each __unit from 20 to 30 over __timespan", + "growth every __timespan from 20 to 30 over __timespan", + "decay every __timespan from 20 to 30 over __timespan", + "growth every __unit from 20 to 30 over __timespan", + "decay every __unit from 20 to 30 over __timespan" ] }, { @@ -574,63 +711,6 @@ ] } ], - "unitRelated": [ - { - "prototypeExpressions": [ - "__unit in __unit_expression", - "__unit in a __unit", - "__unit in an __unit" - ], - "identifier": "unitInUnitExpression" - }, - { - "prototypeExpressions": [ - "__unit_expression __substance in __unit", - "__unit_expression of __substance in __unit", - "__unit_expression __substance as __unit", - "__unit_expression of __substance as __unit", - "__unit_expression __substance to __unit", - "__unit_expression of __substance to __unit" - ], - "identifier": "substanceWeightToVolumeConversion" - }, - { - "prototypeExpressions": [ - "density of __substance", - "__substance density" - ], - "identifier": "densityOfSubstance" - }, - { - "prototypeExpressions": [ - "__unit in __timespan" - ], - "identifier": "unitInTimespan" - }, - { - "identifier": "rateUnitChange", - "prototypeExpressions": [ - "__rate is what / __unit", - "__rate is how much / __unit", - "__rate as / __unit", - "__rate is what /__unit", - "__rate is how much /__unit", - "__rate as /__unit", - "__rate is what per __unit", - "__rate is how much per __unit", - "__rate as per __unit", - "__rate is what per__unit", - "__rate is how much per__unit", - "__rate as per__unit" - ] - }, - { - "identifier": "rateForADuration", - "prototypeExpressions": [ - "__rate for a __duration" - ] - } - ], "percentage": [ { "prototypeExpressions": [ @@ -689,58 +769,82 @@ { "prototypeExpressions": [ "10 is what % of 20", + "10 is what percent of 20", + "10 is what percentage of 20", "10 as a % of 20", - "10 as % of 20" + "10 as % of 20", + "10 as a percent of 20", + "10 as percent of 20", + "10 as a percentage of 20", + "10 as percentage of 20" ], "identifier": "isWhatPercentOf" }, { "prototypeExpressions": [ "10 is what % off 20", + "10 is what percent off 20", + "10 is what percentage off 20", "10 as a % off 20", - "10 as % off 20" + "10 as % off 20", + "10 as a percent off 20", + "10 as percent off 20", + "10 as a percentage off 20", + "10 as percentage off 20" ], "identifier": "isWhatPercentOff" }, { "prototypeExpressions": [ "20 is what % on 10", + "20 is what percent on 10", + "20 is what percentage on 10", "20 as a % on 10", - "20 as % on 10" + "20 as % on 10", + "20 as percent on 10", + "20 as a percent on 10", + "20 as percentage on 10", + "20 as a percentage on 10" ], "identifier": "isWhatPercentOn" + }, + { + "prototypeExpressions": [ + "__sales_tax in 500", + "__sales_tax from 500" + ], + "identifier": "salesTaxIn" } ], - "tagRelated": [ + "statistics": [ { "prototypeExpressions": [ - "total of __tag", - "total __tag", - "__tag total", - "sum of __tag", - "sum __tag", - "__tag sum" + "__statistic_type of __list", + "__statistic_type __list" ], - "identifier": "tagTotal" + "identifier": "statisticOfList" }, { "prototypeExpressions": [ - "average of __tag", - "average __tag", - "__tag average", - "mean of __tag", - "mean __tag", - "__tag mean" + "__statistic_type of __tag", + "__statistic_type __tag", + "__tag __statistic_type" + ], + "identifier": "statisticOfTag" + } + ], + "soundRelated": [ + { + "prototypeExpressions": [ + "wavelength of __frequency_expression" ], - "identifier": "tagAverage" + "identifier": "wavelengthOfFrequencyOfSound" }, { "prototypeExpressions": [ - "count of __tag", - "count __tag", - "__tag count" + "frequency of __length_expression" ], - "identifier": "tagCount" + "identifier": "frequencyOfWavelengthOfSound" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json index 5ed639613..39d66dff3 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/LocalizedFixtures.json @@ -7,22 +7,6 @@ "nextDateQualifiers": [ "next" ], - "thisDateQualifiers": [ - "this" - ], - "ordinalSuffixes": [ - "st", - "nd", - "rd", - "th" - ], - "middayAliases": [ - "midday", - "noon" - ], - "midnightAliases": [ - "midnight" - ], "converterSymbols": [ "to", "as" @@ -45,18 +29,21 @@ "hereAliases": [ "here" ], - "pmAliases": [ - "pm" - ], - "amAliases": [ - "am" - ], "nowDateAliases": [ "now" ], + "ordinalSuffixes": [ + "st", + "nd", + "rd", + "th" + ], "piAliases": [ "π" ], + "thisDateQualifiers": [ + "this" + ], "divisionOperators": [ "÷", "per" @@ -64,17 +51,13 @@ "fractionTypes": [ "fraction" ], + "midnightAliases": [ + "midnight" + ], "multiplierTypes": [ "multiplier", "multiple" ], - "binaryTypes": [ - "binary" - ], - "hexadecimalTypes": [ - "hexadecimal", - "hex" - ], "roundingUpConverters": [ "rounded up" ], @@ -98,13 +81,16 @@ "iso8601Types": [ "iso8601" ], - "lessThanOrEqualToOperators": [ - "<=", - "=<" + "pmAliases": [ + "pm" ], "roundingConverters": [ "rounded" ], + "lessThanOrEqualToOperators": [ + "<=", + "=<" + ], "subtractionOperators": [ "−", "–", @@ -113,6 +99,14 @@ "dateTypes": [ "date" ], + "middayAliases": [ + "midday", + "noon" + ], + "hexadecimalTypes": [ + "hexadecimal", + "hex" + ], "reverseSubtractionOperators": [ ], "numberTypes": [ @@ -122,12 +116,23 @@ "roundingDownConverters": [ "rounded down" ], + "amAliases": [ + "am" + ], "todayDateAliases": [ "today" ], + "binaryTypes": [ + "binary" + ], "additionOperators": [ "plus" ], + "midiTypes": [ + "midi", + "midi number", + "MIDI note number" + ], "isNotEqualToOperators": [ "!=", "=!" @@ -136,18 +141,36 @@ ">=", "=>" ], + "totalAliases": [ + "total", + "sum" + ], "multiplicationOperators": [ "×", "x" ], + "medianAliases": [ + "median" + ], "timestampTypes": [ "timestamp" ], + "averageAliases": [ + "average", + "mean" + ], + "pitchTypes": [ + "pitch", + "musical note" + ], "yesterdayDateAliases": [ "yesterday" ], + "countAliases": [ + "count" + ], "tomorrowDateAliases": [ "tomorrow" ] } -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json index 1cc2920be..49596741e 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/en.lproj/UnitDescriptions.json @@ -1,43 +1,15 @@ { - "speed": [ - { - "aliases": [ - "meter per second", - "meters per second", - "metre per second", - "metres per second" - ], - "symbol": "m/s", - "identifier": "metersPerSecond" - }, - { - "aliases": [ - "kilometer per hour", - "kilometers per hour", - "kilometre per hour", - "kilometres per hour", - "kmph", - "kph", - "kmh" - ], - "symbol": "km/h", - "identifier": "kilometersPerHour" - }, - { - "aliases": [ - "mile per hour", - "miles per hour" - ], - "symbol": "mph", - "identifier": "milesPerHour" - }, + "fuelConsumption": [ { "aliases": [ - "knot", - "knots" + "L/100 km", + "liters per 100 km", + "litres per 100 km", + "liters per 100 kilometers", + "litres per 100 kilometres" ], - "symbol": "kn", - "identifier": "knots" + "symbol": "L/100km", + "identifier": "litersPer100Kilometers" } ], "volume": [ @@ -99,7 +71,9 @@ "identifier": "microliters" }, { + "identifier": "cubicKilometers", "aliases": [ + "cubic km", "cubic kilometer", "cubic kilometers", "cubic kilometre", @@ -113,11 +87,11 @@ "km3", "km^3" ], - "symbol": "km³", - "identifier": "cubicKilometers" + "symbol": "km³" }, { "aliases": [ + "cubic m", "cubic meter", "cubic meters", "cubic metre", @@ -134,6 +108,7 @@ }, { "aliases": [ + "cubic cm", "cubic centimeter", "cubic centimeters", "cubic centimetre", @@ -147,6 +122,7 @@ }, { "aliases": [ + "cubic mm", "cubic millimeter", "cubic millimeters", "cubic millimetre", @@ -172,6 +148,7 @@ }, { "aliases": [ + "cubic ft", "cubic foot", "cubic feet", "cuft", @@ -184,6 +161,7 @@ }, { "aliases": [ + "cubic yd", "cubic yard", "cubic yards", "yd³", @@ -197,6 +175,7 @@ }, { "aliases": [ + "cubic mi", "cubic mile", "cubic miles", "mi³", @@ -294,318 +273,405 @@ "identifier": "fluidOunces" } ], - "dataStorage": [ + "substanceConcentration": [ { "aliases": [ - "byte", - "bytes" + "molars", + "molar" ], - "symbol": "B", - "identifier": "bytes" - }, + "symbol": "ᴍ", + "identifier": "molar" + } + ], + "temperature": [ { "aliases": [ - "bit", - "bits" + "kelvin" ], - "symbol": "bit", - "identifier": "bits" + "symbol": "K", + "identifier": "kelvin" }, { "aliases": [ - "yottabyte", - "yottabytes" + "degree celsius", + "degrees celsius", + "degrees celcius", + "celsius", + "ºC", + "℃", + "C", + "degC" ], - "symbol": "YB", - "identifier": "yottabytes" + "symbol": "°C", + "identifier": "celsius" }, { "aliases": [ - "zettabyte", - "zettabytes" + "degree fahrenheit", + "degrees fahrenheit", + "ºF", + "℉", + "F", + "degF", + "fahrenheit" ], - "symbol": "ZB", - "identifier": "zettabytes" - }, + "symbol": "°F", + "identifier": "fahrenheit" + } + ], + "screenDensity": [ { "aliases": [ - "exabyte", - "exabytes" + "pixels per inch", + "pixel per inch", + "ppi" ], - "symbol": "EB", - "identifier": "exabytes" - }, + "symbol": "PPI", + "identifier": "ppi" + } + ], + "duration": [ { "aliases": [ - "petabyte", - "petabytes" + "hour", + "hours", + "hrs", + "h" ], - "symbol": "PB", - "identifier": "petabytes" + "symbol": "hr", + "identifier": "hours" }, { "aliases": [ - "terabyte", - "terabytes", - "TB", - "tb" + "second", + "seconds", + "sec", + "secs" ], - "symbol": "TB", - "identifier": "terabytes" + "symbol": "s", + "identifier": "seconds" }, { "aliases": [ - "gigabyte", - "gigabytes", - "GB", - "gb" + "minute", + "minutes", + "mins" ], - "symbol": "GB", - "identifier": "gigabytes" + "symbol": "min", + "identifier": "minutes" }, { "aliases": [ - "megabyte", - "megabytes", - "MB", - "mb" + "days" ], - "symbol": "MB", - "identifier": "megabytes" + "symbol": "day", + "identifier": "days" }, { "aliases": [ - "kilobyte", - "kilobytes", - "KB", - "kb" + "weekday", + "weekdays", + "workdays", + "week day", + "week days", + "work days", + "working days", + "working day", + "business day", + "business days" ], - "symbol": "kB", - "identifier": "kilobytes" + "symbol": "workday", + "identifier": "weekdays" }, { "aliases": [ - "yottabit", - "yottabits", - "Yb" + "weeks" ], - "symbol": "Ybit", - "identifier": "yottabits" + "symbol": "week", + "identifier": "weeks" }, { "aliases": [ - "zettabit", - "zettabits", - "Zb" + "months" ], - "symbol": "Zbit", - "identifier": "zettabits" + "symbol": "month", + "identifier": "months" }, { "aliases": [ - "exabit", - "exabits", - "Eb" + "years" ], - "symbol": "Ebit", - "identifier": "exabits" + "symbol": "year", + "identifier": "years" }, { "aliases": [ - "petabit", - "petabits", - "Pb" + "millisecond", + "milliseconds" ], - "symbol": "Pbit", - "identifier": "petabits" + "symbol": "ms", + "identifier": "milliseconds" }, { "aliases": [ - "terabit", - "terabits", - "Tb" + "microsecond", + "microseconds" ], - "symbol": "Tbit", - "identifier": "terabits" + "symbol": "µs", + "identifier": "microseconds" }, { "aliases": [ - "gigabit", - "gigabits", - "Gb" + "nanosecond", + "nanoseconds" ], - "symbol": "Gbit", - "identifier": "gigabits" - }, + "symbol": "ns", + "identifier": "nanoseconds" + } + ], + "speed": [ { "aliases": [ - "megabit", - "megabits", - "Mb" + "meter per second", + "meters per second", + "metre per second", + "metres per second" ], - "symbol": "Mbit", - "identifier": "megabits" + "symbol": "m/s", + "identifier": "metersPerSecond" }, { "aliases": [ - "kilobit", - "kilobits", - "Kb" + "kilometer per hour", + "kilometers per hour", + "kilometre per hour", + "kilometres per hour", + "kmph", + "kph", + "kmh" ], - "symbol": "kbit", - "identifier": "kilobits" + "symbol": "km/h", + "identifier": "kilometersPerHour" }, { "aliases": [ - "yobibyte", - "yobibytes", - "YiB", - "yib" + "mile per hour", + "miles per hour" ], - "symbol": "YiB", - "identifier": "yobibytes" + "symbol": "mph", + "identifier": "milesPerHour" }, { "aliases": [ - "zebibyte", - "zebibytes", - "ZiB", - "zib" + "knot", + "knots" ], - "symbol": "ZiB", - "identifier": "zebibytes" - }, + "symbol": "kn", + "identifier": "knots" + } + ], + "angle": [ { "aliases": [ - "exbibyte", - "exbibytes", - "EiB", - "eib" + "degree", + "degrees", + "º" ], - "symbol": "EiB", - "identifier": "exbibytes" + "symbol": "°", + "identifier": "degrees" }, { "aliases": [ - "pebibyte", - "pebibytes", - "PiB", - "pib" + "arcminutes", + "arcmin", + "arc minutes", + "arc min" ], - "symbol": "PiB", - "identifier": "pebibytes" + "symbol": "′", + "identifier": "arcMinutes" }, { "aliases": [ - "tebibyte", - "tebibytes", - "TiB", - "tib" + "arcseconds", + "arcsec", + "arc seconds", + "arc sec" ], - "symbol": "TiB", - "identifier": "tebibytes" + "symbol": "″", + "identifier": "arcSeconds" }, { "aliases": [ - "gibibyte", - "gibibytes", - "GiB", - "gib" + "radian", + "radians" ], - "symbol": "GiB", - "identifier": "gibibytes" + "symbol": "rad", + "identifier": "radians" + } + ], + "frameRate": [ + { + "aliases": [ + ], + "symbol": "fps", + "identifier": "framesPerSecond" + } + ], + "length": [ + { + "aliases": [ + "meter", + "meters", + "metre", + "metres" + ], + "symbol": "m", + "identifier": "meters" }, { "aliases": [ - "mebibyte", - "mebibytes", - "MiB", - "mib" + "kilometer", + "kilometers", + "kilometre", + "kilometres" ], - "symbol": "MiB", - "identifier": "mebibytes" + "symbol": "km", + "identifier": "kilometers" }, { "aliases": [ - "kibibyte", - "kibibytes", - "KiB", - "kib" + "centimeter", + "centimeters", + "centimetre", + "centimetres" ], - "symbol": "KiB", - "identifier": "kibibytes" + "symbol": "cm", + "identifier": "centimeters" }, { "aliases": [ - "yobibit", - "yobibits", - "Yibit" + "millimeter", + "millimetres", + "millimetre", + "millimeters" ], - "symbol": "Yib", - "identifier": "yobibits" + "symbol": "mm", + "identifier": "millimeters" }, { "aliases": [ - "zebibit", - "zebibits", - "Zibit" + "micrometre", + "micrometres", + "micrometre", + "micrometers" ], - "symbol": "Zib", - "identifier": "zebibits" + "symbol": "µm", + "identifier": "micrometers" }, { "aliases": [ - "exbibit", - "exbibits", - "Eibit" + "nanometer", + "nanometers", + "nanometre", + "nanometres" ], - "symbol": "Eib", - "identifier": "exbibits" + "symbol": "nm", + "identifier": "nanometers" }, { "aliases": [ - "pebibit", - "pebibits", - "Pibit" + "inch", + "inches" ], - "symbol": "Pib", - "identifier": "pebibits" + "symbol": "in", + "identifier": "inches" }, { "aliases": [ - "tebibit", - "tebibits", - "Tibit" + "foot", + "feet" ], - "symbol": "Tib", - "identifier": "tebibits" + "symbol": "ft", + "identifier": "feet" }, { "aliases": [ - "gibibit", - "gibibits", - "Gibit" + "yard", + "yards" ], - "symbol": "Gib", - "identifier": "gibibits" + "symbol": "yd", + "identifier": "yards" }, { "aliases": [ - "mebibit", - "mebibits", - "Mibit" + "mile", + "miles" ], - "symbol": "Mib", - "identifier": "mebibits" + "symbol": "mi", + "identifier": "miles" }, { "aliases": [ - "kibibit", - "kibibits", - "Kibit" + "light year", + "light years" ], - "symbol": "Kib", - "identifier": "kibibits" + "symbol": "ly", + "identifier": "lightyears" + }, + { + "aliases": [ + "parsec", + "parsecs" + ], + "symbol": "pc", + "identifier": "parsecs" + }, + { + "aliases": [ + "nautical mile", + "nautical miles" + ], + "symbol": "NM", + "identifier": "nauticalMiles" + }, + { + "aliases": [ + "fathom", + "fathoms" + ], + "symbol": "ftm", + "identifier": "fathoms" + }, + { + "aliases": [ + "furlong", + "furlongs" + ], + "symbol": "fur", + "identifier": "furlongs" + }, + { + "aliases": [ + "pixel", + "pixels" + ], + "symbol": "px", + "identifier": "pixel" + }, + { + "aliases": [ + ], + "symbol": "em", + "identifier": "em" + }, + { + "aliases": [ + "pts", + "PostScript point", + "PostScript points" + ], + "symbol": "pt", + "identifier": "point" } ], "energy": [ @@ -714,54 +780,89 @@ "identifier": "terawattHours" } ], - "temperature": [ + "power": [ { "aliases": [ - "kelvin" + "watt", + "watts" ], - "symbol": "K", - "identifier": "kelvin" + "symbol": "W", + "identifier": "watts" }, { "aliases": [ - "degree celsius", - "degrees celsius", - "degrees celcius", - "celsius", - "ºC", - "℃", - "C", - "degC" + "milliwatt", + "milliwatts" ], - "symbol": "°C", - "identifier": "celsius" + "symbol": "mW", + "identifier": "milliwatts" }, { "aliases": [ - "degree fahrenheit", - "degrees fahrenheit", - "ºF", - "℉", - "F", - "degF", - "fahrenheit" + "kilowatt", + "kilowatts" ], - "symbol": "°F", - "identifier": "fahrenheit" - } - ], - "dataTransfer": [ + "symbol": "kW", + "identifier": "kilowatts" + }, { "aliases": [ - "bytes per second" + "megawatt", + "megawatts" ], - "symbol": "Bps", - "identifier": "bytesPerSecond" + "symbol": "MW", + "identifier": "megawatts" }, { "aliases": [ - "bits per second" - ], + "gigawatt", + "gigawatts" + ], + "symbol": "GW", + "identifier": "gigawatts" + }, + { + "aliases": [ + "terawatt", + "terawatts" + ], + "symbol": "TW", + "identifier": "terawatts" + }, + { + "aliases": [ + "horsepower" + ], + "symbol": "hp", + "identifier": "horsepower" + } + ], + "fuelEconomy": [ + { + "aliases": [ + ], + "symbol": "km/L", + "identifier": "kilometersPerLiter" + }, + { + "aliases": [ + ], + "symbol": "mpg", + "identifier": "milesPerGallon" + } + ], + "dataTransfer": [ + { + "aliases": [ + "bytes per second" + ], + "symbol": "Bps", + "identifier": "bytesPerSecond" + }, + { + "aliases": [ + "bits per second" + ], "symbol": "bps", "identifier": "bitsPerSecond" }, @@ -998,185 +1099,19 @@ "identifier": "kibibitsPerSecond" } ], - "angle": [ - { - "aliases": [ - "degree", - "degrees", - "º" - ], - "symbol": "°", - "identifier": "degrees" - }, - { - "aliases": [ - "radian", - "radians" - ], - "symbol": "rad", - "identifier": "radians" - } - ], - "length": [ - { - "aliases": [ - "meter", - "meters", - "metre", - "metres" - ], - "symbol": "m", - "identifier": "meters" - }, - { - "aliases": [ - "kilometer", - "kilometers", - "kilometre", - "kilometres" - ], - "symbol": "km", - "identifier": "kilometers" - }, - { - "aliases": [ - "centimeter", - "centimeters", - "centimetre", - "centimetres" - ], - "symbol": "cm", - "identifier": "centimeters" - }, - { - "aliases": [ - "millimeter", - "millimetres", - "millimetre", - "millimeters" - ], - "symbol": "mm", - "identifier": "millimeters" - }, - { - "aliases": [ - "micrometre", - "micrometres", - "micrometre", - "micrometers" - ], - "symbol": "µm", - "identifier": "micrometers" - }, - { - "aliases": [ - "nanometer", - "nanometers", - "nanometre", - "nanometres" - ], - "symbol": "nm", - "identifier": "nanometers" - }, - { - "aliases": [ - "inch", - "inches" - ], - "symbol": "in", - "identifier": "inches" - }, - { - "aliases": [ - "foot", - "feet" - ], - "symbol": "ft", - "identifier": "feet" - }, - { - "aliases": [ - "yard", - "yards" - ], - "symbol": "yd", - "identifier": "yards" - }, - { - "aliases": [ - "mile", - "miles" - ], - "symbol": "mi", - "identifier": "miles" - }, - { - "aliases": [ - "light year", - "light years" - ], - "symbol": "ly", - "identifier": "lightyears" - }, - { - "aliases": [ - "parsec", - "parsecs" - ], - "symbol": "pc", - "identifier": "parsecs" - }, - { - "aliases": [ - "nautical mile", - "nautical miles" - ], - "symbol": "NM", - "identifier": "nauticalMiles" - }, - { - "aliases": [ - "fathom", - "fathoms" - ], - "symbol": "ftm", - "identifier": "fathoms" - }, - { - "aliases": [ - "furlong", - "furlongs" - ], - "symbol": "fur", - "identifier": "furlongs" - }, - { - "aliases": [ - "pixel", - "pixels" - ], - "symbol": "px", - "identifier": "pixel" - }, - { - "aliases": [ - ], - "symbol": "em", - "identifier": "em" - }, + "frames": [ { "aliases": [ - "pts", - "PostScript point", - "PostScript points" + "frame" ], - "symbol": "pt", - "identifier": "point" + "symbol": "frames", + "identifier": "frames" } ], "area": [ { "aliases": [ + "square km", "square kilometer", "square kilometers", "square kilometre", @@ -1194,6 +1129,7 @@ }, { "aliases": [ + "square m", "square meter", "square meters", "square metre", @@ -1219,6 +1155,7 @@ }, { "aliases": [ + "square cm", "square centimeter", "square centimeters", "square centimetre", @@ -1236,6 +1173,7 @@ }, { "aliases": [ + "square mm", "square millimeter", "square millimeters", "square millimetre", @@ -1253,6 +1191,7 @@ }, { "aliases": [ + "square µm", "square micrometer", "square micrometers", "square micrometre", @@ -1269,6 +1208,7 @@ }, { "aliases": [ + "square in", "square inch", "square inches", "sqin", @@ -1281,6 +1221,7 @@ }, { "aliases": [ + "square ft", "square foot", "square feet", "sqft", @@ -1295,6 +1236,7 @@ }, { "aliases": [ + "square yd", "square yard", "square yards", "sqyard", @@ -1309,6 +1251,7 @@ }, { "aliases": [ + "square mi", "square mile", "square miles", "mi^2", @@ -1348,100 +1291,43 @@ "identifier": "ares" } ], - "power": [ + "mass": [ { "aliases": [ - "watt", - "watts" + "kilogram", + "kilograms" ], - "symbol": "W", - "identifier": "watts" + "symbol": "kg", + "identifier": "kilograms" }, { "aliases": [ - "milliwatt", - "milliwatts" + "gram", + "grams" ], - "symbol": "mW", - "identifier": "milliwatts" + "symbol": "g", + "identifier": "grams" }, { "aliases": [ - "kilowatt", - "kilowatts" + "milligram", + "milligrams" ], - "symbol": "kW", - "identifier": "kilowatts" + "symbol": "mg", + "identifier": "milligrams" }, { "aliases": [ - "megawatt", - "megawatts" + "nanogram", + "nanograms" ], - "symbol": "MW", - "identifier": "megawatts" + "symbol": "ng", + "identifier": "nanograms" }, { "aliases": [ - "gigawatt", - "gigawatts" - ], - "symbol": "GW", - "identifier": "gigawatts" - }, - { - "aliases": [ - "terawatt", - "terawatts" - ], - "symbol": "TW", - "identifier": "terawatts" - }, - { - "aliases": [ - "horsepower" - ], - "symbol": "hp", - "identifier": "horsepower" - } - ], - "mass": [ - { - "aliases": [ - "kilogram", - "kilograms" - ], - "symbol": "kg", - "identifier": "kilograms" - }, - { - "aliases": [ - "gram", - "grams" - ], - "symbol": "g", - "identifier": "grams" - }, - { - "aliases": [ - "milligram", - "milligrams" - ], - "symbol": "mg", - "identifier": "milligrams" - }, - { - "aliases": [ - "nanogram", - "nanograms" - ], - "symbol": "ng", - "identifier": "nanograms" - }, - { - "aliases": [ - "ounce", - "ounces" + "ounce", + "ounces" ], "symbol": "oz", "identifier": "ounces" @@ -1501,177 +1387,416 @@ "identifier": "ouncesTroy" } ], - "duration": [ + "frequency": [ { "aliases": [ - "hour", - "hours", - "hrs", - "h" + "hertz", + "hz" ], - "symbol": "hr", - "identifier": "hours" + "symbol": "Hz", + "identifier": "hertz" }, { "aliases": [ - "second", - "seconds", - "sec", - "secs" + "kilohertz" ], - "symbol": "s", - "identifier": "seconds" + "symbol": "kHz", + "identifier": "kilohertz" }, { "aliases": [ - "minute", - "minutes", - "mins" + "megahertz" ], - "symbol": "min", - "identifier": "minutes" + "symbol": "MHz", + "identifier": "megahertz" }, { "aliases": [ - "days" + "gigahertz" ], - "symbol": "day", - "identifier": "days" + "symbol": "GHz", + "identifier": "gigahertz" }, { "aliases": [ - "weekday", - "weekdays", - "workdays", - "week day", - "week days", - "work days", - "working days", - "working day", - "business day", - "business days" + "terahertz" ], - "symbol": "workday", - "identifier": "weekdays" + "symbol": "THz", + "identifier": "terahertz" }, { "aliases": [ - "weeks" + "millihertz" ], - "symbol": "week", - "identifier": "weeks" + "symbol": "mHz", + "identifier": "millihertz" }, { "aliases": [ - "months" + "microhertz" ], - "symbol": "month", - "identifier": "months" + "symbol": "µHz", + "identifier": "microhertz" }, { "aliases": [ - "years" + "nanohertz" ], - "symbol": "year", - "identifier": "years" + "symbol": "nHz", + "identifier": "nanohertz" + } + ], + "dataStorage": [ + { + "aliases": [ + "byte", + "bytes" + ], + "symbol": "B", + "identifier": "bytes" }, { "aliases": [ - "millisecond", - "milliseconds" + "bit", + "bits" ], - "symbol": "ms", - "identifier": "milliseconds" + "symbol": "bit", + "identifier": "bits" }, { "aliases": [ - "microsecond", - "microseconds" + "yottabyte", + "yottabytes" ], - "symbol": "µs", - "identifier": "microseconds" + "symbol": "YB", + "identifier": "yottabytes" }, { "aliases": [ - "nanosecond", - "nanoseconds" + "zettabyte", + "zettabytes" ], - "symbol": "ns", - "identifier": "nanoseconds" - } - ], - "frames": [ + "symbol": "ZB", + "identifier": "zettabytes" + }, { "aliases": [ - "frame" + "exabyte", + "exabytes" ], - "symbol": "frames", - "identifier": "frames" - } - ], - "frequency": [ + "symbol": "EB", + "identifier": "exabytes" + }, { "aliases": [ - "hertz", - "hz" + "petabyte", + "petabytes" ], - "symbol": "Hz", - "identifier": "hertz" + "symbol": "PB", + "identifier": "petabytes" }, { "aliases": [ - "kilohertz" + "terabyte", + "terabytes", + "TB", + "tb" ], - "symbol": "kHz", - "identifier": "kilohertz" + "symbol": "TB", + "identifier": "terabytes" }, { "aliases": [ - "megahertz" + "gigabyte", + "gigabytes", + "GB", + "gb" ], - "symbol": "MHz", - "identifier": "megahertz" + "symbol": "GB", + "identifier": "gigabytes" }, { "aliases": [ - "gigahertz" + "megabyte", + "megabytes", + "MB", + "mb" ], - "symbol": "GHz", - "identifier": "gigahertz" + "symbol": "MB", + "identifier": "megabytes" }, { "aliases": [ - "terahertz" + "kilobyte", + "kilobytes", + "KB", + "kb" ], - "symbol": "THz", - "identifier": "terahertz" + "symbol": "kB", + "identifier": "kilobytes" }, { "aliases": [ - "millihertz" + "yottabit", + "yottabits", + "Yb" ], - "symbol": "mHz", - "identifier": "millihertz" + "symbol": "Ybit", + "identifier": "yottabits" }, { "aliases": [ - "microhertz" + "zettabit", + "zettabits", + "Zb" ], - "symbol": "µHz", - "identifier": "microhertz" + "symbol": "Zbit", + "identifier": "zettabits" }, { "aliases": [ - "nanohertz" + "exabit", + "exabits", + "Eb" ], - "symbol": "nHz", - "identifier": "nanohertz" + "symbol": "Ebit", + "identifier": "exabits" }, { "aliases": [ + "petabit", + "petabits", + "Pb" ], - "symbol": "fps", - "identifier": "framesPerSecond" + "symbol": "Pbit", + "identifier": "petabits" + }, + { + "aliases": [ + "terabit", + "terabits", + "Tb" + ], + "symbol": "Tbit", + "identifier": "terabits" + }, + { + "aliases": [ + "gigabit", + "gigabits", + "Gb" + ], + "symbol": "Gbit", + "identifier": "gigabits" + }, + { + "aliases": [ + "megabit", + "megabits", + "Mb" + ], + "symbol": "Mbit", + "identifier": "megabits" + }, + { + "aliases": [ + "kilobit", + "kilobits", + "Kb" + ], + "symbol": "kbit", + "identifier": "kilobits" + }, + { + "aliases": [ + "yobibyte", + "yobibytes", + "YiB", + "yib" + ], + "symbol": "YiB", + "identifier": "yobibytes" + }, + { + "aliases": [ + "zebibyte", + "zebibytes", + "ZiB", + "zib" + ], + "symbol": "ZiB", + "identifier": "zebibytes" + }, + { + "aliases": [ + "exbibyte", + "exbibytes", + "EiB", + "eib" + ], + "symbol": "EiB", + "identifier": "exbibytes" + }, + { + "aliases": [ + "pebibyte", + "pebibytes", + "PiB", + "pib" + ], + "symbol": "PiB", + "identifier": "pebibytes" + }, + { + "aliases": [ + "tebibyte", + "tebibytes", + "TiB", + "tib" + ], + "symbol": "TiB", + "identifier": "tebibytes" + }, + { + "aliases": [ + "gibibyte", + "gibibytes", + "GiB", + "gib" + ], + "symbol": "GiB", + "identifier": "gibibytes" + }, + { + "aliases": [ + "mebibyte", + "mebibytes", + "MiB", + "mib" + ], + "symbol": "MiB", + "identifier": "mebibytes" + }, + { + "aliases": [ + "kibibyte", + "kibibytes", + "KiB", + "kib" + ], + "symbol": "KiB", + "identifier": "kibibytes" + }, + { + "aliases": [ + "yobibit", + "yobibits", + "Yibit" + ], + "symbol": "Yib", + "identifier": "yobibits" + }, + { + "aliases": [ + "zebibit", + "zebibits", + "Zibit" + ], + "symbol": "Zib", + "identifier": "zebibits" + }, + { + "aliases": [ + "exbibit", + "exbibits", + "Eibit" + ], + "symbol": "Eib", + "identifier": "exbibits" + }, + { + "aliases": [ + "pebibit", + "pebibits", + "Pibit" + ], + "symbol": "Pib", + "identifier": "pebibits" + }, + { + "aliases": [ + "tebibit", + "tebibits", + "Tibit" + ], + "symbol": "Tib", + "identifier": "tebibits" + }, + { + "aliases": [ + "gibibit", + "gibibits", + "Gibit" + ], + "symbol": "Gib", + "identifier": "gibibits" + }, + { + "aliases": [ + "mebibit", + "mebibits", + "Mibit" + ], + "symbol": "Mib", + "identifier": "mebibits" + }, + { + "aliases": [ + "kibibit", + "kibibits", + "Kibit" + ], + "symbol": "Kib", + "identifier": "kibibits" + } + ], + "amountOfSubstance": [ + { + "aliases": [ + "mole", + "moles", + "mols" + ], + "symbol": "mol", + "identifier": "moles" + }, + { + "aliases": [ + "millimole", + "millimol", + "millimols" + ], + "symbol": "mmol", + "identifier": "millimoles" + }, + { + "aliases": [ + "micromole", + "micromol", + "millimols", + "umol" + ], + "symbol": "µmol", + "identifier": "micromoles" + }, + { + "aliases": [ + "nanomole", + "nanomol", + "nanomols" + ], + "symbol": "nmol", + "identifier": "nanomoles" } ] -} +} \ No newline at end of file diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json index 256e2aa64..c7bebb5b2 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/Resources/fr.lproj/FunctionDescriptions.json @@ -558,7 +558,7 @@ "identifier": "rateUnitChange" } ], - "tagRelated": [ + "statistics": [ { "identifier": "tagTotal", "prototypeExpressions": [ @@ -590,4 +590,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/SoulverCore b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/SoulverCore index 0de58b900..6c9f93f57 100755 Binary files a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/SoulverCore and b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/SoulverCore differ diff --git a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources index d10af549f..1f36497a8 100644 --- a/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources +++ b/SoulverCore.xcframework/macos-arm64_x86_64/SoulverCore.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - eyXhZ04Td96+bQgj0v/Gc73wyRE= + Ftajx/5s8Szw2MA1JUCL6qLYp1k= Resources/de.lproj/Cities.json @@ -120,7 +120,7 @@ hash - C+YRH1pX5WHisPEzaadbaC9e1Kw= + eXg1+1PENcr07fzqCB+X2nk7Qhg= optional @@ -147,7 +147,7 @@ hash - +F/iTqZtnPF3JSAxyYXg5dQHvf4= + RbFD+EnNDBiXlAExS/Fli4oloiA= optional @@ -165,7 +165,7 @@ hash - EzyYZu2evCeqa4LKc/fCY/4X5+E= + +ac10N7ZPUDZsCNgvEi6d97W0aY= optional @@ -183,7 +183,7 @@ hash - Kz5cYm6hoov66WW0VLAq7mew80E= + dznWR1SIc77Bu7VHkGAfS9o1GLU= optional @@ -411,7 +411,7 @@ hash2 - YUze+UKx79dVtUUgxlthRyDzycR1fyGYNR/eROkuZdE= + m4/AaScGAcR9fj/aLEPtoTRNw/NABhTIb4JlrtVMhRg= Headers/SoulverCore.h @@ -425,84 +425,42 @@ hash2 - ke4aPJoIXKuGahSpTumUzhBtj+e3dN0R40tXk9wQRy4= + e2VDkOGbBcpwwex0C3Jfqx0E/8tXr+0EOT38uSrALeQ= Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftinterface hash2 - TWp5vuowd4zVi/DJAE2irRP0P0ryFAfDT+LoQN8K5lk= + drGKS4CR0GBqY5om2qPwUc8E19FohI+PyEA4oLLMaAU= Modules/SoulverCore.swiftmodule/arm64-apple-macos.swiftmodule hash2 - TV2XWPB1tsbFph96xrHlIKCAOWHuRQ1OcV6oJOM6c2o= - - - Modules/SoulverCore.swiftmodule/arm64.swiftdoc - - hash2 - - ke4aPJoIXKuGahSpTumUzhBtj+e3dN0R40tXk9wQRy4= - - - Modules/SoulverCore.swiftmodule/arm64.swiftinterface - - hash2 - - TWp5vuowd4zVi/DJAE2irRP0P0ryFAfDT+LoQN8K5lk= - - - Modules/SoulverCore.swiftmodule/arm64.swiftmodule - - hash2 - - TV2XWPB1tsbFph96xrHlIKCAOWHuRQ1OcV6oJOM6c2o= + 3iaca9vLbHsWJEBj8jGf+69KcEJ26yqwtYdIPPBwHkw= Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftdoc hash2 - 42DtxP9Sy6rPMVrJgDL/NWepjJ+hgsmzZw1XGB0bxBo= + DT/GkQELUER3QhlXjWNVm2C5JAuz4HWbvaXq+5iRbaA= Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftinterface hash2 - f0Q616uaWeHQe7faevH5aCnRteHPFrcxmbKf+7z95M8= + /+I6+yk8fWX58oO8tzc5sLhhWpoZHhhsnHe105VT3bM= Modules/SoulverCore.swiftmodule/x86_64-apple-macos.swiftmodule hash2 - B+IiysgLHzmSnjxafBaX/4CKnczAk4xib9CCRn7gtYk= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftdoc - - hash2 - - 42DtxP9Sy6rPMVrJgDL/NWepjJ+hgsmzZw1XGB0bxBo= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftinterface - - hash2 - - f0Q616uaWeHQe7faevH5aCnRteHPFrcxmbKf+7z95M8= - - - Modules/SoulverCore.swiftmodule/x86_64.swiftmodule - - hash2 - - B+IiysgLHzmSnjxafBaX/4CKnczAk4xib9CCRn7gtYk= + rEzBC2TyEAHLNXOkyvfhhWNfB7rBqF69d9/S26OljL8= Modules/module.modulemap @@ -516,7 +474,7 @@ hash2 - j6g3xYOCS5H3HBg6Sbiv7Wq9louPQI1AFZq0G9Pm6Jk= + vDazxxs2544l3rJnMGkvSKEShSKiM+2XX5yMDDtmh5s= Resources/de.lproj/Cities.json @@ -631,7 +589,7 @@ hash2 - d4sZI1sJzrwK3s0f2FjiYAgip+P2I1GgFgBHZGdUHUE= + mAzky+DlQ9Ld3W2NgYiwqA0YNVBn4ScNam8wDaQHkoQ= optional @@ -658,7 +616,7 @@ hash2 - EZeIj4Dlo9TemXVLrmOODRf9f2GLbVM0JtY0VFLAklQ= + 4PyZ+90vgrVJupcCrGXUeLCe9ZIB2qHcPMsT2r8l9r8= optional @@ -676,7 +634,7 @@ hash2 - mMgm9L8M5lcoIFs/H84sZiJSnTNPLUM+VkM0Q2reBxw= + M03rxMhNqn7Ac2viDTYDguuxHVMqh+eAc2XzIaE5CSo= optional @@ -694,7 +652,7 @@ hash2 - BX6SQEj0pd3fxPCrRJ8OOwRObDciEXx9oVNH4umDt9M= + gzLT+TjoU6ZezlRGNRtZPo+zzhEgCLqWEqRvANNQBpI= optional