Add Comment token
This commit is contained in:
parent
c925939faf
commit
0d89cfefc1
3 changed files with 19 additions and 1 deletions
|
@ -8,6 +8,7 @@ pub enum Token {
|
|||
RightParen(String),
|
||||
Identifier(String),
|
||||
Boolean(bool),
|
||||
Comment(String),
|
||||
}
|
||||
|
||||
/// A Lex is a Token extracted from a specific position in an input. It contains useful information about the token's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue