renamed "letstmt" to "let_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:20 +02:00
parent 38c902f43b
commit 945e2c7fe0
3 changed files with 4 additions and 4 deletions

View File

@@ -995,7 +995,7 @@ class ConstDeclStmt extends @const_decl_stmt, DeclStmt { }
* let i = 1, j = i-1; * let i = 1, j = i-1;
* ``` * ```
*/ */
class LetStmt extends @letstmt, DeclStmt { } class LetStmt extends @let_stmt, DeclStmt { }
/** /**
* A legacy `let` statement, that is, a statement of the form `let(vardecls) stmt`. * A legacy `let` statement, that is, a statement of the form `let(vardecls) stmt`.

View File

@@ -172,7 +172,7 @@ case @stmt.kind of
| 20 = @catch_clause | 20 = @catch_clause
| 21 = @for_of_stmt | 21 = @for_of_stmt
| 22 = @const_decl_stmt | 22 = @const_decl_stmt
| 23 = @letstmt | 23 = @let_stmt
| 24 = @legacy_letstmt | 24 = @legacy_letstmt
| 25 = @foreachstmt | 25 = @foreachstmt
| 26 = @classdeclstmt | 26 = @classdeclstmt
@@ -191,7 +191,7 @@ case @stmt.kind of
| 39 = @global_augmentation_declaration | 39 = @global_augmentation_declaration
; ;
@declstmt = @var_decl_stmt | @const_decl_stmt | @letstmt | @legacy_letstmt; @declstmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_letstmt;
@exportdeclaration = @exportalldeclaration | @exportdefaultdeclaration | @exportnameddeclaration; @exportdeclaration = @exportalldeclaration | @exportdefaultdeclaration | @exportnameddeclaration;

View File

@@ -146,7 +146,7 @@
<v>1118</v> <v>1118</v>
</e> </e>
<e> <e>
<k>@letstmt</k> <k>@let_stmt</k>
<v>551</v> <v>551</v>
</e> </e>
<e> <e>