mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
renamed "exprorstmt" to "expr_or_stmt"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user