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 13, 2020
·
19 revisions
public final class SymbolContextual.Symbol.Extension.CompilationCondition.SourceFile
public typealias ID = Identifierpublic init(file url: URL, relativeTo directory: URL) throwspublic convenience init(from decoder: Decoder) throwslet sourceLocation: SourceLocation?let imports: [Import]var isDocumented: Boolvar name: Stringlet declaration: APIvar conditions: [CompilationCondition] = context.compactMap { $0 as? CompilationCondition }let symbols: [Symbol]var id: ID = {
Identifier(pathComponents: context.compactMap {
($0 as? Symbol)?.name ?? ($0 as? Extension)?.extendedType
}, name: name)
}()var `extension`: Extension? = context.compactMap { $0 as? Extension }.firstlet context: [Contextual]let documentation: Documentation?let path: Stringvar isPublic: Boolpublic func encode(to encoder: Encoder) throwspublic func hash(into hasher: inout Hasher)public static func <(lhs: Symbol, rhs: Symbol) -> Boolpublic static func ==(lhs: Symbol, rhs: Symbol) -> BoolGenerated at 2021-05-05T17:50:46+0000 using swift-doc 1.0.0-beta.6.