2025-11-17 17:02:01 +09:00
|
|
|
|
//! 🎯 箱理論: Call系処理のモジュール分離
|
|
|
|
|
|
//!
|
|
|
|
|
|
//! 責務別に明確に分離された「箱」の集合:
|
|
|
|
|
|
//! - lowering: 関数lowering(static/instance method → MIR function)
|
|
|
|
|
|
//! - utils: ユーティリティ(resolve/parse/extract)
|
2025-11-17 17:11:21 +09:00
|
|
|
|
//! - emit: Call命令発行(統一Call/Legacy Call) ✅ Phase 2完了
|
|
|
|
|
|
//! - build: Call構築(function call/method call) ✅ Phase 2完了
|
2025-11-17 17:02:01 +09:00
|
|
|
|
|
|
|
|
|
|
// Existing modules (already implemented elsewhere)
|
|
|
|
|
|
pub mod annotation;
|
2025-09-25 09:01:55 +09:00
|
|
|
|
pub mod call_target;
|
2025-11-17 17:02:01 +09:00
|
|
|
|
pub mod call_unified;
|
2025-09-25 09:01:55 +09:00
|
|
|
|
pub mod extern_calls;
|
|
|
|
|
|
pub mod function_lowering;
|
2025-11-17 17:02:01 +09:00
|
|
|
|
pub mod method_resolution;
|
|
|
|
|
|
pub mod special_handlers;
|
2025-09-25 09:01:55 +09:00
|
|
|
|
|
2025-11-17 17:11:21 +09:00
|
|
|
|
// New refactored modules (Box Theory Phase 1 & 2)
|
2025-11-17 17:02:01 +09:00
|
|
|
|
pub mod lowering;
|
|
|
|
|
|
pub mod utils;
|
2025-11-17 17:11:21 +09:00
|
|
|
|
pub mod emit; // Phase 2: Call emission
|
|
|
|
|
|
pub mod build; // Phase 2: Call building
|
2025-11-01 12:50:18 +09:00
|
|
|
|
|
2025-11-17 17:02:01 +09:00
|
|
|
|
// Re-export public interfaces
|
|
|
|
|
|
pub use call_target::CallTarget;
|
|
|
|
|
|
pub use lowering::*;
|
|
|
|
|
|
pub use utils::*;
|
2025-11-17 17:11:21 +09:00
|
|
|
|
pub use emit::*;
|
|
|
|
|
|
pub use build::*;
|