mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "readonlytypeexpr" to "readonly_typeexpr"
This commit is contained in:
@@ -980,7 +980,7 @@ class RestTypeExpr extends @rest_typeexpr, TypeExpr {
|
||||
/**
|
||||
* 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`. */
|
||||
TypeExpr getElementType() { result = getChildTypeExpr(0) }
|
||||
|
||||
|
||||
@@ -583,7 +583,7 @@ case @typeexpr.kind of
|
||||
| 33 = @optional_typeexpr
|
||||
| 34 = @rest_typeexpr
|
||||
| 35 = @bigint_literal_typeexpr
|
||||
| 36 = @readonlytypeexpr
|
||||
| 36 = @readonly_typeexpr
|
||||
;
|
||||
|
||||
@typeref = @typeaccess | @type_decl;
|
||||
|
||||
@@ -830,7 +830,7 @@
|
||||
<v>100</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@readonlytypeexpr</k>
|
||||
<k>@readonly_typeexpr</k>
|
||||
<v>100</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user