Module rustc_ap_rustc_span::symbol [−][src]
Expand description
An “interner” is a data structure that associates values with usize tags and allows bidirectional lookup; i.e., given a value, one can easily find the type, and vice versa.
Modules
kw | This module contains all the defined keyword |
sym | This module contains all the defined non-keyword |
Structs
Ident | |
IdentPrinter | This is the most general way to print identifiers.
AST pretty-printer is used as a fallback for turning AST structures into token streams for
proc macros. Additionally, proc macros may stringify their input and expect it survive the
stringification (especially true for proc macro derives written between Rust 1.15 and 1.30).
So we need to somehow pretty-print |
Interner | |
MacroRulesNormalizedIdent | An newtype around |
Symbol | An interned string. |
SymbolIndex | |
SymbolStr | An alternative to |