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

Datatype TCallType

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch

Known direct subtypes

    Branch types

    CallTypeClass

    A call to a class.

    CallTypeClassInstanceCall

    A call on a class instance, that goes to the __call__ method of the class

    CallTypeClassMethod

    A call to a classmethod.

    CallTypeMethodAsPlainFunction

    A call to method on a class, not going through an instance method, such as

    CallTypeNormalMethod

    A call to an “normal” method on a class instance. Does not include staticmethods or classmethods.

    CallTypePlainFunction

    A call to a function that is not part of a class.

    CallTypeStaticMethod

    A call to a staticmethod.

    Injectors

    CallTypeClass

    A call to a class.

    CallTypeClassInstanceCall

    A call on a class instance, that goes to the __call__ method of the class

    CallTypeClassMethod

    A call to a classmethod.

    CallTypeMethodAsPlainFunction

    A call to method on a class, not going through an instance method, such as

    CallTypeNormalMethod

    A call to an “normal” method on a class instance. Does not include staticmethods or classmethods.

    CallTypePlainFunction

    A call to a function that is not part of a class.

    CallTypeStaticMethod

    A call to a staticmethod.