403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.25
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 :  /lib/python3/dist-packages/pythran/analyses/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/pythran/analyses/__pycache__/global_declarations.cpython-311.pyc
�

cR�a���Z�dZddlmZddlmZGd�de��ZGd�de��ZdS)	z4 GlobalDeclarations gathers top-level declarations. �)�ModuleAnalysis)�DefUseChainsc��eZdZd�ZdS)�SilentDefUseChainsc��dS)N�)�self�name�nodes   �F/usr/lib/python3/dist-packages/pythran/analyses/global_declarations.py�unbound_identifierz%SilentDefUseChains.unbound_identifier	s����N)�__name__�
__module__�__qualname__r
rrrrrs#������
�
�
�
�
rrc�(��eZdZdZ�fd�Zd�Z�xZS)�GlobalDeclarationsa� Gather all kind of identifier defined at global scope.

    >>> import gast as ast
    >>> from pythran import passmanager
    >>> from pythran.analyses import GlobalDeclarations
    >>> node = ast.parse('''
    ... import math
    ... import math as maths
    ... from math import cos
    ... c = 12
    ... def foo(a):
    ...     b = a + 1''')
    >>> pm = passmanager.PassManager("test")
    >>> sorted(pm.gather(GlobalDeclarations, node).keys())
    ['c', 'cos', 'foo', 'math', 'maths']

    c�|��t��|_tt|�����dS)z3 Result is an identifier with matching definition. N)�dict�result�superr�__init__)r	�	__class__s �rrzGlobalDeclarations.__init__!s1����f�f���
� �$�'�'�0�0�2�2�2�2�2rc��t��}|�|��d�|j|D��|_dS)z+ Import module define a new variable name. c�B�i|]}|���|j��Sr)r
r)�.0�ds  r�
<dictcomp>z3GlobalDeclarations.visit_Module.<locals>.<dictcomp>*s4��2�2�2���v�v�x�x���2�2�2rN)r�visit�localsr)r	r�ducs   r�visit_ModulezGlobalDeclarations.visit_Module&sG�� �"�"���	�	�$����2�2� #�
�4� 0�2�2�2����r)rrr�__doc__rr"�
__classcell__)rs@rrr
sQ���������$3�3�3�3�3�
2�2�2�2�2�2�2rrN)r#�pythran.passmanagerr�benigetrrrrrr�<module>r's���:�:�.�.�.�.�.�.� � � � � � �
�
�
�
�
��
�
�
�2�2�2�2�2��2�2�2�2�2r

Youez - 2016 - github.com/yon3zu
LinuXploit