File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import javascript
66 * Declarations that declare an alias for a namespace (i.e. an import) are not
77 * considered to be namespace definitions.
88 */
9- class NamespaceDefinition extends Stmt , @namespacedefinition , AST:: ValueNode {
9+ class NamespaceDefinition extends Stmt , @namespace_definition , AST:: ValueNode {
1010 /**
1111 * DEPRECATED: Use `getIdentifier()` instead.
1212 *
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ case @stmt.kind of
195195
196196@export_declaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
197197
198- @namespacedefinition = @namespace_declaration | @enum_declaration;
198+ @namespace_definition = @namespace_declaration | @enum_declaration;
199199@typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
200200
201201is_instantiated(unique int decl: @namespace_declaration ref);
@@ -695,7 +695,7 @@ case @symbol.kind of
695695;
696696
697697@type_with_symbol = @type_reference | @typevariable_type | @typeof_type | @unique_symbol_type;
698- @ast_node_with_symbol = @typedefinition | @namespacedefinition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
698+ @ast_node_with_symbol = @typedefinition | @namespace_definition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
699699
700700ast_node_symbol(
701701 unique int node: @ast_node_with_symbol ref,
You can’t perform that action at this time.
0 commit comments