Skip to main content

Module transform

Module transform 

Source

Re-exports§

pub use ctx::TransformCtx;

Modules§

add_missing_info
Passes that compute extra info to be stored in the crate.
control_flow
Passes that manipulate the control flow and reconstruct its structure.
ctx
finish_translation
Passes that finish translation, i.e. required for the output to be a valid output.
normalize
Passes that effect some kind of normalization on the crate.
resugar
Passes that undo some lowering done by rustc to recover an operation closer to what the user wrote.
simplify_output
Passes that make the output simpler/easier to consume.
typecheck_and_unify
utils

Structs§

PrintCtxPass

Enums§

CowBox
Pass

Functions§

run_transformation_passes
Run transformation passes on the crate before outputting it.