14 lines
207 B
Rust
14 lines
207 B
Rust
use crate::Identifier;
|
|
|
|
#[derive(Debug, PartialEq, Clone)]
|
|
pub enum Token {
|
|
Eof,
|
|
Equal,
|
|
Identifier(Identifier),
|
|
Integer(i64),
|
|
Plus,
|
|
Star,
|
|
LeftParenthesis,
|
|
RightParenthesis,
|
|
}
|