renamed "exportnameddeclaration" to "export_named_declaration"

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

View File

@@ -351,7 +351,7 @@ class ExportDefaultDeclaration extends ExportDeclaration, @export_default_declar
* export { x } from 'a';
* ```
*/
class ExportNamedDeclaration extends ExportDeclaration, @exportnameddeclaration {
class ExportNamedDeclaration extends ExportDeclaration, @export_named_declaration {
/** Gets the operand statement or expression that is exported by this declaration. */
ExprOrStmt getOperand() { result = getChild(-1) }

View File

@@ -179,7 +179,7 @@ case @stmt.kind of
| 27 = @import_declaration
| 28 = @export_all_declaration
| 29 = @export_default_declaration
| 30 = @exportnameddeclaration
| 30 = @export_named_declaration
| 31 = @namespace_declaration
| 32 = @importequalsdeclaration
| 33 = @exportassigndeclaration
@@ -193,7 +193,7 @@ case @stmt.kind of
@declstmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
@exportdeclaration = @export_all_declaration | @export_default_declaration | @exportnameddeclaration;
@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
@namespacedefinition = @namespace_declaration | @enumdeclaration;
@typedefinition = @classdefinition | @interfacedeclaration | @enumdeclaration | @typealiasdeclaration | @enum_member;

View File

@@ -182,7 +182,7 @@
<v>5</v>
</e>
<e>
<k>@exportnameddeclaration</k>
<k>@export_named_declaration</k>
<v>31</v>
</e>
<e>