Macro mentat_parser_utils::def_matches_keyword
[−]
[src]
macro_rules! def_matches_keyword { ( $parser: ident, $name: ident, $input: expr ) => { ... }; }
Generate a satisfy
expression that matches a Keyword
value with the given name.
We do this rather than using combine::token
to save allocations.