-
Notifications
You must be signed in to change notification settings - Fork 1
RepeatPattern
kareman edited this page Aug 13, 2020
·
4 revisions
Repeats the wrapped pattern min times, then repeats it optionally max-min times.
Or an unlimited number of times if max is nil.
public struct RepeatPattern<Wrapped: Pattern>: PatternUsed by operators *+¿.
public typealias Input = Wrapped.Input@inlinable init<R: RangeExpression>(_ wrapped: Wrapped, range: R) where R.Bound == Intlet wrapped: Wrappedlet min: Intlet max: Int?var description: String@inlinable public func createInstructions(_ instructions: inout ContiguousArray<Instruction<Input>>) throwsGenerated at 2020-08-23T12:56:49+0000 using swift-doc 1.0.0-beta.3.