1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:48:12 +00:00

HackStudio+LanguageServers/Cpp: Show scope of symbols in Locator

This commit is contained in:
Itamar 2021-03-23 12:32:45 +02:00 committed by Andreas Kling
parent 6054a418e5
commit 84e34d76d8
10 changed files with 52 additions and 13 deletions

View file

@ -107,6 +107,7 @@ private:
String document_path_from_include_path(const StringView& include_path) const;
void update_declared_symbols(const DocumentData&);
GUI::AutocompleteProvider::DeclarationType type_of_declaration(const Declaration&);
String scope_of_declaration(const Declaration&);
Optional<GUI::AutocompleteProvider::ProjectLocation> find_preprocessor_definition(const DocumentData&, const GUI::TextPosition&);
OwnPtr<DocumentData> create_document_data(String&& text, const String& filename);