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

Member predicate FunctionObject::getNamedArgumentForCall

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

ControlFlowNode getNamedArgumentForCall(CallNode call, string name)