@@ -185,7 +185,7 @@ case @stmt.kind of
185185| 33 = @export_assign_declaration
186186| 34 = @interface_declaration
187187| 35 = @type_alias_declaration
188- | 36 = @enumdeclaration
188+ | 36 = @enum_declaration
189189| 37 = @external_module_declaration
190190| 38 = @exportasnamespacedeclaration
191191| 39 = @global_augmentation_declaration
@@ -195,12 +195,12 @@ case @stmt.kind of
195195
196196@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
197197
198- @namespacedefinition = @namespace_declaration | @enumdeclaration ;
199- @typedefinition = @classdefinition | @interface_declaration | @enumdeclaration | @type_alias_declaration | @enum_member;
198+ @namespacedefinition = @namespace_declaration | @enum_declaration ;
199+ @typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
200200
201201is_instantiated(unique int decl: @namespace_declaration ref);
202202
203- @declarable_node = @declstmt | @namespace_declaration | @class_decl_stmt | @function_decl_stmt | @enumdeclaration | @external_module_declaration | @global_augmentation_declaration | @field;
203+ @declarable_node = @declstmt | @namespace_declaration | @class_decl_stmt | @function_decl_stmt | @enum_declaration | @external_module_declaration | @global_augmentation_declaration | @field;
204204has_declare_keyword(unique int stmt: @declarable_node ref);
205205
206206is_for_await_of(unique int forof: @for_of_stmt ref);
@@ -507,7 +507,7 @@ case @property.kind of
507507| 9 = @parameter_field
508508;
509509
510- @property_parent = @obj_expr | @object_pattern | @classdefinition | @jsx_element | @interfacedefinition | @enumdeclaration ;
510+ @property_parent = @obj_expr | @object_pattern | @classdefinition | @jsx_element | @interfacedefinition | @enum_declaration ;
511511@property_accessor = @property_getter | @property_setter;
512512@call_signature = @function_call_signature | @constructor_call_signature;
513513@field = @proper_field | @parameter_field;
@@ -517,7 +517,7 @@ is_computed (int id: @property ref);
517517is_method (int id: @property ref);
518518is_static (int id: @property ref);
519519is_abstract_member (int id: @property ref);
520- is_const_enum (int id: @enumdeclaration ref);
520+ is_const_enum (int id: @enum_declaration ref);
521521is_abstract_class (int id: @class_decl_stmt ref);
522522
523523has_public_keyword (int id: @property ref);
@@ -1130,7 +1130,7 @@ xmllocations(
11301130
11311131@xmllocatable = @xmlcharacters | @xmlelement | @xmlcomment | @xmlattribute | @xmldtd | @file | @xmlnamespace;
11321132
1133- @dataflownode = @expr | @function_decl_stmt | @class_decl_stmt | @namespace_declaration | @enumdeclaration | @property;
1133+ @dataflownode = @expr | @function_decl_stmt | @class_decl_stmt | @namespace_declaration | @enum_declaration | @property;
11341134
11351135@optionalchainable = @call_expr | @propaccess;
11361136
0 commit comments