Module syntax::ast_map [−] [src]

Unstable

Reexports

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

Modules

blocks [Unstable]

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 [Unstable]

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

LinkedPath [Unstable]
LinkedPathNode [Unstable]
Map [Unstable]

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

NodesMatchingSuffix [Unstable]

Enums

Node [Unstable]
PathElem [Unstable]

Traits

FoldOps [Unstable]
NodePrinter [Unstable]

Functions

map_crate [Unstable]
map_decoded_item [Unstable]

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 [Unstable]

Type Definitions

PathElems [Unstable]

The type of the iterator used by with_path.