Skip to content

AndPattern

kareman edited this page Aug 13, 2020 · 4 revisions

AndPattern

A pattern which matches the wrapped pattern, without consuming any input.

public struct AndPattern<Wrapped:​ Pattern>:​ Pattern

Inheritance

Pattern

Nested Type Aliases

Input

public typealias Input = Wrapped.Input

Properties

wrapped

let wrapped:​ Wrapped

description

var description:​ String

Methods

createInstructions(_:​)

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

Clone this wiki locally