Skip to main content

Token

Macro Token 

Source
macro_rules! Token {
    [$($spelling:tt)*] => { ... };
}
Expand description

Names the token type generated for an M2 spelling.

Rust spacing and string-fragment boundaries do not affect the result, so Token![!=], Token![! =], Token!["!="], and mixed forms name the same type. String fragments can contain characters that Rust cannot tokenize.