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

Member predicate LocalSourceNode::getAMethodCall

Gets a call to the method methodName on this node.

Includes both calls that have the syntactic shape of a method call (as in obj.m(...)), and calls where the callee undergoes some additional local data flow (as in tmp = obj.m; m(...)).

MethodCallNode getAMethodCall(string methodName)