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

Class DataFlowMethod

A method.

Import path

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

Direct supertypes

Indirect supertypes

Known direct subtypes

    Fields

    Inherited fields

    Predicates

    getClass

    Gets the class this function is a method of.

    getParameter

    Gets the parameter at position ppos, if any.

    positionalOffset

    Gets the positional parameter offset, to take into account self/cls parameters.

    Inherited predicates

    asLibraryCallable

    Gets the underlying library callable, if any.

    from DataFlowCallable
    getLocation

    Gets the location of this dataflow callable.

    from DataFlowFunction
    getQualifiedName

    Gets qualified name for this callable, if any.

    from DataFlowFunction
    getScope

    Gets the scope of this callable

    from DataFlowFunction
    toString

    Gets a textual representation of this element.

    from DataFlowFunction

    Charpred