renamed "uniontypeexpr" to "union_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:24 +02:00
parent 2b822a56ff
commit 52c6ce057d
3 changed files with 3 additions and 3 deletions

View File

@@ -797,7 +797,7 @@ class ArrayTypeExpr extends @array_typeexpr, TypeExpr {
/**
* A union type, such as `string|number|boolean`.
*/
class UnionTypeExpr extends @uniontypeexpr, TypeExpr {
class UnionTypeExpr extends @union_typeexpr, TypeExpr {
/** Gets the `n`th type in the union, starting at 0. */
TypeExpr getElementType(int n) { result = getChildTypeExpr(n) }

View File

@@ -554,7 +554,7 @@ case @typeexpr.kind of
| 4 = @number_literal_typeexpr
| 5 = @boolean_literal_typeexpr
| 6 = @array_typeexpr
| 7 = @uniontypeexpr
| 7 = @union_typeexpr
| 8 = @indexedaccesstypeexpr
| 9 = @intersectiontypeexpr
| 10 = @parenthesizedtypeexpr

View File

@@ -782,7 +782,7 @@
<v>4579</v>
</e>
<e>
<k>@uniontypeexpr</k>
<k>@union_typeexpr</k>
<v>852</v>
</e>
<e>