renamed "tupletypeexpr" to "tuple_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:27 +02:00
parent 3591c22d82
commit 30500fcf9b
3 changed files with 3 additions and 3 deletions

View File

@@ -854,7 +854,7 @@ class ParenthesizedTypeExpr extends @parenthesized_typeexpr, TypeExpr {
/** /**
* A tuple type such as `[number, string]`. * A tuple type such as `[number, string]`.
*/ */
class TupleTypeExpr extends @tupletypeexpr, TypeExpr { class TupleTypeExpr extends @tuple_typeexpr, TypeExpr {
/** Gets the `n`th element type in the tuple, starting at 0. */ /** Gets the `n`th element type in the tuple, starting at 0. */
TypeExpr getElementType(int n) { result = getChildTypeExpr(n) and n >= 0 } TypeExpr getElementType(int n) { result = getChildTypeExpr(n) and n >= 0 }

View File

@@ -558,7 +558,7 @@ case @typeexpr.kind of
| 8 = @indexed_access_typeexpr | 8 = @indexed_access_typeexpr
| 9 = @intersection_typeexpr | 9 = @intersection_typeexpr
| 10 = @parenthesized_typeexpr | 10 = @parenthesized_typeexpr
| 11 = @tupletypeexpr | 11 = @tuple_typeexpr
| 12 = @keyoftypeexpr | 12 = @keyoftypeexpr
| 13 = @qualifiedtypeaccess | 13 = @qualifiedtypeaccess
| 14 = @generictypeexpr | 14 = @generictypeexpr

View File

@@ -794,7 +794,7 @@
<v>62</v> <v>62</v>
</e> </e>
<e> <e>
<k>@tupletypeexpr</k> <k>@tuple_typeexpr</k>
<v>98</v> <v>98</v>
</e> </e>
<e> <e>