Current Path: > > opt > alt > python310 > lib64 > > python3.10 > lib2to3 > __pycache__
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-310.opt-1.pyc | File | 319 bytes | June 18 2025 15:55:26. | |
__init__.cpython-310.opt-2.pyc | File | 319 bytes | June 18 2025 15:55:26. | |
__init__.cpython-310.pyc | File | 319 bytes | June 18 2025 15:55:26. | |
__main__.cpython-310.opt-1.pyc | File | 232 bytes | June 18 2025 15:55:26. | |
__main__.cpython-310.opt-2.pyc | File | 232 bytes | June 18 2025 15:55:26. | |
__main__.cpython-310.pyc | File | 232 bytes | June 18 2025 15:55:26. | |
btm_matcher.cpython-310.opt-1.pyc | File | 4916 bytes | June 18 2025 15:55:26. | |
btm_matcher.cpython-310.opt-2.pyc | File | 3373 bytes | June 18 2025 15:55:29. | |
btm_matcher.cpython-310.pyc | File | 4916 bytes | June 18 2025 15:55:26. | |
btm_utils.cpython-310.opt-1.pyc | File | 6177 bytes | June 18 2025 15:55:26. | |
btm_utils.cpython-310.opt-2.pyc | File | 4697 bytes | June 18 2025 15:55:29. | |
btm_utils.cpython-310.pyc | File | 6177 bytes | June 18 2025 15:55:26. | |
fixer_base.cpython-310.opt-1.pyc | File | 6295 bytes | June 18 2025 15:55:26. | |
fixer_base.cpython-310.opt-2.pyc | File | 3597 bytes | June 18 2025 15:55:29. | |
fixer_base.cpython-310.pyc | File | 6295 bytes | June 18 2025 15:55:26. | |
fixer_util.cpython-310.opt-1.pyc | File | 12084 bytes | June 18 2025 15:55:26. | |
fixer_util.cpython-310.opt-2.pyc | File | 10041 bytes | June 18 2025 15:55:29. | |
fixer_util.cpython-310.pyc | File | 12084 bytes | June 18 2025 15:55:26. | |
main.cpython-310.opt-1.pyc | File | 8700 bytes | June 18 2025 15:55:28. | |
main.cpython-310.opt-2.pyc | File | 6967 bytes | June 18 2025 15:55:29. | |
main.cpython-310.pyc | File | 8718 bytes | June 18 2025 15:55:26. | |
patcomp.cpython-310.opt-1.pyc | File | 5354 bytes | June 18 2025 15:55:28. | |
patcomp.cpython-310.opt-2.pyc | File | 4871 bytes | June 18 2025 15:55:29. | |
patcomp.cpython-310.pyc | File | 5552 bytes | June 18 2025 15:55:26. | |
pygram.cpython-310.opt-1.pyc | File | 1283 bytes | June 18 2025 15:55:26. | |
pygram.cpython-310.opt-2.pyc | File | 1086 bytes | June 18 2025 15:55:29. | |
pygram.cpython-310.pyc | File | 1283 bytes | June 18 2025 15:55:26. | |
pytree.cpython-310.opt-1.pyc | File | 23801 bytes | June 18 2025 15:55:28. | |
pytree.cpython-310.opt-2.pyc | File | 15311 bytes | June 18 2025 15:55:29. | |
pytree.cpython-310.pyc | File | 24420 bytes | June 18 2025 15:55:26. | |
refactor.cpython-310.opt-1.pyc | File | 20727 bytes | June 18 2025 15:55:28. | |
refactor.cpython-310.opt-2.pyc | File | 16762 bytes | June 18 2025 15:55:29. | |
refactor.cpython-310.pyc | File | 20755 bytes | June 18 2025 15:55:26. |
o �=?h� � @ 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 �6/opt/alt/python310/lib64/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�tokensZ quintuple�type�value�start�endZ 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)Zconvert)r Zpattern_grammarr Zpattern_symbols�symsr Zload_grammarZSymbolsZpython_grammarZ pygrammarZpython_symbols�pysymsZDriver�pattern_convert)�selfZgrammar_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 Zparse_tokensr Z ParseErrorr �str�compile_node)r$ r r&