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

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