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

Member predicate FunctionObject::getArgumentForCall

Gets the ControlFlowNode that will be passed as the nth argument to this when called at call. This predicate will correctly handle x.y(), treating x as the zeroth argument.

ControlFlowNode getArgumentForCall(CallNode call, int n)