1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 12:57:49 +03:00

Parser state has public fields.

This commit is contained in:
Rob Rix 2015-09-11 10:03:52 -04:00
parent 1e0d71e42d
commit d118fc5dfe

View File

@ -1,6 +1,6 @@
public struct State<T> {
let rest: String
let value: T
public let rest: String
public let value: T
}
public prefix func ^(string: String)(_ input: String) -> State<String>? {