renamed "infertypeexpr" to "infer_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:41 +02:00
parent a04f99b24d
commit 27af8f0a42
3 changed files with 4 additions and 4 deletions

View File

@@ -1070,7 +1070,7 @@ class ConditionalTypeExpr extends @conditional_typeexpr, TypeExpr {
/** /**
* A type annotation of form `infer R`. * A type annotation of form `infer R`.
*/ */
class InferTypeExpr extends @infertypeexpr, TypeParameterized, TypeExpr { class InferTypeExpr extends @infer_typeexpr, TypeParameterized, TypeExpr {
/** /**
* Gets the type parameter capturing the matched type, such as `R` in `infer R`. * Gets the type parameter capturing the matched type, such as `R` in `infer R`.
*/ */

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 | @mapped_typeexpr | @infertypeexpr; @type_parameterized = @function | @classorinterface | @typealiasdeclaration | @mapped_typeexpr | @infer_typeexpr;
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);
@@ -576,7 +576,7 @@ case @typeexpr.kind of
| 26 = @qualified_namespace_access | 26 = @qualified_namespace_access
| 27 = @mapped_typeexpr | 27 = @mapped_typeexpr
| 28 = @conditional_typeexpr | 28 = @conditional_typeexpr
| 29 = @infertypeexpr | 29 = @infer_typeexpr
| 30 = @importtypeaccess | 30 = @importtypeaccess
| 31 = @importnamespaceaccess | 31 = @importnamespaceaccess
| 32 = @importvartypeaccess | 32 = @importvartypeaccess

View File

@@ -898,7 +898,7 @@
<v>100</v> <v>100</v>
</e> </e>
<e> <e>
<k>@infertypeexpr</k> <k>@infer_typeexpr</k>
<v>100</v> <v>100</v>
</e> </e>
<e> <e>