renamed "yieldexpr" to "yield_expr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:17 +02:00
parent a4b2c9a114
commit 6372819684
3 changed files with 4 additions and 4 deletions

View File

@@ -2123,7 +2123,7 @@ class PostDecExpr extends @postdec_expr, UpdateExpr {
* yield next * yield next
* ``` * ```
*/ */
class YieldExpr extends @yieldexpr, Expr { class YieldExpr extends @yield_expr, Expr {
/** Gets the operand of this `yield` expression. */ /** Gets the operand of this `yield` expression. */
Expr getOperand() { result = getChildExpr(0) } Expr getOperand() { result = getChildExpr(0) }

View File

@@ -226,7 +226,7 @@ expr_containers (unique int expr: @expr_or_type ref,
array_size (unique int ae: @arraylike ref, array_size (unique int ae: @arraylike ref,
int sz: int ref); int sz: int ref);
is_delegating (int yield: @yieldexpr ref); is_delegating (int yield: @yield_expr ref);
@expr_or_stmt = @expr | @stmt; @expr_or_stmt = @expr | @stmt;
@expr_or_type = @expr | @typeexpr; @expr_or_type = @expr | @typeexpr;
@@ -304,7 +304,7 @@ case @expr.kind of
| 66 = @spread_element | 66 = @spread_element
| 67 = @array_pattern | 67 = @array_pattern
| 68 = @object_pattern | 68 = @object_pattern
| 69 = @yieldexpr | 69 = @yield_expr
| 70 = @taggedtemplateexpr | 70 = @taggedtemplateexpr
| 71 = @templateliteral | 71 = @templateliteral
| 72 = @templateelement | 72 = @templateelement

View File

@@ -474,7 +474,7 @@
<v>122</v> <v>122</v>
</e> </e>
<e> <e>
<k>@yieldexpr</k> <k>@yield_expr</k>
<v>81</v> <v>81</v>
</e> </e>
<e> <e>