Skip to main content

expect_identifier

Function expect_identifier 

Source
pub fn expect_identifier(
    input: &mut ParseInput<impl Iterator<Item = (Span, char)> + Clone>,
) -> Result<Option<(Span, String)>>
Expand description

Attempts to parse an identifier. If already at EOF, Ok(None) is returned.