Function keyword

Source
pub fn keyword<S>(input: &mut S) -> ModalResult<Keyword>
where S: TokenStream,
Expand description

Consume a keyword.

If you need to consume a specific keyword, use Keyword::? directly, which already implements [Parser].