Skip to main content

lex

Function lex 

Source
pub fn lex(src: &str, base: u32) -> (Vec<Token>, Vec<Diagnostic>)
Expand description

Lex src, whose first byte sits at offset base of the enclosing file (non-zero when lexing an interpolated expression inside a string).