Macro vhdl_parser::try_token_kind
source · macro_rules! try_token_kind {
($token:expr, $($($kind:ident)|+ => $result:expr),*) => { ... };
}
Expand description
Expect any number of token kind patterns, return on no match with error message based on expected kinds