Function rustc_tools::lexer

source ·
pub fn lexer(source_code: &str) -> Cursor<'_>
Expand description

Very basic lexer which return a lexer iterator. It doesn’t handle errors or anything. For more advanced usage, take a look at with_ast_parser instead.