Index: pkg/analysis_server/lib/src/generated_protocol.dart |
diff --git a/pkg/analysis_server/lib/src/generated_protocol.dart b/pkg/analysis_server/lib/src/generated_protocol.dart |
index 6341ac326ea9d808e0d622f6e8619f768b0f8279..4f67be66ce20cc703a677c513d77ff27673eada2 100644 |
--- a/pkg/analysis_server/lib/src/generated_protocol.dart |
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart |
@@ -6556,6 +6556,8 @@ class Element implements HasToJson { |
* CLASS_TYPE_ALIAS |
* COMPILATION_UNIT |
* CONSTRUCTOR |
+ * ENUM |
+ * ENUM_CONSTANT |
* FIELD |
* FUNCTION |
* FUNCTION_TYPE_ALIAS |
@@ -6583,6 +6585,10 @@ class ElementKind implements Enum { |
static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); |
+ static const ENUM = const ElementKind._("ENUM"); |
+ |
+ static const ENUM_CONSTANT = const ElementKind._("ENUM_CONSTANT"); |
+ |
static const FIELD = const ElementKind._("FIELD"); |
static const FUNCTION = const ElementKind._("FUNCTION"); |
@@ -6618,7 +6624,7 @@ class ElementKind implements Enum { |
/** |
* A list containing all of the enum values that are defined. |
*/ |
- static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_ALIAS, COMPILATION_UNIT, CONSTRUCTOR, FIELD, FUNCTION, FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER, PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST_TEST, UNKNOWN]; |
+ static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_ALIAS, COMPILATION_UNIT, CONSTRUCTOR, ENUM, ENUM_CONSTANT, FIELD, FUNCTION, FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER, PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST_TEST, UNKNOWN]; |
final String name; |
@@ -6634,6 +6640,10 @@ class ElementKind implements Enum { |
return COMPILATION_UNIT; |
case "CONSTRUCTOR": |
return CONSTRUCTOR; |
+ case "ENUM": |
+ return ENUM; |
+ case "ENUM_CONSTANT": |
+ return ENUM_CONSTANT; |
case "FIELD": |
return FIELD; |
case "FUNCTION": |