renamed "exprortype" to "expr_or_type"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:18 +02:00
parent d7553461b0
commit 81909b58dc
2 changed files with 5 additions and 5 deletions

View File

@@ -215,12 +215,12 @@ exprs (unique int id: @expr,
literals (varchar(900) value: string ref,
varchar(900) raw: string ref,
unique int expr: @exprortype ref);
unique int expr: @expr_or_type ref);
enclosing_stmt (unique int expr: @exprortype ref,
enclosing_stmt (unique int expr: @expr_or_type ref,
int stmt: @stmt ref);
expr_containers (unique int expr: @exprortype ref,
expr_containers (unique int expr: @expr_or_type ref,
int container: @stmt_container ref);
array_size (unique int ae: @arraylike ref,
@@ -229,7 +229,7 @@ array_size (unique int ae: @arraylike ref,
is_delegating (int yield: @yieldexpr ref);
@expr_or_stmt = @expr | @stmt;
@exprortype = @expr | @typeexpr;
@expr_or_type = @expr | @typeexpr;
@exprparent = @expr_or_stmt | @property | @functiontypeexpr;
@arraylike = @arrayexpr | @arraypattern;
@type_annotation = @typeexpr | @jsdoc_type_expr;