Module rustc_typeck::hir::map
[−]
[src]
rustc_private
)Modules
blocks |
[ Experimental ] This module provides a simplified abstraction for working with
code blocks identified by their integer node-id. In particular,
it captures a common set of attributes that all "function-like
things" (represented by |
definitions |
[ Experimental ] For each definition, we track the following data. A definition here is defined somewhat circularly as "something with a def-id", but it generally corresponds to things like structs, enums, etc. There are also some rather random cases (like const initializer expressions) that are mostly just leftovers. |
Structs
DefCollector |
[ Experimental ] Creates def ids for nodes in the AST. |
DefKey |
[ Experimental ] A unique identifier that we can use to lookup a definition
precisely. It combines the index of the definition's parent (if
any) with a |
DefPath |
[ Experimental ]
|
Definitions |
[ Experimental ] The definition table containing node definitions. It holds the DefPathTable for local DefIds/DefPaths and it also stores a mapping from NodeIds to local DefIds. |
DisambiguatedDefPathData |
[ Experimental ] Pair of |
Forest |
[ Experimental ] Stores a crate and any number of inlined items from other crates. |
MacroInvocationData |
[ Experimental ]
|
Map |
[ Experimental ] Represents a mapping from Node IDs to AST elements and their parent Node IDs |
NodesMatchingSuffix |
[ Experimental ]
|
Enums
DefPathData |
[ Experimental ]
|
Node |
[ Experimental ]
|
Functions
map_crate |
[ Experimental ]
|