Skip to content

NotPattern

kareman edited this page Aug 13, 2020 · 4 revisions

NotPattern

A pattern which only succeeds if the wrapped pattern fails. The next pattern will continue from where wrapped started.

public struct NotPattern<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