Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Deinitializer

mattt edited this page Mar 28, 2020 · 6 revisions

Deinitializer

A class deinitializer declaration.

public struct Deinitializer: Declaration, Hashable, Codable

Inheritance

Codable, Hashable, Declaration

Initializers

init(_:)

Creates an instance initialized with the given syntax node.

public init(_ node: DeinitializerDeclSyntax)

Properties

attributes

The declaration attributes.

let attributes: [Attribute]

modifiers

The declaration modifiers.

let modifiers: [Modifier]

keyword

The declaration keyword ("deinit").

let keyword: String