mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
renamed "conditionaltypescope" to "conditional_type_scope"
This commit is contained in:
@@ -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() }
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -694,7 +694,7 @@
|
||||
<v>10</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@conditionaltypescope</k>
|
||||
<k>@conditional_type_scope</k>
|
||||
<v>100</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user