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