CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Class ClassList

A list of classes, used to represent the MRO of a class

Import path

import semmle.python.pointsto.MRO

Direct supertypes

Predicates

contains
containsSpecial

Holds if this MRO contains a class whose instances we treat specially, rather than as a generic instance. For example, type or int.

contents
declares
deduplicate
deduplicate

Gets a class list which is the de-duplicated form of the list containing elements of this list from n onwards.

findDeclaringClass
firstIndex
getAnItem
getHead
getItem
getTail
isEmpty
length
lookup
removeHead
reverse
startingAt
toString

Gets a textual representation of this element.