mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
16 lines
433 B
Plaintext
16 lines
433 B
Plaintext
import python
|
|
private import LegacyPointsTo
|
|
|
|
from ClassValue cls, string description
|
|
where
|
|
cls = ClassValue::bool() and description = "bool"
|
|
or
|
|
cls = ClassValue::int_() and description = "int"
|
|
or
|
|
cls = ClassValue::float_() and description = "float"
|
|
or
|
|
cls = ClassValue::classmethod() and description = "classmethod"
|
|
or
|
|
cls = ClassValue::bool().getMro().getItem(2) and description = "object"
|
|
select cls, description
|