Skip to content

NotPattern

kareman edited this page Jul 1, 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

Initializers

init(_:)

@inlinable init(_ wrapped: Wrapped)

Properties

wrapped

let wrapped: Wrapped

description

var description: String

Methods

createInstructions(_:)

@inlinable public func createInstructions(_ instructions: inout Instructions) throws
Clone this wiki locally