renamed "conditionaltypescope" to "conditional_type_scope"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:52 +02:00
parent 3553fe8ed8
commit e2e10c3a75
3 changed files with 3 additions and 3 deletions

View File

@@ -1085,7 +1085,7 @@ class InferTypeExpr extends @infer_typeexpr, TypeParameterized, TypeExpr {
* A scope induced by a conditional type expression whose `extends` type
* contains `infer` types.
*/
class ConditionalTypeScope extends @conditionaltypescope, Scope {
class ConditionalTypeScope extends @conditional_type_scope, Scope {
/** Gets the conditional type expression that induced this scope. */
ConditionalTypeExpr getConditionalTypeExpr() { result = Scope.super.getScopeElement() }
}

View File

@@ -425,7 +425,7 @@ case @scope.kind of
| 13 = @mapped_type_scope
| 14 = @enum_scope
| 15 = @external_module_scope
| 16 = @conditionaltypescope;
| 16 = @conditional_type_scope;
scopenodes (unique int node: @ast_node ref,
int scope: @scope ref);

View File

@@ -694,7 +694,7 @@
<v>10</v>
</e>
<e>
<k>@conditionaltypescope</k>
<k>@conditional_type_scope</k>
<v>100</v>
</e>
<e>