mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "isStatic" to "is_static"
This commit is contained in:
@@ -39,7 +39,7 @@ public class DeclarationFlags {
|
|||||||
Arrays.asList(
|
Arrays.asList(
|
||||||
"is_computed",
|
"is_computed",
|
||||||
"isAbstractMember",
|
"isAbstractMember",
|
||||||
"isStatic",
|
"is_static",
|
||||||
"hasReadonlyKeyword",
|
"hasReadonlyKeyword",
|
||||||
"hasPublicKeyword",
|
"hasPublicKeyword",
|
||||||
"hasPrivateKeyword",
|
"hasPrivateKeyword",
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ hasLocation(#20161,#20065)
|
|||||||
enclosing_stmt(#20161,#20139)
|
enclosing_stmt(#20161,#20139)
|
||||||
expr_containers(#20161,#20001)
|
expr_containers(#20161,#20001)
|
||||||
literals("y","y",#20161)
|
literals("y","y",#20161)
|
||||||
isStatic(#20159)
|
is_static(#20159)
|
||||||
#20162=*
|
#20162=*
|
||||||
properties(#20162,#20139,5,0,"f() {}")
|
properties(#20162,#20139,5,0,"f() {}")
|
||||||
#20163=@"loc,{#10000},7,3,7,8"
|
#20163=@"loc,{#10000},7,3,7,8"
|
||||||
@@ -535,7 +535,7 @@ locations_default(#20179,#10000,8,14,8,15)
|
|||||||
hasLocation(#20178,#20179)
|
hasLocation(#20178,#20179)
|
||||||
stmt_containers(#20178,#20174)
|
stmt_containers(#20178,#20174)
|
||||||
is_method(#20171)
|
is_method(#20171)
|
||||||
isStatic(#20171)
|
is_static(#20171)
|
||||||
#20180=*
|
#20180=*
|
||||||
stmts(#20180,26,#20001,1,"class B ... \n z;\n}")
|
stmts(#20180,26,#20001,1,"class B ... \n z;\n}")
|
||||||
#20181=@"loc,{#10000},11,1,18,1"
|
#20181=@"loc,{#10000},11,1,18,1"
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ locations_default(#20058,#10000,3,13,3,13)
|
|||||||
hasLocation(#20057,#20058)
|
hasLocation(#20057,#20058)
|
||||||
regexpConstValue(#20057,"A")
|
regexpConstValue(#20057,"A")
|
||||||
is_method(#20045)
|
is_method(#20045)
|
||||||
isStatic(#20045)
|
is_static(#20045)
|
||||||
#20059=*
|
#20059=*
|
||||||
properties(#20059,#20042,3,0,"constructor() {}")
|
properties(#20059,#20042,3,0,"constructor() {}")
|
||||||
#20060=@"loc,{#10000},1,9,1,8"
|
#20060=@"loc,{#10000},1,9,1,8"
|
||||||
|
|||||||
@@ -150,3 +150,8 @@ deprecated predicate isComputed(Property prop) { is_computed(prop) }
|
|||||||
* Use the `isMethod()` method on the `MemberDeclaration`/`Property` class instead.
|
* Use the `isMethod()` method on the `MemberDeclaration`/`Property` class instead.
|
||||||
*/
|
*/
|
||||||
deprecated predicate isMethod(Property prop) { is_method(prop) }
|
deprecated predicate isMethod(Property prop) { is_method(prop) }
|
||||||
|
/**
|
||||||
|
* Alias for the predicate `is_static` defined in the .dbscheme.
|
||||||
|
* Use `MemberDeclaration#isStatic()` instead.
|
||||||
|
*/
|
||||||
|
deprecated predicate isStatic(Property prop) { is_static(prop) }
|
||||||
|
|||||||
@@ -472,7 +472,7 @@ class MemberDeclaration extends @property, Documentable {
|
|||||||
/**
|
/**
|
||||||
* Holds if this member is static.
|
* Holds if this member is static.
|
||||||
*/
|
*/
|
||||||
predicate isStatic() { isStatic(this) }
|
predicate isStatic() { is_static(this) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds if this member is abstract.
|
* Holds if this member is abstract.
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ case @property.kind of
|
|||||||
|
|
||||||
is_computed (int id: @property ref);
|
is_computed (int id: @property ref);
|
||||||
is_method (int id: @property ref);
|
is_method (int id: @property ref);
|
||||||
isStatic (int id: @property ref);
|
is_static (int id: @property ref);
|
||||||
isAbstractMember (int id: @property ref);
|
isAbstractMember (int id: @property ref);
|
||||||
isConstEnum (int id: @enumdeclaration ref);
|
isConstEnum (int id: @enumdeclaration ref);
|
||||||
isAbstractClass (int id: @classdeclstmt ref);
|
isAbstractClass (int id: @classdeclstmt ref);
|
||||||
|
|||||||
@@ -13539,7 +13539,7 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</relation>
|
</relation>
|
||||||
<relation>
|
<relation>
|
||||||
<name>isStatic</name>
|
<name>is_static</name>
|
||||||
<cardinality>36</cardinality>
|
<cardinality>36</cardinality>
|
||||||
<columnsizes>
|
<columnsizes>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
@@ -34,3 +34,5 @@ is_computed.rel: reorder isComputed.rel(int prop) prop
|
|||||||
isComputed.rel: delete
|
isComputed.rel: delete
|
||||||
is_method.rel: reorder isMethod.rel(int prop) prop
|
is_method.rel: reorder isMethod.rel(int prop) prop
|
||||||
isMethod.rel: delete
|
isMethod.rel: delete
|
||||||
|
is_static.rel: reorder isStatic.rel(int prop) prop
|
||||||
|
isStatic.rel: delete
|
||||||
|
|||||||
Reference in New Issue
Block a user