SKSequence
public protocol SKSequence : AnyObject, Decodable, Encodable, Equatable
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
associatedtype SequenceElement : SKSequence - 
                  
                  
The zero-based pre-order depth-first search (DFS) index of the substructure relative to the source file.
Note
The first entity in each source file will begin from zero.
Note
The parents are not compared for equality.
Declaration
Swift
var index: Int? { get set } - 
                  
                  
The path to the source file.
Note
The parents are not compared for equality.Declaration
Swift
var filePath: String? { get set } - 
                  
                  
The parent entity, or
nilif this entity is a root.Important
The use of
SKFinalSubclass.parentshould be preferred.Note
The parents are not compared for equality.
Declaration
Swift
var internalParent: SequenceElement? { get set } - 
                  
                  
The entity children contained in the particular entity (sub-classes, references, etc.).
Important
The use ofSKFinalSubclass.childrenshould be preferred.Declaration
Swift
var internalChildren: [SequenceElement]? { get set } - 
                  
                  
Overridden by subclasses to substitute a new iterator class for
SKChildren.The default iterator class used is
SKPreOrderDFSIterator, which is a pre-order (NLR) depth-first search (DFS) traversing iterator.Declaration
Swift
static func iteratorClass<SequenceElement>() -> SKPreOrderDFSIterator<SequenceElement>.Type where SequenceElement : SKSequenceReturn Value
The iterator class used for iterating through
SKChildren. 
        SKSequence Protocol Reference