Skip to main content

lex

Function lex 

Source
pub fn lex(input: &str) -> Result<Vec<Token<'_>>, LexError>
Expand description

Lex an input string into a vector of tokens.

ยงErrors

Returns the first lexing error encountered.