Parser

public struct Parser<Token, Output>

Undocumented

  • Undocumented

    Declaration

    Swift

    public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
  • Undocumented

    Declaration

    Swift

    public let parse: ParseFunction
  • Undocumented

    Declaration

    Swift

    public init( parse: @escaping ParseFunction )