Struct m_lexer::Lexer [−][src]
pub struct Lexer { /* fields omitted */ }
Methods
impl Lexer
[src]
impl Lexer
pub fn next_token(&self, input: &str) -> Token
[src]
pub fn next_token(&self, input: &str) -> Token
pub fn tokenize(&self, input: &str) -> Vec<Token>
[src]
pub fn tokenize(&self, input: &str) -> Vec<Token>
pub fn test(&self, input: &str, expected: &str)
[src]
pub fn test(&self, input: &str, expected: &str)