TypeAliasDecl
public struct TypeAliasDecl : ExposableDecl, GenericDecl, SingleEntityDecl
A type alias declaration.
-
Declaration
Swift
public static let constructDescription: String -
Declaration
Swift
public let site: SourceRange -
The site of the
typealiasintroducer.Declaration
Swift
public let introducerSite: SourceRange -
The access modifier of the declaration, if any.
Declaration
Swift
public let accessModifier: SourceRepresentable<AccessModifier> -
The identifier of the alias.
Declaration
Swift
public let identifier: SourceRepresentable<Identifier> -
The generic clause of the declaration, if any.
Declaration
Swift
public let genericClause: SourceRepresentable<GenericClause>? -
The expression of the aliased type.
Declaration
Swift
public let aliasedType: AnyExprID -
Creates an instance with the given properties.
Declaration
Swift
public init( introducerSite: SourceRange, accessModifier: SourceRepresentable<AccessModifier>, identifier: SourceRepresentable<Identifier>, genericClause: SourceRepresentable<GenericClause>?, aliasedType: AnyExprID, site: SourceRange ) -
Declaration
Swift
public var baseName: String { get }
View on GitHub