Module passes

Module passes 

Source

Modules§

generate_item_indices
Assign the Element::item_index on each elements
infer_aliases_types
This pass resolves the type of two way bindings.
materialize_fake_properties
This pass creates properties that are used but are otherwise not real.
move_declarations
This pass moves all declaration of properties or callback to the root
resolve_native_classes
After inlining and moving declarations, all Element::base_type should be Type::BuiltinElement. This pass resolves them to NativeClass and picking a variant that only contains the used properties.
resolving
This pass resolves the property binding expressions.

Functions§

ignore_debug_hooks
run_import_passes
Run the passes on imported documents
run_passes