renamed "exportdeclaration" to "export_declaration"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:55:26 +02:00
parent 4f8d2156c0
commit 8c812dcdfb
2 changed files with 3 additions and 3 deletions

View File

@@ -230,7 +230,7 @@ class SelectiveImportDeclaration extends ImportDeclaration {
* export x from 'a'; // default re-export declaration * export x from 'a'; // default re-export declaration
* ``` * ```
*/ */
abstract class ExportDeclaration extends Stmt, @exportdeclaration { abstract class ExportDeclaration extends Stmt, @export_declaration {
/** Gets the module to which this export declaration belongs. */ /** Gets the module to which this export declaration belongs. */
ES2015Module getEnclosingModule() { this = result.getAnExport() } ES2015Module getEnclosingModule() { this = result.getAnExport() }

View File

@@ -193,7 +193,7 @@ case @stmt.kind of
@decl_stmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt; @decl_stmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration; @export_declaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
@namespacedefinition = @namespace_declaration | @enum_declaration; @namespacedefinition = @namespace_declaration | @enum_declaration;
@typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member; @typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
@@ -389,7 +389,7 @@ case @expr.kind of
@exportspecifier = @named_export_specifier | @export_default_specifier | @export_namespace_specifier; @exportspecifier = @named_export_specifier | @export_default_specifier | @export_namespace_specifier;
@import_or_export_declaration = @import_declaration | @exportdeclaration; @import_or_export_declaration = @import_declaration | @export_declaration;
@typeassertion = @as_type_assertion | @prefix_type_assertion; @typeassertion = @as_type_assertion | @prefix_type_assertion;