IteratorDescription
public struct IteratorDescription : CoreTraitDescription
A view of Hylo.Iterator‘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
nextrequirement.Declaration
Swift
public let next: FunctionDecl.ID -
Creates an instance referring to the declaration of
Hylo.Iteratorinast.Requires
The standard library must have been loaded inast.Declaration
Swift
public init(_ ast: AST)
View on GitHub