renamed "mappedtypeexpr" to "mapped_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:40 +02:00
parent 9535fb4045
commit 8ca7f3aa5c
3 changed files with 4 additions and 4 deletions

View File

@@ -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 }`.
*/ */

View File

@@ -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

View File

@@ -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>