replaced Lexeme protocol with Token

This commit is contained in:
Ilya Puchka
2017-12-26 15:28:46 +01:00
parent 218822fcb0
commit 8d68edd725
7 changed files with 35 additions and 54 deletions

View File

@@ -40,7 +40,7 @@ extension String {
}
}
public enum Token : Equatable, Lexeme {
public enum Token : Equatable {
/// A token representing a piece of text.
case text(value: String, at: Range<String.Index>)