mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
renamed "forinstmt" to "for_in_stmt"
This commit is contained in:
@@ -69,7 +69,7 @@ private class TControlStmt =
|
|||||||
|
|
||||||
private class TLoopStmt = TEnhancedForLoop or @while_stmt or @do_while_stmt or @for_stmt;
|
private class TLoopStmt = TEnhancedForLoop or @while_stmt or @do_while_stmt or @for_stmt;
|
||||||
|
|
||||||
private class TEnhancedForLoop = @forinstmt or @foreachstmt or @forofstmt;
|
private class TEnhancedForLoop = @for_in_stmt or @foreachstmt or @forofstmt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A control statement, that is, is a loop, an if statement, a switch statement,
|
* A control statement, that is, is a loop, an if statement, a switch statement,
|
||||||
@@ -878,7 +878,7 @@ class EnhancedForLoop extends TEnhancedForLoop, LoopStmt {
|
|||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
class ForInStmt extends @forinstmt, EnhancedForLoop { }
|
class ForInStmt extends @for_in_stmt, EnhancedForLoop { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A `for`-`of` loop.
|
* A `for`-`of` loop.
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ case @stmt.kind of
|
|||||||
| 12 = @while_stmt
|
| 12 = @while_stmt
|
||||||
| 13 = @do_while_stmt
|
| 13 = @do_while_stmt
|
||||||
| 14 = @for_stmt
|
| 14 = @for_stmt
|
||||||
| 15 = @forinstmt
|
| 15 = @for_in_stmt
|
||||||
| 16 = @debuggerstmt
|
| 16 = @debuggerstmt
|
||||||
| 17 = @functiondeclstmt
|
| 17 = @functiondeclstmt
|
||||||
| 18 = @vardeclstmt
|
| 18 = @vardeclstmt
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
<v>5385</v>
|
<v>5385</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@forinstmt</k>
|
<k>@for_in_stmt</k>
|
||||||
<v>1315</v>
|
<v>1315</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user