renamed "generictypeexpr" to "generic_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:30 +02:00
parent 3caf5c9258
commit 2ba01ec13c
3 changed files with 3 additions and 3 deletions

View File

@@ -716,7 +716,7 @@ class QualifiedTypeAccess extends @qualified_type_access, TypeAccess {
* For convenience, the methods for accessing type arguments are also made available * For convenience, the methods for accessing type arguments are also made available
* on the `TypeAccess` class. * on the `TypeAccess` class.
*/ */
class GenericTypeExpr extends @generictypeexpr, TypeExpr { class GenericTypeExpr extends @generic_typeexpr, TypeExpr {
/** Gets the name of the type, such as `Array` in `Array<number>`. */ /** Gets the name of the type, such as `Array` in `Array<number>`. */
TypeAccess getTypeAccess() { result = getChildTypeExpr(-1) } TypeAccess getTypeAccess() { result = getChildTypeExpr(-1) }

View File

@@ -561,7 +561,7 @@ case @typeexpr.kind of
| 11 = @tuple_typeexpr | 11 = @tuple_typeexpr
| 12 = @keyof_typeexpr | 12 = @keyof_typeexpr
| 13 = @qualified_type_access | 13 = @qualified_type_access
| 14 = @generictypeexpr | 14 = @generic_typeexpr
| 15 = @typelabel | 15 = @typelabel
| 16 = @typeoftypeexpr | 16 = @typeoftypeexpr
| 17 = @localvartypeaccess | 17 = @localvartypeaccess

View File

@@ -838,7 +838,7 @@
<v>100</v> <v>100</v>
</e> </e>
<e> <e>
<k>@generictypeexpr</k> <k>@generic_typeexpr</k>
<v>5220</v> <v>5220</v>
</e> </e>
<e> <e>