1 2 3 4 5 6
use crate::token::Token; pub trait LexerTrait { fn new(input: &str) -> Self; fn tokenize(&mut self) -> Vec<Token>; }