Module syntax::ast_mapUnstable [-] [+] [src]

Reexports

pub use self::Node::*;
pub use self::PathElem::*;

Modules

blocks

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 FnLike instances) share. For example, all FnLike instances have a type signature (be it explicit or inferred). And all FnLike instances have a body, i.e. the code that is run when the function-like thing it represents is invoked.

Structs

Forest

Stores a crate and any number of inlined items from other crates.

Map

Represents a mapping from Node IDs to AST elements and their parent Node IDs

NodesMatchingSuffix

Enums

Node
PathElem

Traits

FoldOps
NodePrinter

Functions

map_crate
map_decoded_item

Used for items loaded from external crate that are being inlined into this crate. The path should be the path to the item but should not include the item itself.

path_to_string

Type Definitions

PathElems

The type of the iterator used by with_path.