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

Member predicate Object::getOrigin

Gets the point in the source code from which this object “originates”.

WARNING: The lack of context makes this less accurate than f.refersTo(this, _, result) for a control flow node ‘f’.

AstNode getOrigin()