← Back
Editing: ancestors.cpython-311.pyc
� cR�aS � �Z � d Z ddlmZ ddlmZ G d� de� � Z G d� de� � ZdS ) z/ Ancestors computes the ancestors of each node � )�ModuleAnalysis)�pushpopc �, � � e Zd ZdZ� fd�Z� fd�Z� xZS )� Ancestorsz� Associate each node with the list of its ancestors Based on the tree view of the AST: each node has the Module as parent. The result of this analysis is a dictionary with nodes as key, and list of nodes as values. c � �� t � � | _ t � � | _ t t | � � � � � d S �N)�dict�result�list�current�superr �__init__)�self� __class__s ��</usr/lib/python3/dist-packages/pythran/analyses/ancestors.pyr zAncestors.__init__ s; �� ��f�f����v�v��� �i����'�'�)�)�)�)�)� c �� �� t | j � � | j |<