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

Deinitializer

Mattt edited this page Aug 2, 2020 · 6 revisions

Deinitializer

A class deinitializer declaration.

public struct Deinitializer:​ Declaration, Hashable, Codable

Inheritance

Codable, Declaration, ExpressibleBySyntax, Hashable

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
Clone this wiki locally