renamed "readonlytypeexpr" to "readonly_typeexpr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:46 +02:00
parent 28fc1d8267
commit a46f1cd070
3 changed files with 3 additions and 3 deletions

View File

@@ -980,7 +980,7 @@ class RestTypeExpr extends @rest_typeexpr, TypeExpr {
/** /**
* A type of form `readonly T`, such as `readonly number[]`. * A type of form `readonly T`, such as `readonly number[]`.
*/ */
class ReadonlyTypeExpr extends @readonlytypeexpr, TypeExpr { class ReadonlyTypeExpr extends @readonly_typeexpr, TypeExpr {
/** Gets the type `T` in `readonly T`. */ /** Gets the type `T` in `readonly T`. */
TypeExpr getElementType() { result = getChildTypeExpr(0) } TypeExpr getElementType() { result = getChildTypeExpr(0) }

View File

@@ -583,7 +583,7 @@ case @typeexpr.kind of
| 33 = @optional_typeexpr | 33 = @optional_typeexpr
| 34 = @rest_typeexpr | 34 = @rest_typeexpr
| 35 = @bigint_literal_typeexpr | 35 = @bigint_literal_typeexpr
| 36 = @readonlytypeexpr | 36 = @readonly_typeexpr
; ;
@typeref = @typeaccess | @type_decl; @typeref = @typeaccess | @type_decl;

View File

@@ -830,7 +830,7 @@
<v>100</v> <v>100</v>
</e> </e>
<e> <e>
<k>@readonlytypeexpr</k> <k>@readonly_typeexpr</k>
<v>100</v> <v>100</v>
</e> </e>
<e> <e>