renamed "intersectiontypeexpr" to "intersection_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:26 +02:00
parent 0c1b1fd836
commit 36e76c1146
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@@ -786,7 +786,7 @@
<v>852</v>
</e>
<e>
<k>@intersectiontypeexpr</k>
<k>@intersection_typeexpr</k>
<v>27</v>
</e>
<e>