renamed "booleanliteraltype" to "boolean_literal_type"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:55:16 +02:00
parent 5ea08b9c0c
commit db0747876e
2 changed files with 3 additions and 3 deletions

View File

@@ -2023,7 +2023,7 @@ class LiteralType extends Type, @literal_type {
/**
* 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.
*/

View File

@@ -640,7 +640,7 @@ case @type.kind of
| 25 = @bigint_literal_type
;
@booleanliteraltype = @true_type | @false_type;
@boolean_literal_type = @true_type | @false_type;
@symbol_type = @plain_symbol_type | @unique_symbol_type;
@union_or_intersection_type = @union_type | @intersection_type;
@typevariable_type = @canonical_type_variable_type | @lexical_type_variable_type;
@@ -715,7 +715,7 @@ type_alias(
unique int aliasType: @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_literal_value(
unique int typ: @type_with_literal_value ref,