mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "intersectiontypeexpr" to "intersection_typeexpr"
This commit is contained in:
@@ -826,7 +826,7 @@ class IndexedAccessTypeExpr extends @indexed_access_typeexpr, TypeExpr {
|
||||
*
|
||||
* In general, there are can more than two operands to an intersection type.
|
||||
*/
|
||||
class IntersectionTypeExpr extends @intersectiontypeexpr, TypeExpr {
|
||||
class IntersectionTypeExpr extends @intersection_typeexpr, TypeExpr {
|
||||
/** Gets the `n`th operand of the intersection type, starting at 0. */
|
||||
TypeExpr getElementType(int n) { result = getChildTypeExpr(n) }
|
||||
|
||||
|
||||
@@ -556,7 +556,7 @@ case @typeexpr.kind of
|
||||
| 6 = @array_typeexpr
|
||||
| 7 = @union_typeexpr
|
||||
| 8 = @indexed_access_typeexpr
|
||||
| 9 = @intersectiontypeexpr
|
||||
| 9 = @intersection_typeexpr
|
||||
| 10 = @parenthesizedtypeexpr
|
||||
| 11 = @tupletypeexpr
|
||||
| 12 = @keyoftypeexpr
|
||||
|
||||
@@ -786,7 +786,7 @@
|
||||
<v>852</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@intersectiontypeexpr</k>
|
||||
<k>@intersection_typeexpr</k>
|
||||
<v>27</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user