mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "booleanliteraltypeexpr" to "boolean_literal_typeexpr"
This commit is contained in:
@@ -764,7 +764,7 @@ class NumberLiteralTypeExpr extends @number_literal_typeexpr, LiteralTypeExpr {
|
||||
}
|
||||
|
||||
/** A boolean literal used as a type. */
|
||||
class BooleanLiteralTypeExpr extends @booleanliteraltypeexpr, LiteralTypeExpr {
|
||||
class BooleanLiteralTypeExpr extends @boolean_literal_typeexpr, LiteralTypeExpr {
|
||||
predicate isTrue() { getValue() = "true" }
|
||||
|
||||
predicate isFalse() { getValue() = "false" }
|
||||
|
||||
@@ -552,7 +552,7 @@ case @typeexpr.kind of
|
||||
| 2 = @keyword_typeexpr
|
||||
| 3 = @string_literal_typeexpr
|
||||
| 4 = @number_literal_typeexpr
|
||||
| 5 = @booleanliteraltypeexpr
|
||||
| 5 = @boolean_literal_typeexpr
|
||||
| 6 = @arraytypeexpr
|
||||
| 7 = @uniontypeexpr
|
||||
| 8 = @indexedaccesstypeexpr
|
||||
@@ -589,7 +589,7 @@ case @typeexpr.kind of
|
||||
@typeref = @typeaccess | @type_decl;
|
||||
@typeidentifier = @type_decl | @local_type_access | @typelabel | @localvartypeaccess | @localnamespaceaccess;
|
||||
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
||||
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @booleanliteraltypeexpr | @bigintliteraltypeexpr;
|
||||
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @boolean_literal_typeexpr | @bigintliteraltypeexpr;
|
||||
@typeaccess = @local_type_access | @qualifiedtypeaccess | @importtypeaccess;
|
||||
@vartypeaccess = @localvartypeaccess | @qualifiedvartypeaccess | @thisvartypeaccess | @importvartypeaccess;
|
||||
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
||||
|
||||
@@ -774,7 +774,7 @@
|
||||
<v>3</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@booleanliteraltypeexpr</k>
|
||||
<k>@boolean_literal_typeexpr</k>
|
||||
<v>4</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user