lex

Function lex 

Source
pub fn lex<T: Lexable>(
    text: String,
) -> Result<Vec<Located<T>>, Located<T::Error>>
Expand description

lexes the text with the provided Lexable type