[gnome-builder] code: add new symbol kinds
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code: add new symbol kinds
- Date: Thu, 5 Dec 2019 20:56:22 +0000 (UTC)
commit 23961bb849576ce726f549308a30aa0f78024869
Author: Christian Hergert <chergert redhat com>
Date: Thu Dec 5 12:55:02 2019 -0800
code: add new symbol kinds
These will be used by newer LSP implementations
src/libide/code/ide-symbol.c | 4 ++++
src/libide/code/ide-symbol.h | 5 +++++
2 files changed, 9 insertions(+)
---
diff --git a/src/libide/code/ide-symbol.c b/src/libide/code/ide-symbol.c
index 5a080883f..b902aeab2 100644
--- a/src/libide/code/ide-symbol.c
+++ b/src/libide/code/ide-symbol.c
@@ -317,6 +317,10 @@ ide_symbol_kind_get_icon_name (IdeSymbolKind kind)
icon_name = "lang-union-symbolic";
break;
+ case IDE_SYMBOL_KIND_OBJECT:
+ case IDE_SYMBOL_KIND_EVENT:
+ case IDE_SYMBOL_KIND_OPERATOR:
+ case IDE_SYMBOL_KIND_TYPE_PARAM:
case IDE_SYMBOL_KIND_ARRAY:
case IDE_SYMBOL_KIND_BOOLEAN:
case IDE_SYMBOL_KIND_CONSTANT:
diff --git a/src/libide/code/ide-symbol.h b/src/libide/code/ide-symbol.h
index 8fbd00ec9..f3924970f 100644
--- a/src/libide/code/ide-symbol.h
+++ b/src/libide/code/ide-symbol.h
@@ -80,6 +80,11 @@ typedef enum
IDE_SYMBOL_KIND_XML_COMMENT,
IDE_SYMBOL_KIND_XML_CDATA,
+ IDE_SYMBOL_KIND_OBJECT,
+ IDE_SYMBOL_KIND_EVENT,
+ IDE_SYMBOL_KIND_OPERATOR,
+ IDE_SYMBOL_KIND_TYPE_PARAM,
+
IDE_SYMBOL_KIND_LAST
} IdeSymbolKind;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]