Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 3.144.226.0
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.10 /
lib2to3 /
__pycache__ /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.cpython-310.pyc
303
B
-rw-r--r--
2024-02-16 18:45
__main__.cpython-310.pyc
216
B
-rw-r--r--
2024-02-16 18:45
btm_matcher.cpython-310.pyc
4.79
KB
-rw-r--r--
2024-02-16 18:45
btm_utils.cpython-310.pyc
6.02
KB
-rw-r--r--
2024-02-16 18:45
fixer_base.cpython-310.pyc
6.13
KB
-rw-r--r--
2024-02-16 18:45
fixer_util.cpython-310.pyc
11.79
KB
-rw-r--r--
2024-02-16 18:45
main.cpython-310.pyc
8.5
KB
-rw-r--r--
2024-02-16 18:45
patcomp.cpython-310.pyc
5.41
KB
-rw-r--r--
2024-02-16 18:45
pygram.cpython-310.pyc
1.24
KB
-rw-r--r--
2024-02-16 18:45
pytree.cpython-310.pyc
23.83
KB
-rw-r--r--
2024-02-16 18:45
refactor.cpython-310.pyc
20.25
KB
-rw-r--r--
2024-02-16 18:45
Save
Rename
o ��bc� � @ s� d Z dZddlZddlmZmZmZmZmZm Z ddl mZ ddl mZ G dd � d e �Zd d� ZG dd � d e�Zejejejdd�Zdd� Zdd� Zdd� ZdS )z�Pattern compiler. The grammar is taken from PatternGrammar.txt. The compiler compiles a pattern to a pytree.*Pattern instance. z#Guido van Rossum <guido@python.org>� N� )�driver�literals�token�tokenize�parse�grammar)�pytree)�pygramc @ s e Zd ZdS )�PatternSyntaxErrorN)�__name__� __module__�__qualname__� r r �&/usr/lib/python3.10/lib2to3/patcomp.pyr s r c c sN � t jt jt jh}t�t�| �j�}|D ]}|\}}}}}||vr$|V qdS )z6Tokenizes a string suppressing significant whitespace.N) r �NEWLINE�INDENT�DEDENTr �generate_tokens�io�StringIO�readline) �input�skip�tokens� quintuple�type�value�start�end� line_textr r r �tokenize_wrapper s ���r! c @ s: e Zd Zd dd�Zddd�Zdd� Zd d d �Zdd� ZdS )�PatternCompilerNc C sZ |du r t j| _t j| _n t�|�| _t �| j�| _t j| _ t j | _tj| jt d�| _dS )z^Initializer. Takes an optional alternative filename for the pattern grammar. N)�convert)r �pattern_grammarr �pattern_symbols�symsr �load_grammar�Symbols�python_grammar� pygrammar�python_symbols�pysyms�Driver�pattern_convert)�self�grammar_filer r r �__init__( s zPatternCompiler.__init__Fc C sb t |�}z | jj||d�}W n tjy" } ztt|��d�d}~ww |r,| �|�|fS | �|�S )z=Compiles a pattern string to a nested pytree.*Pattern object.)�debugN)r! r �parse_tokensr � ParseErrorr �str�compile_node)r/ r r2 � with_treer �root�er r r �compile_pattern7 s �� zPatternCompiler.compile_patternc s� |j � jjkr|jd }|j � jjkr=� fdd�|jddd� D �}t|�dkr,|d S tjdd� |D �ddd�}|�� S |j � jj kre� fd d�|jD �}t|�dkrX|d S tj|gddd�}|�� S |j � jj kr� �|jdd� �}t�|�}|�� S |j � jj ks�J �d}|j}t|�d kr�|d j tjkr�|d j}|dd� }d}t|�dkr�|d j � jjkr�|d }|dd� }� �||�}|du�rA|j � jjks�J �|j} | d } | j tjkr�d}tj}nA| j tjkr�d}tj}n5| j tjk�r'| d j tjk�sJ �t| �dv �sJ �� �| d � }}t| �d k�r&� �| d �}nJ �|dk�s3|dk�rA|�� }tj|gg||d�}|du�rI||_|�� S )zXCompiles a node, recursively. This is one big switch on the node type. r c � g | ]}� � |��qS r �r6 ��.0�ch�r/ r r � <listcomp>O � z0PatternCompiler.compile_node.<locals>.<listcomp>N� r c S s g | ]}|g�qS r r )r>