Collection
protocol Collection : Sequence where Self.SubSequence : Collection
An extension to make it easy to operate on any collection of Node
s
-
Returns the combined range of all
Node
s in theCollection
essentially setting thelowerBound
to the lowest of all range, and upperBound to the highest of all ranges.Declaration
Swift
public var combinedRange: Range<String.UnicodeScalarView.Index> { get }
-
Creates a new collection of RuleAnnotations where the merged annotations override those in this object
Declaration
Swift
public func merge(with incoming: RuleAnnotations) -> RuleAnnotations
Parameters
with
The annotations which will add to or override those already in the dictionary
-
A description in STLR format of the
RuleAnnotations
Declaration
Swift
public var stlrDescription: String { get }