mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01:00
18 lines
330 B
Plaintext
18 lines
330 B
Plaintext
|
|
import python
|
|
|
|
/** Make unknown type visible */
|
|
class UnknownType extends ClassObject {
|
|
|
|
UnknownType() { this = theUnknownType() }
|
|
|
|
override string toString() { result = "*UNKNOWN TYPE" }
|
|
|
|
override string getName() { result = "UNKNOWN" }
|
|
|
|
}
|
|
|
|
from ClassObject c
|
|
where not c.isBuiltin()
|
|
select c.toString(), c.getMro()
|