mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
renamed "booleanliteraltype" to "boolean_literal_type"
This commit is contained in:
@@ -2023,7 +2023,7 @@ class LiteralType extends Type, @literal_type {
|
|||||||
/**
|
/**
|
||||||
* The boolean literal type `true` or `false`.
|
* The boolean literal type `true` or `false`.
|
||||||
*/
|
*/
|
||||||
class BooleanLiteralType extends LiteralType, @booleanliteraltype {
|
class BooleanLiteralType extends LiteralType, @boolean_literal_type {
|
||||||
/**
|
/**
|
||||||
* Gets the boolean value represented by this type.
|
* Gets the boolean value represented by this type.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -640,7 +640,7 @@ case @type.kind of
|
|||||||
| 25 = @bigint_literal_type
|
| 25 = @bigint_literal_type
|
||||||
;
|
;
|
||||||
|
|
||||||
@booleanliteraltype = @true_type | @false_type;
|
@boolean_literal_type = @true_type | @false_type;
|
||||||
@symbol_type = @plain_symbol_type | @unique_symbol_type;
|
@symbol_type = @plain_symbol_type | @unique_symbol_type;
|
||||||
@union_or_intersection_type = @union_type | @intersection_type;
|
@union_or_intersection_type = @union_type | @intersection_type;
|
||||||
@typevariable_type = @canonical_type_variable_type | @lexical_type_variable_type;
|
@typevariable_type = @canonical_type_variable_type | @lexical_type_variable_type;
|
||||||
@@ -715,7 +715,7 @@ type_alias(
|
|||||||
unique int aliasType: @type ref,
|
unique int aliasType: @type ref,
|
||||||
int underlyingType: @type ref);
|
int underlyingType: @type ref);
|
||||||
|
|
||||||
@literal_type = @string_literal_type | @number_literal_type | @booleanliteraltype | @bigint_literal_type;
|
@literal_type = @string_literal_type | @number_literal_type | @boolean_literal_type | @bigint_literal_type;
|
||||||
@type_with_literal_value = @string_literal_type | @number_literal_type | @bigint_literal_type;
|
@type_with_literal_value = @string_literal_type | @number_literal_type | @bigint_literal_type;
|
||||||
type_literal_value(
|
type_literal_value(
|
||||||
unique int typ: @type_with_literal_value ref,
|
unique int typ: @type_with_literal_value ref,
|
||||||
|
|||||||
Reference in New Issue
Block a user