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

Member predicate ClassMethodObjectInternal::getOrigin

Gets a control flow node that represents the source origin of this object, if it has a meaningful location in the source code. This method exists primarily for providing backwards compatibility and locations for source objects. Source code objects should attempt to return exactly one result for this method.

ControlFlowNode getOrigin()