← Back
Editing: is_assigned.cpython-311.pyc
� cR�a� � �: � d Z ddlmZ ddlZ G d� de� � ZdS )zC Gathers variables that have value modification in the given node. � )�NodeAnalysisNc �. � � e Zd ZdZ� fd�Zd� Zd� Z� xZS )� IsAssignedz� Gather variable that change in given node. It doesn't check constness as it is use for integer so we don't care about arguments effects as it is use by value. c �| �� t � � | _ t t | � � � � � dS )z Basic initialiser. N)�list�result�superr �__init__)�self� __class__s ��>/usr/lib/python3/dist-packages/pythran/analyses/is_assigned.pyr zIsAssigned.__init__ s0 �� ��f�f��� �j�$���(�(�*�*�*�*�*� c �| � t |j t j � � r| j � |� � dS dS )z! Stored variable have new value. N)� isinstance�ctx�ast�Storer �append)r �nodes r � visit_NamezIsAssigned.visit_Name s>