class documentation

class ScopeAccessMap: (source)

View In Hierarchy

Store the accessed variables per scope.

Method __init__ Undocumented
Method accessed Get the accessed variables for the given scope.
Method set_accessed Set the given node as accessed.
Instance Variable _scopes Undocumented
def __init__(self): (source)

Undocumented

def accessed(self, scope: nodes.ClassDef) -> dict[str, list[_AccessNodes]]: (source)

Get the accessed variables for the given scope.

def set_accessed(self, node: _AccessNodes): (source)

Set the given node as accessed.

Undocumented