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

Class DataFlowFunction

A callable function.

Import path

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

Direct supertypes

Indirect supertypes

Known direct subtypes

Fields

Predicates

getLocation

Gets the location of this dataflow callable.

getParameter

Gets the parameter at position ppos, if any.

getQualifiedName

Gets qualified name for this callable, if any.

getScope

Gets the scope of this callable

positionalOffset

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

toString

Gets a textual representation of this element.

Inherited predicates

asLibraryCallable

Gets the underlying library callable, if any.

from DataFlowCallable

Charpred