mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "mappedtypeexpr" to "mapped_typeexpr"
This commit is contained in:
@@ -886,7 +886,7 @@ class KeyofTypeExpr extends @keyof_typeexpr, TypeExpr {
|
|||||||
* A type of form `{ [K in C]: T }` where `K in C` declares a type parameter with `C`
|
* A type of form `{ [K in C]: T }` where `K in C` declares a type parameter with `C`
|
||||||
* as the bound, and `T` is a type that may refer to `K`.
|
* as the bound, and `T` is a type that may refer to `K`.
|
||||||
*/
|
*/
|
||||||
class MappedTypeExpr extends @mappedtypeexpr, TypeParameterized, TypeExpr {
|
class MappedTypeExpr extends @mapped_typeexpr, TypeParameterized, TypeExpr {
|
||||||
/**
|
/**
|
||||||
* Gets the `K in C` part from `{ [K in C]: T }`.
|
* Gets the `K in C` part from `{ [K in C]: T }`.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -437,7 +437,7 @@ scopenesting (unique int inner: @scope ref,
|
|||||||
@function = @functiondeclstmt | @functionexpr | @arrowfunctionexpr;
|
@function = @functiondeclstmt | @functionexpr | @arrowfunctionexpr;
|
||||||
|
|
||||||
@parameterized = @function | @catchclause;
|
@parameterized = @function | @catchclause;
|
||||||
@type_parameterized = @function | @classorinterface | @typealiasdeclaration | @mappedtypeexpr | @infertypeexpr;
|
@type_parameterized = @function | @classorinterface | @typealiasdeclaration | @mapped_typeexpr | @infertypeexpr;
|
||||||
|
|
||||||
is_generator (int fun: @function ref);
|
is_generator (int fun: @function ref);
|
||||||
has_rest_parameter (int fun: @function ref);
|
has_rest_parameter (int fun: @function ref);
|
||||||
@@ -574,7 +574,7 @@ case @typeexpr.kind of
|
|||||||
| 24 = @constructor_typeexpr
|
| 24 = @constructor_typeexpr
|
||||||
| 25 = @local_namespace_access
|
| 25 = @local_namespace_access
|
||||||
| 26 = @qualified_namespace_access
|
| 26 = @qualified_namespace_access
|
||||||
| 27 = @mappedtypeexpr
|
| 27 = @mapped_typeexpr
|
||||||
| 28 = @conditionaltypeexpr
|
| 28 = @conditionaltypeexpr
|
||||||
| 29 = @infertypeexpr
|
| 29 = @infertypeexpr
|
||||||
| 30 = @importtypeaccess
|
| 30 = @importtypeaccess
|
||||||
|
|||||||
@@ -890,7 +890,7 @@
|
|||||||
<v>20</v>
|
<v>20</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@mappedtypeexpr</k>
|
<k>@mapped_typeexpr</k>
|
||||||
<v>20</v>
|
<v>20</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user