Skip to content

Pattern

kareman edited this page Aug 13, 2020 · 3 revisions

Pattern

Something that can create Instructions for the Parser.

public protocol Pattern:​ CustomStringConvertible

Inheritance

CustomStringConvertible

Requirements

createInstructions(_:​)

Appends Instructions for the Parser to instructions.

@inlinable func createInstructions(_ instructions:inout Instructions) throws

createInstructions()

Returns Instructions for the Parser.

@inlinable func createInstructions() throws -> Instructions

Clone this wiki locally