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

Member predicate MethodCallNode::getMethodName

Gets the name of the method being invoked (the bar in foo.bar(...)) if it can be determined.

Note that this method may have multiple results if a single call node represents calls to multiple different objects and methods. If you want to link up objects and method names accurately, use the calls method instead.

string getMethodName()