Class NormalCall
A resolved call in source code with an underlying CallNode
.
This is considered normal, compared with special calls such as obj[0]
calling the
__getitem__
method on the object. However, this also includes calls that go to the
__call__
special method.
Import path
import semmle.python.dataflow.new.internal.DataFlowDispatch
Direct supertypes
Indirect supertypes
Predicates
getArgument |
Gets the argument at position |
getCallType |
Gets the |
getCallable |
Get the callable to which this call goes. |
getEnclosingCallable |
Gets the enclosing callable of this call. |
getNode |
Get the control flow node representing this call, if any. |
toString |
Gets a textual representation of this element. |
Inherited predicates
getLocation |
Gets the location of this dataflow call. |
from ExtractedDataFlowCall |
hasLocationInfo |
Holds if this element is at the specified location. The location spans column |
from DataFlowCall |