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

Member predicate EssaNodeRefinement::getLocation

Gets the location of a control flow node that is indicative of this definition. Since definitions may occur on edges of the control flow graph, the given location may be imprecise. Distinct EssaDefinitions may return the same ControlFlowNode even for the same variable.

Location getLocation()