Function leo_parser::tokenizer::lexer::eat_identifier

source ·
fn eat_identifier(
    input: &mut Peekable<impl Iterator<Item = char>>,
) -> Option<String>
Expand description

Eat an identifier, that is, a string matching ‘[a-zA-Z][a-zA-Z\d_]*’, if any.