renamed "breakstmt" to "break_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:07 +02:00
parent ded939468e
commit 4a44f0ee23
3 changed files with 4 additions and 4 deletions

View File

@@ -459,7 +459,7 @@ class LabeledStmt extends @labeled_stmt, Stmt {
private class TJumpStmt = TBreakOrContinueStmt or @returnstmt or @throwstmt; private class TJumpStmt = TBreakOrContinueStmt or @returnstmt or @throwstmt;
private class TBreakOrContinueStmt = @breakstmt or @continuestmt; private class TBreakOrContinueStmt = @break_stmt or @continuestmt;
/** /**
* A statement that disrupts structured control flow, that is, a `continue` statement, * A statement that disrupts structured control flow, that is, a `continue` statement,
@@ -524,7 +524,7 @@ class BreakOrContinueStmt extends TBreakOrContinueStmt, JumpStmt {
* break; * break;
* ``` * ```
*/ */
class BreakStmt extends @breakstmt, BreakOrContinueStmt { } class BreakStmt extends @break_stmt, BreakOrContinueStmt { }
/** /**
* A `continue` statement. * A `continue` statement.

View File

@@ -154,7 +154,7 @@ case @stmt.kind of
| 2 = @expr_stmt | 2 = @expr_stmt
| 3 = @if_stmt | 3 = @if_stmt
| 4 = @labeled_stmt | 4 = @labeled_stmt
| 5 = @breakstmt | 5 = @break_stmt
| 6 = @continuestmt | 6 = @continuestmt
| 7 = @withstmt | 7 = @withstmt
| 8 = @switchstmt | 8 = @switchstmt

View File

@@ -74,7 +74,7 @@
<v>1378</v> <v>1378</v>
</e> </e>
<e> <e>
<k>@breakstmt</k> <k>@break_stmt</k>
<v>10149</v> <v>10149</v>
</e> </e>
<e> <e>