Current Path: > > opt > alt > python37 > lib64 > python3.7 > 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-37.opt-1.pyc | File | 140 bytes | April 17 2024 17:36:13. | |
__init__.cpython-37.opt-2.pyc | File | 140 bytes | April 17 2024 17:35:53. | |
__init__.cpython-37.pyc | File | 140 bytes | April 17 2024 17:36:18. | |
__main__.cpython-37.opt-1.pyc | File | 224 bytes | April 17 2024 17:36:13. | |
__main__.cpython-37.opt-2.pyc | File | 224 bytes | April 17 2024 17:35:53. | |
__main__.cpython-37.pyc | File | 224 bytes | April 17 2024 17:36:19. | |
btm_matcher.cpython-37.opt-1.pyc | File | 4890 bytes | April 17 2024 17:36:13. | |
btm_matcher.cpython-37.opt-2.pyc | File | 3319 bytes | April 17 2024 17:35:53. | |
btm_matcher.cpython-37.pyc | File | 4890 bytes | April 17 2024 17:36:19. | |
btm_utils.cpython-37.opt-1.pyc | File | 6140 bytes | April 17 2024 17:36:13. | |
btm_utils.cpython-37.opt-2.pyc | File | 4620 bytes | April 17 2024 17:35:53. | |
btm_utils.cpython-37.pyc | File | 6140 bytes | April 17 2024 17:36:18. | |
fixer_base.cpython-37.opt-1.pyc | File | 6232 bytes | April 17 2024 17:36:13. | |
fixer_base.cpython-37.opt-2.pyc | File | 3471 bytes | April 17 2024 17:35:53. | |
fixer_base.cpython-37.pyc | File | 6232 bytes | April 17 2024 17:36:19. | |
fixer_util.cpython-37.opt-1.pyc | File | 12043 bytes | April 17 2024 17:36:13. | |
fixer_util.cpython-37.opt-2.pyc | File | 9875 bytes | April 17 2024 17:35:53. | |
fixer_util.cpython-37.pyc | File | 12043 bytes | April 17 2024 17:36:19. | |
main.cpython-37.opt-1.pyc | File | 8525 bytes | April 17 2024 17:36:13. | |
main.cpython-37.opt-2.pyc | File | 6770 bytes | April 17 2024 17:35:53. | |
main.cpython-37.pyc | File | 8559 bytes | April 17 2024 17:36:18. | |
patcomp.cpython-37.opt-1.pyc | File | 5366 bytes | April 17 2024 17:36:13. | |
patcomp.cpython-37.opt-2.pyc | File | 4856 bytes | April 17 2024 17:35:53. | |
patcomp.cpython-37.pyc | File | 5608 bytes | April 17 2024 17:36:18. | |
pygram.cpython-37.opt-1.pyc | File | 1195 bytes | April 17 2024 17:36:13. | |
pygram.cpython-37.opt-2.pyc | File | 990 bytes | April 17 2024 17:35:53. | |
pygram.cpython-37.pyc | File | 1195 bytes | April 17 2024 17:36:18. | |
pytree.cpython-37.opt-1.pyc | File | 24323 bytes | April 17 2024 17:36:13. | |
pytree.cpython-37.opt-2.pyc | File | 14929 bytes | April 17 2024 17:35:54. | |
pytree.cpython-37.pyc | File | 25000 bytes | April 17 2024 17:36:18. | |
refactor.cpython-37.opt-1.pyc | File | 20329 bytes | April 17 2024 17:36:13. | |
refactor.cpython-37.opt-2.pyc | File | 16281 bytes | April 17 2024 17:35:54. | |
refactor.cpython-37.pyc | File | 20362 bytes | April 17 2024 17:36:18. |
B � f� � @ 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 �4/opt/alt/python37/lib64/python3.7/lib2to3/patcomp.pyr s r c c sP t jt jt jh}t�t�| �j�}x(|D ] }|\}}}}}||kr(|V q(W dS )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� Zdd d �Zdd� ZdS )�PatternCompilerNc C sZ |dkrt j| _t j| _nt�|�| _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 sp t |�}y| jj||d�}W n2 tjk rN } ztt|��d�W dd}~X Y nX |rb| �|�|fS | �|�S dS )z=Compiles a pattern string to a nested pytree.*Pattern object.)�debugN)r r Zparse_tokensr Z ParseErrorr �str�compile_node)r$ r r&