Structureswift-syntax 600.0.1SwiftSyntax
SyntaxCollectionIterator
An iterator over a SyntaxCollection
.
struct SyntaxCollectionIterator<E> where E : SyntaxProtocol
An iterator over a SyntaxCollection
.
struct SyntaxCollectionIterator<E> where E : SyntaxProtocol
import SwiftSyntax
A library for working with Swift code.
protocol SyntaxCollection : BidirectionalCollection, ExpressibleByArrayLiteral, SyntaxProtocol where Self.Element : SyntaxProtocol, Self.Index == SyntaxChildrenIndex
protocol SyntaxProtocol : CustomDebugStringConvertible, CustomReflectable, CustomStringConvertible, Sendable, TextOutputStreamable
Provide common functionality for specialized syntax nodes. Extend this protocol to provide common functionality for all syntax nodes.
protocol IteratorProtocol<Element>
A type that supplies the values of a sequence one at a time.
mutating func next() -> Element?
typealias Element = E