mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LanguageServers/Cpp: Add type to Declarations
This commit is contained in:
parent
4b483071fb
commit
71c7597130
2 changed files with 14 additions and 0 deletions
|
@ -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<void(Vector<Entry>)>) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue