renamed "arraytypeexpr" to "array_typeexpr"

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

View File

@@ -789,7 +789,7 @@ class BigIntLiteralTypeExpr extends @bigintliteraltypeexpr, LiteralTypeExpr {
* Named types such as `Array<number>` and tuple types such as `[number, string]` * Named types such as `Array<number>` and tuple types such as `[number, string]`
* are not array type expressions. * are not array type expressions.
*/ */
class ArrayTypeExpr extends @arraytypeexpr, TypeExpr { class ArrayTypeExpr extends @array_typeexpr, TypeExpr {
/** Gets the type of the array elements. */ /** Gets the type of the array elements. */
TypeExpr getElementType() { result = getChildTypeExpr(0) } TypeExpr getElementType() { result = getChildTypeExpr(0) }
} }

View File

@@ -553,7 +553,7 @@ case @typeexpr.kind of
| 3 = @string_literal_typeexpr | 3 = @string_literal_typeexpr
| 4 = @number_literal_typeexpr | 4 = @number_literal_typeexpr
| 5 = @boolean_literal_typeexpr | 5 = @boolean_literal_typeexpr
| 6 = @arraytypeexpr | 6 = @array_typeexpr
| 7 = @uniontypeexpr | 7 = @uniontypeexpr
| 8 = @indexedaccesstypeexpr | 8 = @indexedaccesstypeexpr
| 9 = @intersectiontypeexpr | 9 = @intersectiontypeexpr

View File

@@ -778,7 +778,7 @@
<v>4</v> <v>4</v>
</e> </e>
<e> <e>
<k>@arraytypeexpr</k> <k>@array_typeexpr</k>
<v>4579</v> <v>4579</v>
</e> </e>
<e> <e>