renamed "vardeclstmt" to "var_decl_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:17 +02:00
parent 6f667a6e82
commit d0e4748def
3 changed files with 4 additions and 4 deletions

View File

@@ -973,7 +973,7 @@ class DeclStmt extends @declstmt, Stmt {
* var count = 0; * var count = 0;
* ``` * ```
*/ */
class VarDeclStmt extends @vardeclstmt, DeclStmt { } class VarDeclStmt extends @var_decl_stmt, DeclStmt { }
/** /**
* A `const` declaration statement. * A `const` declaration statement.

View File

@@ -167,7 +167,7 @@ case @stmt.kind of
| 15 = @for_in_stmt | 15 = @for_in_stmt
| 16 = @debugger_stmt | 16 = @debugger_stmt
| 17 = @function_decl_stmt | 17 = @function_decl_stmt
| 18 = @vardeclstmt | 18 = @var_decl_stmt
| 19 = @case | 19 = @case
| 20 = @catchclause | 20 = @catchclause
| 21 = @forofstmt | 21 = @forofstmt
@@ -191,7 +191,7 @@ case @stmt.kind of
| 39 = @global_augmentation_declaration | 39 = @global_augmentation_declaration
; ;
@declstmt = @vardeclstmt | @constdeclstmt | @letstmt | @legacy_letstmt; @declstmt = @var_decl_stmt | @constdeclstmt | @letstmt | @legacy_letstmt;
@exportdeclaration = @exportalldeclaration | @exportdefaultdeclaration | @exportnameddeclaration; @exportdeclaration = @exportalldeclaration | @exportdefaultdeclaration | @exportnameddeclaration;

View File

@@ -126,7 +126,7 @@
<v>16771</v> <v>16771</v>
</e> </e>
<e> <e>
<k>@vardeclstmt</k> <k>@var_decl_stmt</k>
<v>105606</v> <v>105606</v>
</e> </e>
<e> <e>