mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
13 lines
260 B
Plaintext
13 lines
260 B
Plaintext
import python
|
|
private import LegacyPointsTo
|
|
|
|
from ClassObject cls, string style
|
|
where
|
|
cls.getPyClass().getEnclosingModule().getName() = "test" and
|
|
(
|
|
cls.isNewStyle() and style = "new"
|
|
or
|
|
cls.isOldStyle() and style = "old"
|
|
)
|
|
select cls, style
|