Skip to content

Commit 4f8d215

Browse files
committed
renamed "declstmt" to "decl_stmt"
1 parent 5e58d34 commit 4f8d215

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javascript/ql/src/semmle/javascript/Stmt.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ class FunctionDeclStmt extends @function_decl_stmt, Stmt, Function {
951951
* let i = 1, j = i-1;
952952
* ```
953953
*/
954-
class DeclStmt extends @declstmt, Stmt {
954+
class DeclStmt extends @decl_stmt, Stmt {
955955
/** Gets the `i`th declarator in this declaration statement. */
956956
VariableDeclarator getDecl(int i) { result = getChildExpr(i) and i >= 0 }
957957

javascript/ql/src/semmlecode.javascript.dbscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ case @stmt.kind of
191191
| 39 = @global_augmentation_declaration
192192
;
193193

194-
@declstmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
194+
@decl_stmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
195195

196196
@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
197197

@@ -200,7 +200,7 @@ case @stmt.kind of
200200

201201
is_instantiated(unique int decl: @namespace_declaration ref);
202202

203-
@declarable_node = @declstmt | @namespace_declaration | @class_decl_stmt | @function_decl_stmt | @enum_declaration | @external_module_declaration | @global_augmentation_declaration | @field;
203+
@declarable_node = @decl_stmt | @namespace_declaration | @class_decl_stmt | @function_decl_stmt | @enum_declaration | @external_module_declaration | @global_augmentation_declaration | @field;
204204
has_declare_keyword(unique int stmt: @declarable_node ref);
205205

206206
is_for_await_of(unique int forof: @for_of_stmt ref);

0 commit comments

Comments
 (0)