├── .editorconfig ├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── question.md └── workflows │ ├── ci.yml │ ├── format.yml │ └── release.yml ├── .gitignore ├── .spi.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── Makefile ├── Package.resolved ├── Package.swift ├── Package@swift-5.9.swift ├── README.md ├── Sources ├── CasePaths │ ├── Documentation.docc │ │ ├── CasePathableMacro.md │ │ ├── CasePaths.md │ │ ├── Deprecations.md │ │ ├── XCTModify.md │ │ └── XCTModifyDeprecations.md │ ├── EnumReflection.swift │ ├── Internal │ │ ├── Deprecations.swift │ │ ├── Exports.swift │ │ └── LockIsolated.swift │ ├── Macros.swift │ └── XCTestSupport.swift ├── CasePathsCore │ ├── AnyCasePath.swift │ ├── CasePathIterable.swift │ ├── CasePathReflectable.swift │ ├── CasePathable.swift │ ├── Documentation.docc │ │ ├── CasePathsCore.md │ │ ├── Extensions │ │ │ ├── AnyCasePath.md │ │ │ ├── CaseKeyPath.md │ │ │ └── CasePathable.md │ │ ├── MigrationGuides.md │ │ └── MigrationGuides │ │ │ └── MigratingTo1.1.md │ ├── Internal │ │ ├── KeyPath+Sendable.swift │ │ ├── TypeName.swift │ │ └── UncheckedSendable.swift │ ├── Never+CasePathable.swift │ ├── Optional+CasePathable.swift │ └── Result+CasePathable.swift └── CasePathsMacros │ ├── CasePathableMacro.swift │ └── Plugin.swift └── Tests ├── CasePathsMacrosTests └── CasePathableMacroTests.swift └── CasePathsTests ├── CasePathableTests.swift ├── CasePathsTests.swift ├── CaseSetTests.swift ├── CompileTimeTests.swift ├── DeprecatedTests.swift ├── DeprecatedXCTModifyTests.swift ├── MacroTests.swift ├── ReflectionTests.swift ├── XCTModifyTests.swift └── XCTUnwrapTests.swift /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/ISSUE_TEMPLATE/question.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /.swiftpm 4 | /Packages 5 | /*.xcodeproj 6 | xcuserdata/ 7 | -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/.spi.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Makefile -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-5.9.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Package@swift-5.9.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/README.md -------------------------------------------------------------------------------- /Sources/CasePaths/Documentation.docc/CasePathableMacro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Documentation.docc/CasePathableMacro.md -------------------------------------------------------------------------------- /Sources/CasePaths/Documentation.docc/CasePaths.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Documentation.docc/CasePaths.md -------------------------------------------------------------------------------- /Sources/CasePaths/Documentation.docc/Deprecations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Documentation.docc/Deprecations.md -------------------------------------------------------------------------------- /Sources/CasePaths/Documentation.docc/XCTModify.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Documentation.docc/XCTModify.md -------------------------------------------------------------------------------- /Sources/CasePaths/Documentation.docc/XCTModifyDeprecations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Documentation.docc/XCTModifyDeprecations.md -------------------------------------------------------------------------------- /Sources/CasePaths/EnumReflection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/EnumReflection.swift -------------------------------------------------------------------------------- /Sources/CasePaths/Internal/Deprecations.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Internal/Deprecations.swift -------------------------------------------------------------------------------- /Sources/CasePaths/Internal/Exports.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Internal/Exports.swift -------------------------------------------------------------------------------- /Sources/CasePaths/Internal/LockIsolated.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Internal/LockIsolated.swift -------------------------------------------------------------------------------- /Sources/CasePaths/Macros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/Macros.swift -------------------------------------------------------------------------------- /Sources/CasePaths/XCTestSupport.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePaths/XCTestSupport.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/AnyCasePath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/AnyCasePath.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/CasePathIterable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/CasePathIterable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/CasePathReflectable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/CasePathReflectable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/CasePathable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/CasePathable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/CasePathsCore.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/CasePathsCore.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/Extensions/AnyCasePath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/Extensions/AnyCasePath.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/Extensions/CaseKeyPath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/Extensions/CaseKeyPath.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/Extensions/CasePathable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/Extensions/CasePathable.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/MigrationGuides.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/MigrationGuides.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Documentation.docc/MigrationGuides/MigratingTo1.1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Documentation.docc/MigrationGuides/MigratingTo1.1.md -------------------------------------------------------------------------------- /Sources/CasePathsCore/Internal/KeyPath+Sendable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Internal/KeyPath+Sendable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Internal/TypeName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Internal/TypeName.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Internal/UncheckedSendable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Internal/UncheckedSendable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Never+CasePathable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Never+CasePathable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Optional+CasePathable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Optional+CasePathable.swift -------------------------------------------------------------------------------- /Sources/CasePathsCore/Result+CasePathable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsCore/Result+CasePathable.swift -------------------------------------------------------------------------------- /Sources/CasePathsMacros/CasePathableMacro.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsMacros/CasePathableMacro.swift -------------------------------------------------------------------------------- /Sources/CasePathsMacros/Plugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Sources/CasePathsMacros/Plugin.swift -------------------------------------------------------------------------------- /Tests/CasePathsMacrosTests/CasePathableMacroTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsMacrosTests/CasePathableMacroTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/CasePathableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/CasePathableTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/CasePathsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/CasePathsTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/CaseSetTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/CaseSetTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/CompileTimeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/CompileTimeTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/DeprecatedTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/DeprecatedTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/DeprecatedXCTModifyTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/DeprecatedXCTModifyTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/MacroTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/MacroTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/ReflectionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/ReflectionTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/XCTModifyTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/XCTModifyTests.swift -------------------------------------------------------------------------------- /Tests/CasePathsTests/XCTUnwrapTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-case-paths/HEAD/Tests/CasePathsTests/XCTUnwrapTests.swift --------------------------------------------------------------------------------