Macro static_analyser::tok
[−]
[src]
macro_rules! tok { ($thing:tt) => { ... }; }
Shorthand macro for generating a token from anything which can be
converted into a TokenKind, or any of the TokenKind variants.
Examples
#[macro_use] extern crate static_analyser; tok!(Dot); tok!(123); tok!(3.14); tok!(OpenParen);