Refactor: Move optimizer related types to dedicated module

This commit reorganizes the optimizer code by creating a new `optimizer`
module. The `Optimizer` struct and its related logic remain in
`optimizer/optimizer.rs`, while `SubstitutionMap` and `UsageInfo` are
moved to `optimizer/substitution_map.rs`.

This change improves code organization and makes it easier to manage the
optimizer's components.
This commit is contained in:
Michael Schimmel
2026-02-25 19:47:33 +01:00
parent c64902726b
commit d3d1497c02
3 changed files with 332 additions and 319 deletions
+5
View File
@@ -0,0 +1,5 @@
pub mod optimizer;
pub mod substitution_map;
pub use optimizer::Optimizer;
pub use substitution_map::{SubstitutionMap, UsageInfo};