Module expr_store

Source
Expand description

Defines ExpressionStore: a lowered representation of functions, statics and consts.

Re-exports§

pub use self::body::Body;
pub use self::body::BodySourceMap;
pub use self::lower::hir_assoc_type_binding_to_ast;
pub use self::lower::hir_generic_arg_to_ast;
pub use self::lower::hir_segment_to_ast_segment;

Modules§

body
Defines Body: a lowered representation of functions, statics and consts.
lower
Transforms ast::Expr into an equivalent hir_def::expr::Expr representation.
path
A desugared representation of paths like crate::foo or <Type as Trait>::bar.
pretty
A pretty-printer for HIR.
scope
Name resolution for expressions.

Structs§

ExpressionStore
ExpressionStoreBuilder
The body of an item (function, const etc.).
ExpressionStoreSourceMap
HygieneId
A wrapper around [span::SyntaxContextId] that is intended only for comparisons.

Enums§

ExpressionStoreDiagnostics

Type Aliases§

ExprOrPatPtr
ExprOrPatSource
ExprPtr
ExprSource
FieldPtr
FieldSource
LabelPtr
LabelSource
LifetimePtr
LifetimeSource
MacroCallPtr
PatFieldPtr
PatFieldSource
PatPtr
PatSource
SelfParamPtr
TypePtr
TypeSource