-
Notifications
You must be signed in to change notification settings - Fork 1
OrPattern
kareman edited this page Aug 13, 2020
·
4 revisions
A pattern which first tries the first
pattern,
if that fails it tries the second
pattern from the same position.
public struct OrPattern<First: Pattern, Second: Pattern>: Pattern where First.Input == Second.Input
public typealias Input = First.Input
@inlinable init(_ first: First, or second: Second)
let first: First
let second: Second
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.