mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "stringliteraltype" to "string_literal_type"
This commit is contained in:
@@ -2054,7 +2054,7 @@ class NumberLiteralType extends LiteralType, @number_literal_type {
|
|||||||
/**
|
/**
|
||||||
* A string literal as a static type.
|
* A string literal as a static type.
|
||||||
*/
|
*/
|
||||||
class StringLiteralType extends LiteralType, @stringliteraltype {
|
class StringLiteralType extends LiteralType, @string_literal_type {
|
||||||
override string getStringValue() { type_literal_value(this, result) }
|
override string getStringValue() { type_literal_value(this, result) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -634,7 +634,7 @@ case @type.kind of
|
|||||||
| 19 = @lexical_type_variable_type
|
| 19 = @lexical_type_variable_type
|
||||||
| 20 = @this_type
|
| 20 = @this_type
|
||||||
| 21 = @number_literal_type
|
| 21 = @number_literal_type
|
||||||
| 22 = @stringliteraltype
|
| 22 = @string_literal_type
|
||||||
| 23 = @unknowntype
|
| 23 = @unknowntype
|
||||||
| 24 = @biginttype
|
| 24 = @biginttype
|
||||||
| 25 = @bigintliteraltype
|
| 25 = @bigintliteraltype
|
||||||
@@ -715,8 +715,8 @@ type_alias(
|
|||||||
unique int aliasType: @type ref,
|
unique int aliasType: @type ref,
|
||||||
int underlyingType: @type ref);
|
int underlyingType: @type ref);
|
||||||
|
|
||||||
@literal_type = @stringliteraltype | @number_literal_type | @booleanliteraltype | @bigintliteraltype;
|
@literal_type = @string_literal_type | @number_literal_type | @booleanliteraltype | @bigintliteraltype;
|
||||||
@type_with_literal_value = @stringliteraltype | @number_literal_type | @bigintliteraltype;
|
@type_with_literal_value = @string_literal_type | @number_literal_type | @bigintliteraltype;
|
||||||
type_literal_value(
|
type_literal_value(
|
||||||
unique int typ: @type_with_literal_value ref,
|
unique int typ: @type_with_literal_value ref,
|
||||||
varchar(900) value: string ref);
|
varchar(900) value: string ref);
|
||||||
|
|||||||
@@ -990,7 +990,7 @@
|
|||||||
<v>1244</v>
|
<v>1244</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@stringliteraltype</k>
|
<k>@string_literal_type</k>
|
||||||
<v>30638</v>
|
<v>30638</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user