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

Member predicate BuiltinCallable::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)