| Server IP : 51.79.230.26 / Your IP : 216.73.217.128 Web Server : LiteSpeed System : Linux sg2.exonhost.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : mukutpub ( 1151) PHP Version : 8.2.33 Disable Function : eval, show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python36/lib64/python3.6/idlelib/__pycache__/ |
Upload File : |
3 � fR2 � @ s� d Z ddlmZ ddlZddlmZ eejej d �Z eejd �Z dd� ed�D �Zd d� ed�D �Z G d d� d�Zedkr�dd lmZ eddd� dS )z�Provide advanced parsing abilities for ParenMatch and other extensions. HyperParser uses PyParser. PyParser mostly gives information on the proper indentation of code. HyperParser gives additional information on the structure of code. � )� iskeywordN)�pyparse�_c C s g | ]}t |�tk�qS � )�chr�_ASCII_ID_CHARS)�.0�xr r �8/opt/alt/python36/lib64/python3.6/idlelib/hyperparser.py� <listcomp> s r � c C s g | ]}t |�tk�qS r )r �_ASCII_ID_FIRST_CHARS)r r r r r r s c @ s\ e Zd Zdd� Zdd� Zdd� Zdd� Zddd�Zed ddh�Z e dd� �ZdZdd� Z dS )�HyperParserc sJ |� _ |j � _}tj|j|j�}dd� }||j|��}|js�xh|jD ]^}t || d�}t |�d } d| } |j|j| | �d � |j |j| ��}|dk s�|dkrFP qFW |j|p�d� nF|jd |�}|r�|d } nd } d| } |j|j| | �d � |jd� |jdd� � _| � _|j� � _� fdd �tt� j��D �� _� j|� dS )z;To initialize, analyze the surroundings of the given index.c S s t t| ��S )N)�int�float)�indexr r r � index2line"