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

Class SummaryCall

A synthesized call inside a callable with a flow summary.

For example, in

map(lambda x: x + 1, [1, 2, 3])

there is a synthesized call to the lambda argument inside map.

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getArgument

Gets the argument at position apos, if any.

getCallable

Get the callable to which this call goes.

getEnclosingCallable

Gets the enclosing callable of this call.

getLocation

Gets the location of this dataflow call.

getNode

Get the control flow node representing this call, if any.

getReceiver

Gets the data flow node that this call targets.

getScope

Gets the scope of this node, if any.

toString

Gets a textual representation of this element.

Inherited predicates

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from DataFlowCall
totalorder

Gets a best-effort total ordering.

from DataFlowCall

Charpred