-
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>: Pattern
Used by operators *+¿
.
public typealias Input = Wrapped.Input
let wrapped: Wrapped
let min: Int
let max: Int?
var description: String
@inlinable public func createInstructions(_ instructions: inout ContiguousArray<Instruction<Input>>) throws
Generated at 2020-08-23T12:56:49+0000 using swift-doc 1.0.0-beta.3.