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

Member predicate ClassEndpoint::getFunctionName

Gets the name of the endpoint if it is not a class, or the empty string if it is a class

If this endpoint is a class, the class name can be obtained via getType.

string getFunctionName()