Structure
AssociatedType
public struct AssociatedType: Declaration, Hashable, Codable
An associated type declaration.
Relationships
Conforms To
Declaration
A Swift declaration.
ExpressibleBySyntax
A type that can be initialized with a Swift syntax node.
Codable
CustomStringConvertible
Hashable
Initializers
init(_:)
public init(_ node: AssociatedtypeDeclSyntax)
Creates an instance initialized with the given syntax node.
Properties
keyword
let keyword: String
The declaration keyword ("associatedtype"
).
name
let name: String
The associated type name.
description
var description: String