Expand description
tt
crate defines a TokenTree
data structure: this is the interface (both
input and output) of macros. It closely mirrors proc_macro
crate’s
TokenTree
.
Modules§
- Stateful iteration over token trees.
Structs§
- Identifier or keyword. Unlike rustc, we keep “r#” prefix when it represents a raw identifier.
- A
SmolStr
is a string type that has the following properties: - A range in text, represented as a pair of
TextSize
. - A measure of text length. Also, equivalently, an index into text.