From 71c7597130a1c2e4622fc0179eff0cc62ecd4af8 Mon Sep 17 00:00:00 2001 From: Itamar Date: Sat, 27 Feb 2021 09:40:34 +0200 Subject: LanguageServers/Cpp: Add type to Declarations --- Userland/Libraries/LibGUI/AutocompleteProvider.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Userland/Libraries/LibGUI') diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.h b/Userland/Libraries/LibGUI/AutocompleteProvider.h index 2794a3b37d..3c7fa4cc76 100644 --- a/Userland/Libraries/LibGUI/AutocompleteProvider.h +++ b/Userland/Libraries/LibGUI/AutocompleteProvider.h @@ -62,9 +62,17 @@ public: size_t column { 0 }; }; + enum class DeclarationType { + Function, + Struct, + Class, + Variable + }; + struct Declaration { String name; ProjectLocation position; + DeclarationType type; }; virtual void provide_completions(Function)>) = 0; -- cgit v1.2.3