Module rustc::hir::map
[−]
[src]
rustc_private
)Reexports
pub use self::Node::*; |
pub use self::definitions::Definitions; |
pub use self::definitions::DefKey; |
pub use self::definitions::DefPath; |
pub use self::definitions::DefPathData; |
pub use self::definitions::DisambiguatedDefPathData; |
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. |
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
Node |
[ Experimental ]
|
Functions
map_crate |
[ Experimental ]
|