Skip to content
kareman edited this page Aug 13, 2020 · 4 revisions

Concat

A pattern which first tries the first pattern, if that succeeds it continues with the second pattern.

public struct Concat<First: Pattern, Second: Pattern>: Pattern where First.Input == Second.Input

Inheritance

Pattern, RegexConvertible

Nested Type Aliases

Input

public typealias Input = First.Input

Initializers

init(_:_:)

@inlinable init(_ first: First, _ second: Second)

Properties

first

let first: First

second

let second: Second

description

var description: String

Methods

createInstructions(_:)

@inlinable public func createInstructions(_ instructions: inout ContiguousArray<Instruction<Input>>) throws
Clone this wiki locally