Skip to main content

lex

Function lex 

Source
pub fn lex(text: &str) -> Vec<Token>
Expand description

Splits text into tokens, always ending with a single Tok::Eof.