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

AssociatedType

Mattt edited this page Aug 2, 2020 · 6 revisions

AssociatedType

An associated type declaration.

public struct AssociatedType:​ Declaration, Hashable, Codable

Inheritance

Codable, CustomStringConvertible, Declaration, ExpressibleBySyntax, Hashable

Initializers

init(_:​)

Creates an instance initialized with the given syntax node.

public init(_ node:​ AssociatedtypeDeclSyntax)

Properties

attributes

The declaration attributes.

let attributes:[Attribute]

modifiers

The declaration modifiers.

let modifiers:[Modifier]

keyword

The declaration keyword ("associatedtype").

let keyword:​ String

name

The associated type name.

let name:​ String

description

var description:​ String
Clone this wiki locally