-
Notifications
You must be signed in to change notification settings - Fork 1
Pattern
kareman edited this page Aug 13, 2020
·
3 revisions
Something that can create Instructions for the Parser.
public protocol Pattern: CustomStringConvertibleCustomStringConvertible
associatedtype Inputtypealias ParsedRange = Range<Input.Index>typealias Instructions = ContiguousArray<Instruction<Input>>Appends Instructions for the Parser to instructions.
@inlinable func createInstructions(_ instructions: inout Instructions) throwsReturns Instructions for the Parser.
@inlinable func createInstructions() throws -> InstructionsGenerated at 2020-08-23T12:56:49+0000 using swift-doc 1.0.0-beta.3.