pub fn lex<T: Lexable>( text: String, ) -> Result<Vec<Located<T>>, Located<T::Error>>
lexes the text with the provided Lexable type
text
Lexable