diff options
author | Itamar <itamar8910@gmail.com> | 2022-05-14 17:09:24 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-21 18:15:58 +0200 |
commit | b35293d9458bd583f81ca1ec2df59f06e4690bf0 (patch) | |
tree | 88e6c1bf229cd54c2ff686c6bd304f06e6d9f8d3 /Userland/DevTools/HackStudio/ProjectDeclarations.h | |
parent | a2c34554cd5ff3a17583f885088000b7cf975121 (diff) | |
download | serenity-b35293d9458bd583f81ca1ec2df59f06e4690bf0.zip |
LibCodeComprehension: Re-organize code comprehension related code
This moves all code comprehension-related code to a new library,
LibCodeComprehension.
This also moves some types related to code comprehension tasks (such as
autocomplete, find declaration) out of LibGUI and into
LibCodeComprehension.
Diffstat (limited to 'Userland/DevTools/HackStudio/ProjectDeclarations.h')
-rw-r--r-- | Userland/DevTools/HackStudio/ProjectDeclarations.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/DevTools/HackStudio/ProjectDeclarations.h b/Userland/DevTools/HackStudio/ProjectDeclarations.h index 70c2a15d4a..c8e3e2b0d7 100644 --- a/Userland/DevTools/HackStudio/ProjectDeclarations.h +++ b/Userland/DevTools/HackStudio/ProjectDeclarations.h @@ -23,15 +23,15 @@ public: template<typename Func> void for_each_declared_symbol(Func); - void set_declared_symbols(String const& filename, Vector<GUI::AutocompleteProvider::Declaration> const&); + void set_declared_symbols(String const& filename, Vector<CodeComprehension::Declaration> const&); - static Optional<GUI::Icon> get_icon_for(GUI::AutocompleteProvider::DeclarationType); + static Optional<GUI::Icon> get_icon_for(CodeComprehension::DeclarationType); Function<void()> on_update = nullptr; private: ProjectDeclarations() = default; - HashMap<String, Vector<GUI::AutocompleteProvider::Declaration>> m_document_to_declarations; + HashMap<String, Vector<CodeComprehension::Declaration>> m_document_to_declarations; }; template<typename Func> |