You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
As a basis for the data flow analysis we need to know the declaration(s) that a reference can point to.
Desired solution
A function resolve_reference that takes an astroid.Name node (or another node that represents a reference) and returns a list of the possible
parameters
local variables
global variables
class attributes
instance attributes
that the reference can point to.
If we cannot list all candidates, this should be clearly indicated. Since this function is the basis for any further analysis, it should be well tested.