mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-13 09:53:15 +08:00
Hybrid tree-sitter + type-resolution call resolver for Kotlin, matching the existing Go/C/PHP/C#/Python/TypeScript/Java resolvers. Resolves intra-file and imported calls, method dispatch on typed receivers, extension functions, operator conventions (plus/compareTo/contains/get/unary), scope functions and trailing lambdas (it/this), smart-casts (is / when), super dispatch, constructor-val properties, and stdlib defaults. Targets the refreshed tree-sitter-kotlin grammar: discovers declarations via simple_identifier/type_identifier, walks the statements wrapper, extracts method names from navigation_suffix, descends call_suffix for trailing lambdas, reads delegation_specifier for inheritance, class_parameter for constructor fields, and import_list for imports. Wires the resolver into the per-file dispatch and registers its test suite (78 tests). Full suite green (4160 tests).