Class ClassDecl
A declaration of a class, either a built-in class or a source definition This acts as a helper for ClassObjectInternal allowing some lookup without recursion.
Import path
import semmle.python.objects.TObject
Direct supertypes
Predicates
callReturnsInstance | Holds if for class |
declaresAttribute | Holds if this class declares the attribute |
getClass | Gets the class scope for Python class declarations |
getName | Gets the name of this class |
isAbstractBaseClass | Holds if this class is the abstract base class |
isSpecial | Whether this is a class whose instances must be treated specially, rather than as generic instances. |
toString | Gets a textual representation of this element. |