Skip to content

Commit cf149bd

Browse files
committed
add static_initializer as a stmt_parent
1 parent 0b83d03 commit cf149bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmlecode.javascript.dbscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ stmt_containers (unique int stmt: @stmt ref,
146146
jump_targets (unique int jump: @stmt ref,
147147
int target: @stmt ref);
148148

149-
@stmt_parent = @stmt | @toplevel | @function_expr | @arrow_function_expr;
149+
@stmt_parent = @stmt | @toplevel | @function_expr | @arrow_function_expr | @static_initializer;
150150
@stmt_container = @toplevel | @function | @namespace_declaration | @external_module_declaration | @global_augmentation_declaration;
151151

152152
case @stmt.kind of

0 commit comments

Comments
 (0)