Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
mattt edited this page Oct 4, 2020 · 19 revisions

Symbol

public final class Symbol

Inheritance

Codable, Comparable, Equatable, Hashable

Nested Type Aliases

ID

public typealias ID = Identifier

Initializers

init(from:)

public convenience init(from decoder: Decoder) throws

Properties

api

let api: API

context

let context: [Contextual]

declaration

let declaration: String

documentation

let documentation: Documentation?

sourceLocation

let sourceLocation: SourceLocation?

`extension`

var `extension`: Extension? = context.compactMap { $0 as? Extension }.first

conditions

var conditions: [CompilationCondition]

name

var name: String

id

var id: ID

isPublic

var isPublic: Bool

isDocumented

var isDocumented: Bool

Methods

==(lhs:rhs:)

public static func ==(lhs: Symbol, rhs: Symbol) -> Bool

<(lhs:rhs:)

public static func <(lhs: Symbol, rhs: Symbol) -> Bool

hash(into:)

public func hash(into hasher: inout Hasher)

encode(to:)

public func encode(to encoder: Encoder) throws