feat(lsp): method call hierarchy for extend Type / .Method (0.9)

Index methods inside extend/impl blocks and include .Method( call sites
in the call graph so IDEs can navigate receiver methods.

- analyzeFile: track extend/impl brace scope; kind=method + container
- Call hierarchy treats methods as callables; display Type.Method
- smoke_lsp_method_hierarchy (Scale→Len, Main→Scale)
This commit is contained in:
2026-07-19 23:22:13 +03:00
parent 5de8d8912d
commit 8f645ad68b
5 changed files with 202 additions and 38 deletions
+3
View File
@@ -202,6 +202,9 @@ test-lsp: lsp
@echo "=== LSP call hierarchy smoke ==="
@chmod +x tools/smoke_lsp_call_hierarchy.sh
@tools/smoke_lsp_call_hierarchy.sh
@echo "=== LSP method call hierarchy smoke ==="
@chmod +x tools/smoke_lsp_method_hierarchy.sh
@tools/smoke_lsp_method_hierarchy.sh
.PHONY: test-registry
test-registry: build