mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
renamed "numberliteraltypeexpr" to "number_literal_typeexpr"
This commit is contained in:
@@ -758,7 +758,7 @@ class LiteralTypeExpr extends @literaltypeexpr, TypeExpr {
|
|||||||
class StringLiteralTypeExpr extends @string_literal_typeexpr, LiteralTypeExpr { }
|
class StringLiteralTypeExpr extends @string_literal_typeexpr, LiteralTypeExpr { }
|
||||||
|
|
||||||
/** A number literal used as a type. */
|
/** A number literal used as a type. */
|
||||||
class NumberLiteralTypeExpr extends @numberliteraltypeexpr, LiteralTypeExpr {
|
class NumberLiteralTypeExpr extends @number_literal_typeexpr, LiteralTypeExpr {
|
||||||
/** Gets the integer value of this literal type. */
|
/** Gets the integer value of this literal type. */
|
||||||
int getIntValue() { result = getValue().toInt() }
|
int getIntValue() { result = getValue().toInt() }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -551,7 +551,7 @@ case @typeexpr.kind of
|
|||||||
| 1 = @type_decl
|
| 1 = @type_decl
|
||||||
| 2 = @keyword_typeexpr
|
| 2 = @keyword_typeexpr
|
||||||
| 3 = @string_literal_typeexpr
|
| 3 = @string_literal_typeexpr
|
||||||
| 4 = @numberliteraltypeexpr
|
| 4 = @number_literal_typeexpr
|
||||||
| 5 = @booleanliteraltypeexpr
|
| 5 = @booleanliteraltypeexpr
|
||||||
| 6 = @arraytypeexpr
|
| 6 = @arraytypeexpr
|
||||||
| 7 = @uniontypeexpr
|
| 7 = @uniontypeexpr
|
||||||
@@ -589,7 +589,7 @@ case @typeexpr.kind of
|
|||||||
@typeref = @typeaccess | @type_decl;
|
@typeref = @typeaccess | @type_decl;
|
||||||
@typeidentifier = @type_decl | @local_type_access | @typelabel | @localvartypeaccess | @localnamespaceaccess;
|
@typeidentifier = @type_decl | @local_type_access | @typelabel | @localvartypeaccess | @localnamespaceaccess;
|
||||||
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
||||||
@literaltypeexpr = @string_literal_typeexpr | @numberliteraltypeexpr | @booleanliteraltypeexpr | @bigintliteraltypeexpr;
|
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @booleanliteraltypeexpr | @bigintliteraltypeexpr;
|
||||||
@typeaccess = @local_type_access | @qualifiedtypeaccess | @importtypeaccess;
|
@typeaccess = @local_type_access | @qualifiedtypeaccess | @importtypeaccess;
|
||||||
@vartypeaccess = @localvartypeaccess | @qualifiedvartypeaccess | @thisvartypeaccess | @importvartypeaccess;
|
@vartypeaccess = @localvartypeaccess | @qualifiedvartypeaccess | @thisvartypeaccess | @importvartypeaccess;
|
||||||
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
||||||
|
|||||||
@@ -770,7 +770,7 @@
|
|||||||
<v>733</v>
|
<v>733</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@numberliteraltypeexpr</k>
|
<k>@number_literal_typeexpr</k>
|
||||||
<v>3</v>
|
<v>3</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user