mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 22:42:08 +00:00
![]() This is a pretty fundamental refactor of the way CppComprehensionEngine works. Previously, in order to answer queries such as "goto definition" or "autocomplete", we would do ad-hoc logic of walking the AST, collecting available declaration nodes, computing scopes, and so on. This commit introduces an architectural change where each Document builds a hashmap of symbols on creation. With these hashmaps, it's easier to iterate over all of the available symbols, and to answer a query such as "which symbols are defined in this scope". |
||
---|---|---|
.. | ||
Tests | ||
ClientConnection.h | ||
CMakeLists.txt | ||
CppComprehensionEngine.cpp | ||
CppComprehensionEngine.h | ||
main.cpp | ||
Tests.cpp | ||
Tests.h |