Expand description
Method call representation and resolution
This module provides:
MethodCall- Structured representation of method calls with receiver informationMethodCallResolver- Per-file storage for method calls and variable types
§Architecture
Parser
├─ find_variable_types() ──┐
└─ find_method_calls() ────┼─→ MethodCallResolver (per file)
│ - variable_types: HashMap<String, String>
│ - method_calls: Vec<MethodCall>
│
↓
LanguageBehavior::resolve_method_call()§Separation of Concerns
MethodCallResolver- owns DATA (variable types, method calls)LanguageBehavior- owns LOGIC (language-specific resolution)- Indexer - orchestrates WHEN to call what
Structs§
- Method
Call - Represents a method call with rich receiver information
- Method
Call Resolver - Owns method call resolution data for a single file