Skip to main content

lex

Function lex 

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

Tokenize spec source.

Comments run from # or // to end of line, and whitespace is insignificant.