This repository was archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Symbol
mattt edited this page Feb 14, 2020
·
19 revisions
public final class SymbolContextual.Symbol.Extension.CompilationCondition.SourceFile
public typealias ID = Identifierpublic convenience init(from decoder: Decoder) throwspublic init(file url: URL, relativeTo directory: URL) throwslet context: [Contextual]let declaration: APIvar isDocumented: Boolvar name: Stringlet symbols: [Symbol]let documentation: Documentation?var `extension`: Extension? = context.compactMap { $0 as? Extension }.firstvar id: ID = {
Identifier(pathComponents: context.compactMap {
($0 as? Symbol)?.name ?? ($0 as? Extension)?.extendedType
}, name: name)
}()let path: Stringvar isPublic: Boollet sourceLocation: SourceLocation?let imports: [Import]var conditions: [CompilationCondition] = context.compactMap { $0 as? CompilationCondition }public func hash(into hasher: inout Hasher)public static func <(lhs: Symbol, rhs: Symbol) -> Boolpublic static func ==(lhs: Symbol, rhs: Symbol) -> Boolpublic func encode(to encoder: Encoder) throwsGenerated at 2021-05-05T17:50:46+0000 using swift-doc 1.0.0-beta.6.