macro_rules! any_token {
($variant:ident($($arg:tt)*)) => { ... };
($variant:ident) => { ... };
}
Expand description
A macro that automatically expands to allow either a wagon_lexer::Tokens::ProductionToken
, a wagon_lexer::Tokens::MathToken
or a wagon_lexer::Tokens::MetadataToken
.