mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "arraytypeexpr" to "array_typeexpr"
This commit is contained in:
@@ -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) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user