mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "indexedaccesstypeexpr" to "indexed_access_typeexpr"
This commit is contained in:
@@ -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) }
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -802,7 +802,7 @@
|
||||
<v>3</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@indexedaccesstypeexpr</k>
|
||||
<k>@indexed_access_typeexpr</k>
|
||||
<v>3</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user