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:
parent
1e0d71e42d
commit
d118fc5dfe
@ -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>? {
|
||||
|
Loading…
Reference in New Issue
Block a user