-
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: CustomStringConvertible
CustomStringConvertible
associatedtype Input
typealias ParsedRange = Range<Input.Index>
typealias Instructions = ContiguousArray<Instruction<Input>>
Appends Instructions for the Parser to instructions
.
@inlinable func createInstructions(_ instructions: inout Instructions) throws
Returns Instructions for the Parser.
@inlinable func createInstructions() throws -> Instructions
Generated at 2020-08-23T12:56:49+0000 using swift-doc 1.0.0-beta.3.