mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
renamed "hasPublicKeyword" to "has_public_keyword"
This commit is contained in:
@@ -41,7 +41,7 @@ public class DeclarationFlags {
|
||||
"is_abstract_member",
|
||||
"is_static",
|
||||
"hasReadonlyKeyword",
|
||||
"hasPublicKeyword",
|
||||
"has_public_keyword",
|
||||
"hasPrivateKeyword",
|
||||
"hasProtectedKeyword",
|
||||
"isOptionalMember",
|
||||
|
||||
@@ -170,3 +170,8 @@ deprecated predicate isConstEnum(EnumDeclaration id) { is_const_enum(id) }
|
||||
* Use `ClassDefinition#isAbstract()` instead.
|
||||
*/
|
||||
deprecated predicate isAbstractClass(ClassDeclStmt id) { is_abstract_class(id) }
|
||||
/**
|
||||
* Alias for the predicate `has_public_keyword` defined in the .dbscheme.
|
||||
* Use `MemberDeclaration#hasPublicKeyword() instead.
|
||||
*/
|
||||
deprecated predicate hasPublicKeyword(Property prop) { has_public_keyword(prop) }
|
||||
|
||||
@@ -492,7 +492,7 @@ class MemberDeclaration extends @property, Documentable {
|
||||
/**
|
||||
* Holds if this is a TypeScript member explicitly annotated with the `public` keyword.
|
||||
*/
|
||||
predicate hasPublicKeyword() { hasPublicKeyword(this) }
|
||||
predicate hasPublicKeyword() { has_public_keyword(this) }
|
||||
|
||||
/**
|
||||
* Holds if this is a TypeScript member annotated with the `private` keyword.
|
||||
|
||||
@@ -520,7 +520,7 @@ is_abstract_member (int id: @property ref);
|
||||
is_const_enum (int id: @enumdeclaration ref);
|
||||
is_abstract_class (int id: @classdeclstmt ref);
|
||||
|
||||
hasPublicKeyword (int id: @property ref);
|
||||
has_public_keyword (int id: @property ref);
|
||||
hasPrivateKeyword (int id: @property ref);
|
||||
hasProtectedKeyword (int id: @property ref);
|
||||
hasReadonlyKeyword (int id: @property ref);
|
||||
|
||||
@@ -7952,7 +7952,7 @@
|
||||
<dependencies/>
|
||||
</relation>
|
||||
<relation>
|
||||
<name>hasPublicKeyword</name>
|
||||
<name>has_public_keyword</name>
|
||||
<cardinality>9297</cardinality>
|
||||
<columnsizes>
|
||||
<e>
|
||||
|
||||
@@ -42,3 +42,5 @@ is_const_enum.rel: reorder isConstEnum.rel(int id) id
|
||||
isConstEnum.rel: delete
|
||||
is_abstract_class.rel: reorder isAbstractClass.rel(int id) id
|
||||
isAbstractClass.rel: delete
|
||||
has_public_keyword.rel: reorder hasPublicKeyword.rel(int prop) prop
|
||||
hasPublicKeyword.rel: delete
|
||||
|
||||
Reference in New Issue
Block a user