Crate ra_ap_hir_expand[−][src]
hir_expand deals with macro expansion.
Specifically, it implements a concept of MacroFile – a file whose syntax
tree originates not from the text of some FileId, but from some macro
expansion.
Modules
| ast_id_map |
|
| builtin_derive | Builtin derives. |
| builtin_macro | Builtin macro |
| db | Defines database & queries for macro expansion. |
| diagnostics | Semantic errors and warnings. |
| eager | Eager expansion related utils |
| hygiene | This modules handles hygiene information. |
| name | FIXME: write short doc here |
| proc_macro | Proc Macro Expander stub |
| quote | A simplified version of quote-crate like quasi quote macro |
Macros
| name | |
| quote | FIXME: It probably should implement in proc-macro |
Structs
| EagerCallLoc | |
| EagerMacroId | |
| ExpandResult | |
| ExpansionInfo | ExpansionInfo mainly describes how to map text range between src and expanded macro |
| HirFileId | Input to the analyzer is a set of files, where each file is identified by
|
| InFile |
|
| LazyMacroId | |
| MacroCallLoc | |
| MacroDefId | |
| MacroFile |
Enums
| ExpandError | |
| MacroCallId |
|
| MacroCallKind | |
| MacroDefKind | |
| Origin |
Type Definitions
| AstId |
|