| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 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/__pycache__/ |
Upload File : |
�
cR�a� � � � d Z ddlmZ G d� de� � Z G d� de� � Z G d� de� � Z G d � d
e� � Z G d� de� � Zd
� Zd� Z d� Z
d� ZdS )z�
This module provides a way to pass information between passes as metadata.
* add attaches a metadata to a node
* get retrieves all metadata from a particular class attached to a node
� )�ASTc �. � � e Zd ZdZ� fd�Zd� Zd� Z� xZS )�MetadatazE Base class to add information on a node to improve code generation. c � �� t � � | _ d| _ t t | � � � � � dS )z' Initialize content of these metadata. )�dataN)�listr �_fields�superr �__init__)�self� __class__s ��2/usr/lib/python3/dist-packages/pythran/metadata.pyr zMetadata.__init__ s7 �� ��F�F�� � ���
�h����&�&�(�(�(�(�(� c �* � t | j � � S )z4 Enable iteration over every metadata informations. )�iterr )r s r �__iter__zMetadata.__iter__ s � ��D�I���r c �: � | j � |� � dS )z Add a metadata information. N)r �append)r r s r r zMetadata.append s � �� ��������r )�__name__�
__module__�__qualname__�__doc__r r r �
__classcell__�r
s @r r r s\ �� � � � � �O�O�)� )� )� )� )�� � �� � � � � � r r c � � e Zd ZdZdS )�LazyzC Metadata to mark variable which doesn't need to be evaluated now. N�r r r r � r r r r s � � � � � �M�M�M�Mr r c � � � e Zd Z� fd�Z� xZS )�
Comprehensionc �x �� t t | � � � � � |r|d | _ d S d S )Nr )r
r r �target)r �argsr
s �r r zComprehension.__init__$ s@ �� �
�m�T�"�"�+�+�-�-�-�� "��q�'�D�K�K�K� "� "r )r r r r r r s @r r r # s8 �� � � � � �"� "� "� "� "� "� "� "� "r r c � � e Zd ZdZdS )�StaticReturnz0 Metadata to mark return with a constant value. Nr r r r r% r% * s � � � � � �:�:�:�:r r% c � � e Zd ZdZdS )�Localz, Metadata to mark function as non exported. Nr r r r r'