A Swift macro that extracts associated values from enum cases
ExtractCaseValue
0.0.2
A Swift macro that extracts associated values from enum cases
What's New
0.0.2
2023-06-09T17:23:56Z
- Added .spi.yml for swift package index documentation
- Moved documentation to ExtractCaseValue target
Description
- Swift Tools 5.9.0
Description
{
"name": "ExtractCaseValue",
"path": "/usr/src/package",
"targets": [
{
"name": "ExtractCaseValueTests",
"path": "Tests/ExtractCaseValueTests",
"type": "test",
"c99name": "ExtractCaseValueTests",
"sources": [
"ExtractCaseValueTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"ExtractCaseValueMacros"
],
"product_dependencies": [
"SwiftSyntaxMacrosTestSupport"
]
},
{
"name": "ExtractCaseValueMacros",
"path": "Sources/ExtractCaseValueMacros",
"type": "macro",
"c99name": "ExtractCaseValueMacros",
"sources": [
"CaseExtractionKind.swift",
"Diagnostics.swift",
"ExtractCaseValueMacro.swift",
"Plugin.swift",
"SwiftSyntax+Extensions.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"ExtractCaseValue",
"ExtractCaseValueClient",
"ExtractCaseValueMacros"
],
"product_dependencies": [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
]
},
{
"name": "ExtractCaseValueClient",
"path": "Sources/ExtractCaseValueClient",
"type": "executable",
"c99name": "ExtractCaseValueClient",
"sources": [
"main.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"ExtractCaseValueClient"
],
"target_dependencies": [
"ExtractCaseValue"
]
},
{
"name": "ExtractCaseValue",
"path": "Sources/ExtractCaseValue",
"type": "library",
"c99name": "ExtractCaseValue",
"sources": [
"ExtractCaseValue.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"ExtractCaseValue",
"ExtractCaseValueClient"
],
"target_dependencies": [
"ExtractCaseValueMacros"
]
}
],
"products": [
{
"name": "ExtractCaseValue",
"type": {
"library": [
"automatic"
]
},
"targets": [
"ExtractCaseValue"
]
},
{
"name": "ExtractCaseValueClient",
"type": {
"executable": null
},
"targets": [
"ExtractCaseValueClient"
]
},
{
"name": "ExtractCaseValueMacros",
"type": {
"macro": null
},
"targets": [
"ExtractCaseValueMacros"
]
}
],
"platforms": [
{
"name": "macos",
"version": "10.15"
},
{
"name": "ios",
"version": "13.0"
},
{
"name": "tvos",
"version": "13.0"
},
{
"name": "watchos",
"version": "6.0"
},
{
"name": "maccatalyst",
"version": "13.0"
}
],
"dependencies": [
{
"url": "https://github.com/apple/swift-syntax.git",
"type": "sourceControl",
"identity": "swift-syntax",
"requirement": {
"range": [
{
"lower_bound": "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b",
"upper_bound": "510.0.0"
}
]
}
}
],
"tools_version": "5.9",
"manifest_display_name": "ExtractCaseValue"
}
Package Dump
{
"name": "ExtractCaseValue",
"traits": [],
"targets": [
{
"name": "ExtractCaseValueMacros",
"type": "macro",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"product": [
"SwiftSyntaxMacros",
"swift-syntax",
null,
null
]
},
{
"product": [
"SwiftCompilerPlugin",
"swift-syntax",
null,
null
]
}
],
"packageAccess": true
},
{
"name": "ExtractCaseValue",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"ExtractCaseValueMacros",
null
]
}
],
"packageAccess": true
},
{
"name": "ExtractCaseValueClient",
"type": "executable",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"ExtractCaseValue",
null
]
}
],
"packageAccess": true
},
{
"name": "ExtractCaseValueTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"ExtractCaseValueMacros",
null
]
},
{
"product": [
"SwiftSyntaxMacrosTestSupport",
"swift-syntax",
null,
null
]
}
],
"packageAccess": true
}
],
"products": [
{
"name": "ExtractCaseValue",
"type": {
"library": [
"automatic"
]
},
"targets": [
"ExtractCaseValue"
]
},
{
"name": "ExtractCaseValueClient",
"type": {
"executable": null
},
"targets": [
"ExtractCaseValueClient"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "10.15",
"platformName": "macos"
},
{
"options": [],
"version": "13.0",
"platformName": "ios"
},
{
"options": [],
"version": "13.0",
"platformName": "tvos"
},
{
"options": [],
"version": "6.0",
"platformName": "watchos"
},
{
"options": [],
"version": "13.0",
"platformName": "maccatalyst"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-syntax",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-syntax.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b",
"upperBound": "510.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.9.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
Dependencies
- SwiftSyntax509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
Dependencies
{
"url": "/usr/src/package",
"name": "ExtractCaseValue",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/apple/swift-syntax.git",
"name": "SwiftSyntax",
"path": "/usr/src/package/.build/checkouts/swift-syntax",
"version": "509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a",
"identity": "swift-syntax",
"dependencies": []
}
]
}