token

Function token 

Source
pub fn token<'a, S: Clone + 'a>(
    expected: &'a str,
) -> impl Parser<'_, Output = &'a str, State = S>
Expand description

Parse a given token string.

⚠️ Newlines are not allowed in tokens.