[][src]Macro vhdl_parser::try_token_kind

macro_rules! try_token_kind {
    ($token:expr, $($($kind:ident)|+ => $result:expr),*) => { ... };
}

Expect any number of token kind patterns, return on no match with error diagnostic based on expected kinds