Move all the lexer stuff to a module directory
This commit is contained in:
parent
d333819dee
commit
d4dee92904
5 changed files with 97 additions and 92 deletions
|
@ -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, }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue