JS: Move definition of getContainer() to a single rootdef

This commit is contained in:
Asger Feldthaus
2020-05-01 13:08:40 +01:00
parent 86c5b38d62
commit 5f710bc881
12 changed files with 61 additions and 72 deletions

View File

@@ -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