renamed "legacy_letstmt" to "legacy_let_stmt"

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

View File

@@ -1008,7 +1008,7 @@ class LetStmt extends @let_stmt, DeclStmt { }
* } * }
* ``` * ```
*/ */
class LegacyLetStmt extends @legacy_letstmt, DeclStmt { class LegacyLetStmt extends @legacy_let_stmt, DeclStmt {
/** Gets the statement this let statement scopes over. */ /** Gets the statement this let statement scopes over. */
Stmt getBody() { result = getChildStmt(-1) } Stmt getBody() { result = getChildStmt(-1) }

View File

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

View File

@@ -150,7 +150,7 @@
<v>551</v> <v>551</v>
</e> </e>
<e> <e>
<k>@legacy_letstmt</k> <k>@legacy_let_stmt</k>
<v>1</v> <v>1</v>
</e> </e>
<e> <e>