Lines Matching defs:token
32 //! - **Location information** — Every token parsed by Syn is associated with a
34 //! token. These spans allow a procedural macro to display detailed error
128 //! The token-based procedural macro API provides great control over where the
143 //! procedural macro as shown in the `heapsize` example, token-based macros in
314 pub mod token;
582 /// use syn::{token, Expr, ExprParen};
591 /// paren_token: token::Paren::default(),
865 /// "span" of the token), possibly allowing the compiler to produce better error
895 /// // Convert into a token stream and return it
905 /// Parse a proc-macro2 token stream into the chosen syntax tree node.