mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
14 lines
227 B
Plaintext
14 lines
227 B
Plaintext
|
|
|
|
import python
|
|
|
|
|
|
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
|