pub fn keyword<S>(input: &mut S) -> PResult<Keyword>where
S: TokenStream,
Expand description
Consume a keyword.
If you need to consume a specific keyword, use Keyword::?
directly, which already implements [Parser
].
pub fn keyword<S>(input: &mut S) -> PResult<Keyword>where
S: TokenStream,
Consume a keyword.
If you need to consume a specific keyword, use Keyword::?
directly, which already implements [Parser
].