| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/pythran/analyses/__pycache__/ |
Upload File : |
�
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 |<