renamed "indexedaccesstypeexpr" to "indexed_access_typeexpr"

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

View File

@@ -813,7 +813,7 @@ class UnionTypeExpr extends @union_typeexpr, TypeExpr {
/**
* A type of form `T[K]` where `T` and `K` are types.
*/
class IndexedAccessTypeExpr extends @indexedaccesstypeexpr, TypeExpr {
class IndexedAccessTypeExpr extends @indexed_access_typeexpr, TypeExpr {
/** Gets the type `T` in `T[K]`, denoting the object type whose properties are to be extracted. */
TypeExpr getObjectType() { result = getChildTypeExpr(0) }

View File

@@ -555,7 +555,7 @@ case @typeexpr.kind of
| 5 = @boolean_literal_typeexpr
| 6 = @array_typeexpr
| 7 = @union_typeexpr
| 8 = @indexedaccesstypeexpr
| 8 = @indexed_access_typeexpr
| 9 = @intersectiontypeexpr
| 10 = @parenthesizedtypeexpr
| 11 = @tupletypeexpr

View File

@@ -802,7 +802,7 @@
<v>3</v>
</e>
<e>
<k>@indexedaccesstypeexpr</k>
<k>@indexed_access_typeexpr</k>
<v>3</v>
</e>
<e>