macro_rules! either_token {
    ($variant:ident($($arg:tt)*)) => { ... };
    ($variant:ident) => { ... };
}
Expand description

A macro that automatically expands to allow either a wagon_lexer::Tokens::ProductionToken or a wagon_lexer::Tokens::MathToken with the same name.