refactor: 大規模リファクタリング成功!2ファイル改善
✨ Phase 1-2: plugin_loader_v2改善(1006→527行、47.5%削減) - extern_functions.rs: env.*外部関数(261行) - ffi_bridge.rs: FFI/TLV処理(158行) - instance_manager.rs: インスタンス管理(140行) - method_resolver.rs: メソッド解決(126行) ✨ Phase 3: build_method_call改善(101→50行、51%削減) - method_call_handlers.rs: ハンドラー分離(111行) - TypeOp重複バグ修正(18行削除) - Single Responsibility原則遵守 - 保守性・可読性大幅向上 🎯 効果: - 総削減: loader.rs 479行 + build_method_call 51行 - コード品質: 責任分離による保守性向上 - バグ修正: TypeOp処理の重複を解消
This commit is contained in:
@ -14,6 +14,7 @@ use std::collections::HashMap;
|
||||
use std::collections::HashSet;
|
||||
mod builder_calls;
|
||||
mod call_resolution; // ChatGPT5 Pro: Type-safe call resolution utilities
|
||||
mod method_call_handlers; // Method call handler separation (Phase 3)
|
||||
mod decls; // declarations lowering split
|
||||
mod exprs; // expression lowering split
|
||||
mod exprs_call; // call(expr)
|
||||
|
||||
Reference in New Issue
Block a user