renamed "forinstmt" to "for_in_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:15 +02:00
parent 712a6dfccd
commit 454893d234
3 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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>