renamed "exprorstmt" to "expr_or_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:17 +02:00
parent 22bce641b7
commit d7553461b0
2 changed files with 3 additions and 3 deletions

View File

@@ -350,7 +350,7 @@ class Externs extends TopLevel {
* i = 9
* ```
*/
class ExprOrStmt extends @exprorstmt, ControlFlowNode, ASTNode { }
class ExprOrStmt extends @expr_or_stmt, ControlFlowNode, ASTNode { }
/**
* A program element that contains statements, but isn't itself

View File

@@ -228,9 +228,9 @@ array_size (unique int ae: @arraylike ref,
is_delegating (int yield: @yieldexpr ref);
@exprorstmt = @expr | @stmt;
@expr_or_stmt = @expr | @stmt;
@exprortype = @expr | @typeexpr;
@exprparent = @exprorstmt | @property | @functiontypeexpr;
@exprparent = @expr_or_stmt | @property | @functiontypeexpr;
@arraylike = @arrayexpr | @arraypattern;
@type_annotation = @typeexpr | @jsdoc_type_expr;
@node_in_stmt_container = @cfg_node | @type_annotation | @toplevel;