renamed "literaltype" to "literal_type"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:53 +02:00
parent 906865b057
commit 5efa551c80
2 changed files with 2 additions and 2 deletions

View File

@@ -2013,7 +2013,7 @@ class BigIntType extends Type, @biginttype { }
/**
* A boolean, number, or string literal type.
*/
class LiteralType extends Type, @literaltype {
class LiteralType extends Type, @literal_type {
/**
* Gets the string value of this literal.
*/

View File

@@ -715,7 +715,7 @@ type_alias(
unique int aliasType: @type ref,
int underlyingType: @type ref);
@literaltype = @stringliteraltype | @numberliteraltype | @booleanliteraltype | @bigintliteraltype;
@literal_type = @stringliteraltype | @numberliteraltype | @booleanliteraltype | @bigintliteraltype;
@type_with_literal_value = @stringliteraltype | @numberliteraltype | @bigintliteraltype;
type_literal_value(
unique int typ: @type_with_literal_value ref,