mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "hasPrivateKeyword" to "has_private_keyword"
This commit is contained in:
@@ -42,7 +42,7 @@ public class DeclarationFlags {
|
|||||||
"is_static",
|
"is_static",
|
||||||
"hasReadonlyKeyword",
|
"hasReadonlyKeyword",
|
||||||
"has_public_keyword",
|
"has_public_keyword",
|
||||||
"hasPrivateKeyword",
|
"has_private_keyword",
|
||||||
"hasProtectedKeyword",
|
"hasProtectedKeyword",
|
||||||
"isOptionalMember",
|
"isOptionalMember",
|
||||||
"hasDefiniteAssignmentAssertion",
|
"hasDefiniteAssignmentAssertion",
|
||||||
|
|||||||
@@ -175,3 +175,8 @@ deprecated predicate isAbstractClass(ClassDeclStmt id) { is_abstract_class(id) }
|
|||||||
* Use `MemberDeclaration#hasPublicKeyword() instead.
|
* Use `MemberDeclaration#hasPublicKeyword() instead.
|
||||||
*/
|
*/
|
||||||
deprecated predicate hasPublicKeyword(Property prop) { has_public_keyword(prop) }
|
deprecated predicate hasPublicKeyword(Property prop) { has_public_keyword(prop) }
|
||||||
|
/**
|
||||||
|
* Alias for the predicate `has_private_keyword` defined in the .dbscheme.
|
||||||
|
* Use `MemberDeclaration#isPrivate() instead.
|
||||||
|
*/
|
||||||
|
deprecated predicate hasPrivateKeyword(Property prop) { has_private_keyword(prop) }
|
||||||
|
|||||||
@@ -497,7 +497,7 @@ class MemberDeclaration extends @property, Documentable {
|
|||||||
/**
|
/**
|
||||||
* Holds if this is a TypeScript member annotated with the `private` keyword.
|
* Holds if this is a TypeScript member annotated with the `private` keyword.
|
||||||
*/
|
*/
|
||||||
predicate isPrivate() { hasPrivateKeyword(this) }
|
predicate isPrivate() { has_private_keyword(this) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds if this is a TypeScript member annotated with the `protected` keyword.
|
* Holds if this is a TypeScript member annotated with the `protected` keyword.
|
||||||
|
|||||||
@@ -521,7 +521,7 @@ is_const_enum (int id: @enumdeclaration ref);
|
|||||||
is_abstract_class (int id: @classdeclstmt ref);
|
is_abstract_class (int id: @classdeclstmt ref);
|
||||||
|
|
||||||
has_public_keyword (int id: @property ref);
|
has_public_keyword (int id: @property ref);
|
||||||
hasPrivateKeyword (int id: @property ref);
|
has_private_keyword (int id: @property ref);
|
||||||
hasProtectedKeyword (int id: @property ref);
|
hasProtectedKeyword (int id: @property ref);
|
||||||
hasReadonlyKeyword (int id: @property ref);
|
hasReadonlyKeyword (int id: @property ref);
|
||||||
hasTypeKeyword (int id: @import_or_export_declaration ref);
|
hasTypeKeyword (int id: @import_or_export_declaration ref);
|
||||||
|
|||||||
@@ -7963,7 +7963,7 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</relation>
|
</relation>
|
||||||
<relation>
|
<relation>
|
||||||
<name>hasPrivateKeyword</name>
|
<name>has_private_keyword</name>
|
||||||
<cardinality>11391</cardinality>
|
<cardinality>11391</cardinality>
|
||||||
<columnsizes>
|
<columnsizes>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
@@ -44,3 +44,5 @@ is_abstract_class.rel: reorder isAbstractClass.rel(int id) id
|
|||||||
isAbstractClass.rel: delete
|
isAbstractClass.rel: delete
|
||||||
has_public_keyword.rel: reorder hasPublicKeyword.rel(int prop) prop
|
has_public_keyword.rel: reorder hasPublicKeyword.rel(int prop) prop
|
||||||
hasPublicKeyword.rel: delete
|
hasPublicKeyword.rel: delete
|
||||||
|
has_private_keyword.rel: reorder hasPrivateKeyword.rel(int prop) prop
|
||||||
|
hasPrivateKeyword.rel: delete
|
||||||
|
|||||||
Reference in New Issue
Block a user