Skip to content

Instantly share code, notes, and snippets.

View adamkuipers's full-sized avatar

Adam Kuipers adamkuipers

View GitHub Profile
class Parser<T> : StringLiteralConvertible {
typealias StringLiteralType = Swift.StringLiteralType
typealias ExtendedGraphemeClusterLiteralType = ExtendedGraphemeClusterType
typealias UnicodeScalarLiteralType = UnicodeScalarType
let token: String
required init(stringLiteral value: StringLiteralType) {
self.token = value
}