CollectionDescription
public struct CollectionDescription : CoreTraitDescription
A view of Hylo.Collection‘s declaration from the standard library.
-
The identifier of the trait declaration.
Declaration
Swift
public let decl: TraitDecl.ID -
the
Elementrequirement.Declaration
Swift
public let element: AssociatedTypeDecl.ID -
The
Positionrequirement.Declaration
Swift
public let position: AssociatedTypeDecl.ID -
The
start_positionrequirement.Declaration
Swift
public let startPosition: FunctionDecl.ID -
The
start_positionrequirement.Declaration
Swift
public let endPosition: FunctionDecl.ID -
The
position(after:)requirement.Declaration
Swift
public let positionAfter: FunctionDecl.ID -
The
[].letrequirement.Declaration
Swift
public let access: SubscriptImpl.ID -
Creates an instance referring to the declaration of
Hylo.Collectioninast.Requires
The standard library must have been loaded inast.Declaration
Swift
public init(_ ast: AST)
View on GitHub