CodeQL library for Python
codeql/python-all 0.9.2 ( 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 ( )