mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
renamed "legacy_letstmt" to "legacy_let_stmt"
This commit is contained in:
@@ -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. */
|
||||
Stmt getBody() { result = getChildStmt(-1) }
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ case @stmt.kind of
|
||||
| 21 = @for_of_stmt
|
||||
| 22 = @const_decl_stmt
|
||||
| 23 = @let_stmt
|
||||
| 24 = @legacy_letstmt
|
||||
| 24 = @legacy_let_stmt
|
||||
| 25 = @foreachstmt
|
||||
| 26 = @classdeclstmt
|
||||
| 27 = @importdeclaration
|
||||
@@ -191,7 +191,7 @@ case @stmt.kind of
|
||||
| 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;
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
<v>551</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@legacy_letstmt</k>
|
||||
<k>@legacy_let_stmt</k>
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user