NestedExtendedDiff
public struct NestedExtendedDiff : DiffProtocol
Undocumented
-
Declaration
Swift
public typealias Index = Int
-
Declaration
Swift
public enum Element
-
Returns the position immediately after the given index.
Declaration
Swift
public func index(after i: Int) -> Int
Parameters
i
A valid index of the collection.
i
must be less thanendIndex
.Return Value
The index value immediately after
i
. -
An array of particular diff operations
Declaration
Swift
public var elements: [Element]
-
/ Initializes a new
NestedExtendedDiff
from a given array of diff operations.Declaration
Swift
public init(elements: [Element])
Parameters
elements
an array of particular diff operations
-
Declaration
Swift
public init(arrayLiteral elements: NestedExtendedDiff.Element...)