Enumerationswift-package-manager 6.0.3PackageModel
SupportedLanguageExtension
An enum representing supported source file extensions.
enum SupportedLanguageExtension
An enum representing supported source file extensions.
enum SupportedLanguageExtension
import PackageModel
case swift
Swift
case c
C
case m
Objective C
case mm
Objective-C++
case cc
C++
case cpp
case cxx
case s
Assembly
case S
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
static var assemblyExtensions: Set<String>
Returns a set of valid assembly file extensions.
static var cExtensions: Set<String>
Returns a set of valid c extensions.
static var cppExtensions: Set<String>
Returns a set of valid cpp extensions.
static var swiftExtensions: Set<String>
Returns a set of valid swift extensions.
static func clangTargetExtensions(toolsVersion: ToolsVersion) -> Set<String>
Returns a set of valid extensions in clang targets.
static func validExtensions(toolsVersion: ToolsVersion) -> Set<String>
Returns a set of all file extensions we support.
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)