Re-exports§
pub use build_hir::lower;pub use hir_builder::create_temporary_place;pub use hir_builder::get_reverse_postordered_blocks;pub use hir_builder::mark_instruction_ids;pub use hir_builder::mark_predecessors;pub use hir_builder::remove_dead_do_while_statements;pub use hir_builder::remove_unnecessary_try_catch;pub use hir_builder::remove_unreachable_for_updates;
Modules§
- build_
hir - find_
context_ identifiers - Rust equivalent of the TypeScript
FindContextIdentifierspass. - hir_
builder - identifier_
loc_ index - Builds an index mapping identifier node-IDs to source locations.
Enums§
- Function
Node - Represents a reference to a function AST node for lowering.
Analogous to TS’s
NodePath<t.Function>/BabelFn.
Functions§
- convert_
binding_ kind - Convert AST binding kind to HIR binding kind.
- each_
terminal_ successor - Yields successor block IDs (NOT fallthroughs, this is intentional).
Equivalent to TS
eachTerminalSuccessor. - terminal_
fallthrough - Returns the fallthrough block ID for terminals that have one.
Equivalent to TS
terminalFallthrough.