Skip to main content

Module expr_store

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.
expander ๐Ÿ”’
Macro expansion utilities.
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ยง

ExprRoot ๐Ÿ”’
ExpressionOnlySourceMap ๐Ÿ”’
ExpressionOnlyStore ๐Ÿ”’
ExpressionStore
ExpressionStoreBuilder
The body of an item (function, const etc.).
ExpressionStoreSourceMap
FormatTemplate ๐Ÿ”’
HygieneId
A wrapper around [span::SyntaxContext] that is intended only for comparisons.

Enumsยง

ExpressionStoreDiagnostics
MissingBodyItemKind

Traitsยง

StoreVisitor
StoreVisitorExt

Functionsยง

visit_generic_args ๐Ÿ”’

Type Aliasesยง

ExprOrPatPtr
ExprOrPatSource
ExprPtr
ExprSource
FieldPtr
FieldSource
LabelPtr
BlockExpr -> Desugared label from try block
LabelSource
LifetimePtr
LifetimeSource
MacroCallPtr
PatFieldPtr
PatFieldSource
PatPtr
PatSource
SelfParamPtr
TypePtr
TypeSource