macro_rules! tokay {
    ( { $( $items:tt ),+ } ) => { ... };
    ( $compiler:expr, ( $name:ident = $value:literal ) ) => { ... };
    ( $compiler:expr, ( _ = { $( $item:tt ),* } ) ) => { ... };
    ( $compiler:expr, ( $name:ident = { $( $item:tt ),* } ) ) => { ... };
    ( $compiler:expr, [ $( $item:tt ),* ] ) => { ... };
    ( $compiler:expr, { $( $item:tt ),* } ) => { ... };
    ( $compiler:expr, (kle $item:tt) ) => { ... };
    ( $compiler:expr, (pos $item:tt) ) => { ... };
    ( $compiler:expr, (opt $item:tt) ) => { ... };
    ( $compiler:expr, (not $item:tt) ) => { ... };
    ( $compiler:expr, (peek $item:tt) ) => { ... };
    ( $compiler:expr, (expect $item:tt) ) => { ... };
    ( $compiler:expr, (expect $item:tt, $msg:literal) ) => { ... };
    ( $compiler:expr, (value $value:tt) ) => { ... };
    ( $compiler:expr, (token $token:tt) ) => { ... };
    ( $compiler:expr, (call $ident:ident [ $( $param:tt ),* ] ) ) => { ... };
    ( $compiler:expr, $ident:ident ) => { ... };
    ( $compiler:expr, _ ) => { ... };
    ( $compiler:expr, (MATCH $literal:literal) ) => { ... };
    ( $compiler:expr, $literal:literal ) => { ... };
    ( $compiler:expr, $expr:tt ) => { ... };
}
Expand description

Macro to define a Tokay program embedded in Rust code without using the Tokay parser. In fact, this macro is used to bootstrap the Tokay parser as a Tokay program itself.