renamed "typeofexpr" to "typeof_expr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:41 +02:00
parent 5dfbcdc32c
commit f4c1719440
3 changed files with 4 additions and 4 deletions

View File

@@ -1213,7 +1213,7 @@ class BitNotExpr extends @bit_not_expr, UnaryExpr {
* typeof A.prototype
* ```
*/
class TypeofExpr extends @typeofexpr, UnaryExpr {
class TypeofExpr extends @typeof_expr, UnaryExpr {
override string getOperator() { result = "typeof" }
}

View File

@@ -256,7 +256,7 @@ case @expr.kind of
| 17 = @plus_expr
| 18 = @log_not_expr
| 19 = @bit_not_expr
| 20 = @typeofexpr
| 20 = @typeof_expr
| 21 = @voidexpr
| 22 = @deleteexpr
| 23 = @eqexpr
@@ -367,7 +367,7 @@ case @expr.kind of
@invokeexpr = @new_expr | @call_expr;
@unaryexpr = @neg_expr | @plus_expr | @log_not_expr | @bit_not_expr | @typeofexpr | @voidexpr | @deleteexpr | @spreadelement;
@unaryexpr = @neg_expr | @plus_expr | @log_not_expr | @bit_not_expr | @typeof_expr | @voidexpr | @deleteexpr | @spreadelement;
@equality_test = @eqexpr | @neqexpr | @eqqexpr | @neqqexpr;

View File

@@ -270,7 +270,7 @@
<v>403</v>
</e>
<e>
<k>@typeofexpr</k>
<k>@typeof_expr</k>
<v>4540</v>
</e>
<e>