mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
renamed "bigintliteraltypeexpr" to "bigint_literal_typeexpr"
This commit is contained in:
@@ -771,7 +771,7 @@ class BooleanLiteralTypeExpr extends @boolean_literal_typeexpr, LiteralTypeExpr
|
||||
}
|
||||
|
||||
/** A bigint literal used as a TypeScript type annotation. */
|
||||
class BigIntLiteralTypeExpr extends @bigintliteraltypeexpr, LiteralTypeExpr {
|
||||
class BigIntLiteralTypeExpr extends @bigint_literal_typeexpr, LiteralTypeExpr {
|
||||
/** Gets the integer value of the bigint literal, if it can be represented as a QL integer. */
|
||||
int getIntValue() { result = getValue().toInt() }
|
||||
|
||||
|
||||
@@ -582,14 +582,14 @@ case @typeexpr.kind of
|
||||
| 32 = @import_var_type_access
|
||||
| 33 = @optional_typeexpr
|
||||
| 34 = @rest_typeexpr
|
||||
| 35 = @bigintliteraltypeexpr
|
||||
| 35 = @bigint_literal_typeexpr
|
||||
| 36 = @readonlytypeexpr
|
||||
;
|
||||
|
||||
@typeref = @typeaccess | @type_decl;
|
||||
@typeidentifier = @type_decl | @local_type_access | @type_label | @local_var_type_access | @local_namespace_access;
|
||||
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
||||
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @boolean_literal_typeexpr | @bigintliteraltypeexpr;
|
||||
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @boolean_literal_typeexpr | @bigint_literal_typeexpr;
|
||||
@typeaccess = @local_type_access | @qualified_type_access | @import_type_access;
|
||||
@vartypeaccess = @local_var_type_access | @qualified_var_type_access | @this_var_type_access | @import_var_type_access;
|
||||
@namespaceaccess = @local_namespace_access | @qualified_namespace_access | @import_namespace_access;
|
||||
|
||||
@@ -834,7 +834,7 @@
|
||||
<v>100</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@bigintliteraltypeexpr</k>
|
||||
<k>@bigint_literal_typeexpr</k>
|
||||
<v>100</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user