mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "letstmt" to "let_stmt"
This commit is contained in:
@@ -995,7 +995,7 @@ class ConstDeclStmt extends @const_decl_stmt, DeclStmt { }
|
||||
* 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`.
|
||||
|
||||
@@ -172,7 +172,7 @@ case @stmt.kind of
|
||||
| 20 = @catch_clause
|
||||
| 21 = @for_of_stmt
|
||||
| 22 = @const_decl_stmt
|
||||
| 23 = @letstmt
|
||||
| 23 = @let_stmt
|
||||
| 24 = @legacy_letstmt
|
||||
| 25 = @foreachstmt
|
||||
| 26 = @classdeclstmt
|
||||
@@ -191,7 +191,7 @@ case @stmt.kind of
|
||||
| 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;
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
<v>1118</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@letstmt</k>
|
||||
<k>@let_stmt</k>
|
||||
<v>551</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user