Move all the lexer stuff to a module directory

This commit is contained in:
Eryn Wells 2016-12-24 08:57:37 -07:00
parent d333819dee
commit d4dee92904
5 changed files with 97 additions and 92 deletions

View file

@ -14,7 +14,7 @@ pub struct Token {
}
impl Token {
fn new(kind: Kind, value: String) -> Token {
pub fn new(kind: Kind, value: String) -> Token {
Token { kind: kind, value: value, }
}
}