mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "typeofexpr" to "typeof_expr"
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
<v>403</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@typeofexpr</k>
|
||||
<k>@typeof_expr</k>
|
||||
<v>4540</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user