mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
renamed "hasProtectedKeyword" to "has_protected_keyword"
This commit is contained in:
@@ -43,7 +43,7 @@ public class DeclarationFlags {
|
||||
"hasReadonlyKeyword",
|
||||
"has_public_keyword",
|
||||
"has_private_keyword",
|
||||
"hasProtectedKeyword",
|
||||
"has_protected_keyword",
|
||||
"isOptionalMember",
|
||||
"hasDefiniteAssignmentAssertion",
|
||||
"has_declare_keyword");
|
||||
|
||||
@@ -180,3 +180,8 @@ deprecated predicate hasPublicKeyword(Property prop) { has_public_keyword(prop)
|
||||
* Use `MemberDeclaration#isPrivate() instead.
|
||||
*/
|
||||
deprecated predicate hasPrivateKeyword(Property prop) { has_private_keyword(prop) }
|
||||
/**
|
||||
* Alias for the predicate `has_protected_keyword` defined in the .dbscheme.
|
||||
* Use `MemberDeclaration#isProtected() instead.
|
||||
*/
|
||||
deprecated predicate hasProtectedKeyword(Property prop) { has_protected_keyword(prop) }
|
||||
|
||||
@@ -502,7 +502,7 @@ class MemberDeclaration extends @property, Documentable {
|
||||
/**
|
||||
* Holds if this is a TypeScript member annotated with the `protected` keyword.
|
||||
*/
|
||||
predicate isProtected() { hasProtectedKeyword(this) }
|
||||
predicate isProtected() { has_protected_keyword(this) }
|
||||
|
||||
/**
|
||||
* Gets the expression specifying the name of this member,
|
||||
|
||||
@@ -522,7 +522,7 @@ is_abstract_class (int id: @classdeclstmt ref);
|
||||
|
||||
has_public_keyword (int id: @property ref);
|
||||
has_private_keyword (int id: @property ref);
|
||||
hasProtectedKeyword (int id: @property ref);
|
||||
has_protected_keyword (int id: @property ref);
|
||||
hasReadonlyKeyword (int id: @property ref);
|
||||
hasTypeKeyword (int id: @import_or_export_declaration ref);
|
||||
isOptionalMember (int id: @property ref);
|
||||
|
||||
@@ -7974,7 +7974,7 @@
|
||||
<dependencies/>
|
||||
</relation>
|
||||
<relation>
|
||||
<name>hasProtectedKeyword</name>
|
||||
<name>has_protected_keyword</name>
|
||||
<cardinality>1048</cardinality>
|
||||
<columnsizes>
|
||||
<e>
|
||||
|
||||
@@ -46,3 +46,5 @@ has_public_keyword.rel: reorder hasPublicKeyword.rel(int prop) prop
|
||||
hasPublicKeyword.rel: delete
|
||||
has_private_keyword.rel: reorder hasPrivateKeyword.rel(int prop) prop
|
||||
hasPrivateKeyword.rel: delete
|
||||
has_protected_keyword.rel: reorder hasProtectedKeyword.rel(int prop) prop
|
||||
hasProtectedKeyword.rel: delete
|
||||
|
||||
Reference in New Issue
Block a user