mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "yieldexpr" to "yield_expr"
This commit is contained in:
@@ -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) }
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user