Macro syn::Token

source ·
macro_rules! Token {
    (abstract) => { ... };
    (as) => { ... };
    (async) => { ... };
    (auto) => { ... };
    (become) => { ... };
    (box) => { ... };
    (break) => { ... };
    (const) => { ... };
    (continue) => { ... };
    (crate) => { ... };
    (default) => { ... };
    (do) => { ... };
    (dyn) => { ... };
    (else) => { ... };
    (enum) => { ... };
    (existential) => { ... };
    (extern) => { ... };
    (final) => { ... };
    (fn) => { ... };
    (for) => { ... };
    (if) => { ... };
    (impl) => { ... };
    (in) => { ... };
    (let) => { ... };
    (loop) => { ... };
    (macro) => { ... };
    (match) => { ... };
    (mod) => { ... };
    (move) => { ... };
    (mut) => { ... };
    (override) => { ... };
    (priv) => { ... };
    (pub) => { ... };
    (ref) => { ... };
    (return) => { ... };
    (Self) => { ... };
    (self) => { ... };
    (static) => { ... };
    (struct) => { ... };
    (super) => { ... };
    (trait) => { ... };
    (try) => { ... };
    (type) => { ... };
    (typeof) => { ... };
    (union) => { ... };
    (unsafe) => { ... };
    (unsized) => { ... };
    (use) => { ... };
    (virtual) => { ... };
    (where) => { ... };
    (while) => { ... };
    (yield) => { ... };
    (+) => { ... };
    (+=) => { ... };
    (&) => { ... };
    (&&) => { ... };
    (&=) => { ... };
    (@) => { ... };
    (!) => { ... };
    (^) => { ... };
    (^=) => { ... };
    (:) => { ... };
    (::) => { ... };
    (,) => { ... };
    (/) => { ... };
    (/=) => { ... };
    (.) => { ... };
    (..) => { ... };
    (...) => { ... };
    (..=) => { ... };
    (=) => { ... };
    (==) => { ... };
    (>=) => { ... };
    (>) => { ... };
    (<=) => { ... };
    (<) => { ... };
    (*=) => { ... };
    (!=) => { ... };
    (|) => { ... };
    (|=) => { ... };
    (||) => { ... };
    (#) => { ... };
    (?) => { ... };
    (->) => { ... };
    (<-) => { ... };
    (%) => { ... };
    (%=) => { ... };
    (=>) => { ... };
    (;) => { ... };
    (<<) => { ... };
    (<<=) => { ... };
    (>>) => { ... };
    (>>=) => { ... };
    (*) => { ... };
    (-) => { ... };
    (-=) => { ... };
    (~) => { ... };
    (_) => { ... };
}
Expand description

A type-macro that expands to the name of the Rust type representation of a given token.

See the token module documentation for details and examples.