renamed "constdeclstmt" to "const_decl_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:19 +02:00
parent 231583a3f8
commit 38c902f43b
3 changed files with 4 additions and 4 deletions

View File

@@ -984,7 +984,7 @@ class VarDeclStmt extends @var_decl_stmt, DeclStmt { }
* const fs = require('fs');
* ```
*/
class ConstDeclStmt extends @constdeclstmt, DeclStmt { }
class ConstDeclStmt extends @const_decl_stmt, DeclStmt { }
/**
* A `let` declaration statement.

View File

@@ -171,7 +171,7 @@ case @stmt.kind of
| 19 = @case
| 20 = @catch_clause
| 21 = @for_of_stmt
| 22 = @constdeclstmt
| 22 = @const_decl_stmt
| 23 = @letstmt
| 24 = @legacy_letstmt
| 25 = @foreachstmt
@@ -191,7 +191,7 @@ case @stmt.kind of
| 39 = @global_augmentation_declaration
;
@declstmt = @var_decl_stmt | @constdeclstmt | @letstmt | @legacy_letstmt;
@declstmt = @var_decl_stmt | @const_decl_stmt | @letstmt | @legacy_letstmt;
@exportdeclaration = @exportalldeclaration | @exportdefaultdeclaration | @exportnameddeclaration;

View File

@@ -142,7 +142,7 @@
<v>61</v>
</e>
<e>
<k>@constdeclstmt</k>
<k>@const_decl_stmt</k>
<v>1118</v>
</e>
<e>