renamed "arraypattern" to "array_pattern"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:16 +02:00
parent fdd25ef5f8
commit 79a8dcada3
3 changed files with 6 additions and 6 deletions

View File

@@ -231,7 +231,7 @@ is_delegating (int yield: @yieldexpr ref);
@expr_or_stmt = @expr | @stmt;
@expr_or_type = @expr | @typeexpr;
@exprparent = @expr_or_stmt | @property | @function_typeexpr;
@arraylike = @array_expr | @arraypattern;
@arraylike = @array_expr | @array_pattern;
@type_annotation = @typeexpr | @jsdoc_type_expr;
@node_in_stmt_container = @cfg_node | @type_annotation | @toplevel;
@@ -302,7 +302,7 @@ case @expr.kind of
| 64 = @var_declarator
| 65 = @arrow_function_expr
| 66 = @spread_element
| 67 = @arraypattern
| 67 = @array_pattern
| 68 = @objectpattern
| 69 = @yieldexpr
| 70 = @taggedtemplateexpr
@@ -379,7 +379,7 @@ case @expr.kind of
@updateexpr = @preinc_expr | @postinc_expr | @predec_expr | @postdec_expr;
@pattern = @varref | @arraypattern | @objectpattern;
@pattern = @varref | @array_pattern | @objectpattern;
@comprehensionexpr = @arraycomprehensionexpr | @generatorexpr;