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

Variable_Accessor

Mattt edited this page Aug 2, 2020 · 5 revisions

Variable.Accessor

A computed variable or computed property accessor.

public struct Accessor:​ Hashable, Codable

Inheritance

Codable, ExpressibleBySyntax, Hashable

Initializers

init?(_:​)

public init?(_ node:​ AccessorDeclSyntax)

Properties

attributes

The accessor attributes.

let attributes:[Attribute]

modifier

The accessor modifiers.

let modifier:​ Modifier?

kind

The kind of accessor.

let kind:​ Kind?

Methods

accessors(from:​)

public static func accessors(from node:​ AccessorBlockSyntax?) -> [Variable.Accessor]
Clone this wiki locally