mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
JS: Move definition of getContainer() to a single rootdef
This commit is contained in:
@@ -233,6 +233,7 @@ isDelegating (int yield: @yieldexpr ref);
|
||||
@exprparent = @exprorstmt | @property | @functiontypeexpr;
|
||||
@arraylike = @arrayexpr | @arraypattern;
|
||||
@type_annotation = @typeexpr | @jsdoc_type_expr;
|
||||
@node_in_stmt_container = @cfg_node | @type_annotation | @toplevel;
|
||||
|
||||
case @expr.kind of
|
||||
0 = @label
|
||||
|
||||
Reference in New Issue
Block a user